From 911d970c1d745447edeb27d3b7391a3662d78b60 Mon Sep 17 00:00:00 2001 From: Ryo Kitagawa Date: Wed, 21 Aug 2024 11:36:10 +0900 Subject: [PATCH] chore: rename refreshIntervalSeconds --- api/v1alpha1/berglassecret_types.go | 2 +- config/crd/bases/batch.kitagry.github.io_berglassecrets.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1alpha1/berglassecret_types.go b/api/v1alpha1/berglassecret_types.go index 91ec4b0..42a82dd 100644 --- a/api/v1alpha1/berglassecret_types.go +++ b/api/v1alpha1/berglassecret_types.go @@ -26,7 +26,7 @@ type BerglasSecretSpec struct { Data map[string]string `json:"data"` // RefreshInterval is the time interval to refresh the secret. - RefreshInterval *metav1.Duration `json:"refreshIntervalSeconds,omitempty"` + RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"` } type BerglasSecretConditionType string diff --git a/config/crd/bases/batch.kitagry.github.io_berglassecrets.yaml b/config/crd/bases/batch.kitagry.github.io_berglassecrets.yaml index ed48887..dc0e812 100644 --- a/config/crd/bases/batch.kitagry.github.io_berglassecrets.yaml +++ b/config/crd/bases/batch.kitagry.github.io_berglassecrets.yaml @@ -49,7 +49,7 @@ spec: description: Data is a map of key value pairs that will be stored in Secret. type: object - refreshIntervalSeconds: + refreshInterval: description: RefreshInterval is the time interval to refresh the secret. type: string required: