Просмотр исходного кода

fix: update the refreshInterval formatting _everywhere_ (#5680)

* fix: update the refreshInterval formatting _everywhere_

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

* fix the line with default zero value

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

---------

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Gergely Brautigam 6 месяцев назад
Родитель
Сommit
67931cb638
100 измененных файлов с 151 добавлено и 151 удалено
  1. 3 3
      apis/externalsecrets/v1/externalsecret_types.go
  2. 1 1
      apis/externalsecrets/v1alpha1/pushsecret_types.go
  3. 3 3
      apis/externalsecrets/v1beta1/externalsecret_types.go
  4. 6 6
      config/crds/bases/external-secrets.io_clusterexternalsecrets.yaml
  5. 1 1
      config/crds/bases/external-secrets.io_clusterpushsecrets.yaml
  6. 6 6
      config/crds/bases/external-secrets.io_externalsecrets.yaml
  7. 1 1
      config/crds/bases/external-secrets.io_pushsecrets.yaml
  8. 14 14
      deploy/crds/bundle.yaml
  9. 1 1
      design/004-datafrom-key-rewrite.md
  10. 1 1
      docs/api/externalsecret.md
  11. 8 8
      docs/api/spec.md
  12. 1 1
      docs/guides/common-k8s-secret-types.md
  13. 1 1
      docs/provider/alibaba.md
  14. 2 2
      docs/provider/aws-secrets-manager.md
  15. 3 3
      docs/provider/bitwarden-secrets-manager.md
  16. 1 1
      docs/provider/chef.md
  17. 1 1
      docs/provider/delinea.md
  18. 1 1
      docs/provider/device42.md
  19. 3 3
      docs/provider/fortanix.md
  20. 1 1
      docs/provider/google-secrets-manager.md
  21. 4 4
      docs/provider/kubernetes.md
  22. 1 1
      docs/provider/previder.md
  23. 2 2
      docs/provider/pulumi.md
  24. 2 2
      docs/provider/scaleway.md
  25. 2 2
      docs/provider/secretserver.md
  26. 1 1
      docs/provider/webhook.md
  27. 1 1
      docs/provider/yandex-certificate-manager.md
  28. 1 1
      docs/provider/yandex-lockbox.md
  29. 1 1
      docs/snippets/1password-push-secret.yaml
  30. 1 1
      docs/snippets/1passwordsdk-push-secret.yaml
  31. 1 1
      docs/snippets/akeyless-external-secret-json.yaml
  32. 1 1
      docs/snippets/akeyless-external-secret.yaml
  33. 1 1
      docs/snippets/akeyless-push-secret.yaml
  34. 1 1
      docs/snippets/aws-anchore-engine-access-credentials-external-secret.yaml
  35. 1 1
      docs/snippets/aws-jenkins-credential-github-ssh-external-secret.yaml
  36. 1 1
      docs/snippets/aws-jenkins-credential-sonarqube-api-token-external-secret.yaml
  37. 1 1
      docs/snippets/aws-jenkins-credentials-harbor-chart-robot-external-secret.yaml
  38. 1 1
      docs/snippets/aws-pm-push-secret-with-metadata.yaml
  39. 1 1
      docs/snippets/aws-sm-external-secret.yaml
  40. 1 1
      docs/snippets/aws-sm-push-secret-with-metadata.yaml
  41. 1 1
      docs/snippets/azkv-datafrom-external-secret.yaml
  42. 1 1
      docs/snippets/azkv-external-secret.yaml
  43. 1 1
      docs/snippets/azkv-pkcs12-cert-external-secret.yaml
  44. 1 1
      docs/snippets/azkv-pushsecret-certificate.yaml
  45. 1 1
      docs/snippets/azkv-pushsecret-key.yaml
  46. 1 1
      docs/snippets/azkv-pushsecret-secret.yaml
  47. 1 1
      docs/snippets/basic-external-secret.yaml
  48. 1 1
      docs/snippets/beyondtrust-external-secret.yaml
  49. 1 1
      docs/snippets/beyondtrust-push-secret.yaml
  50. 1 1
      docs/snippets/chef-external-secret.yaml
  51. 1 1
      docs/snippets/conjur-external-secret-find.yaml
  52. 1 1
      docs/snippets/conjur-external-secret.yaml
  53. 1 1
      docs/snippets/datafrom-rewrite-conflict.yaml
  54. 1 1
      docs/snippets/datafrom-rewrite-invalid-characters.yaml
  55. 1 1
      docs/snippets/datafrom-rewrite-merge-empty.yaml
  56. 1 1
      docs/snippets/datafrom-rewrite-remove-path.yaml
  57. 1 1
      docs/snippets/device42-external-secret.yaml
  58. 1 1
      docs/snippets/fake-provider-es.yaml
  59. 2 2
      docs/snippets/full-cluster-push-secret.yaml
  60. 1 1
      docs/snippets/full-pushsecret-no-key-no-property.yaml
  61. 1 1
      docs/snippets/full-pushsecret-no-key-with-property.yaml
  62. 2 2
      docs/snippets/full-pushsecret.yaml
  63. 1 1
      docs/snippets/gcpsm-data-from-external-secret.yaml
  64. 1 1
      docs/snippets/gcpsm-docker-config-externalsecret.yaml
  65. 1 1
      docs/snippets/gcpsm-docker-config-helm-externalsecret.yaml
  66. 1 1
      docs/snippets/gcpsm-external-secret.yaml
  67. 1 1
      docs/snippets/gcpsm-ssh-auth-externalsecret.yaml
  68. 1 1
      docs/snippets/gcpsm-tls-externalsecret.yaml
  69. 1 1
      docs/snippets/gcpsm-wif-externalsecret.yaml
  70. 1 1
      docs/snippets/generator-acr-argocd-helm-repo.yaml
  71. 1 1
      docs/snippets/generator-acr-example.yaml
  72. 2 2
      docs/snippets/generator-cloudsmith-example.yaml
  73. 1 1
      docs/snippets/generator-quay-example.yaml
  74. 1 1
      docs/snippets/getallsecrets-find-by-name.yaml
  75. 1 1
      docs/snippets/getallsecrets-find-by-tags.yaml
  76. 1 1
      docs/snippets/github-push-secret.yaml
  77. 1 1
      docs/snippets/gitlab-external-secret-json.yaml
  78. 1 1
      docs/snippets/gitlab-external-secret.yaml
  79. 1 1
      docs/snippets/ibm-external-secret-by-name.yaml
  80. 1 1
      docs/snippets/ibm-external-secret.yaml
  81. 4 4
      docs/snippets/keepersecurity-external-secret.yaml
  82. 1 1
      docs/snippets/manifest-advanced-path.yaml
  83. 1 1
      docs/snippets/manifest-argocd-app.yaml
  84. 1 1
      docs/snippets/manifest-basic-configmap.yaml
  85. 1 1
      docs/snippets/manifest-labeled-configmap.yaml
  86. 1 1
      docs/snippets/manifest-templated-configmap.yaml
  87. 1 1
      docs/snippets/multiline-template-v1-external-secret.yaml
  88. 1 1
      docs/snippets/ngrok-push-secret-with-metadata.yaml
  89. 1 1
      docs/snippets/ngrok-push-secret.yaml
  90. 1 1
      docs/snippets/onboardbase-fetch-all-secrets.yaml
  91. 1 1
      docs/snippets/onboardbase-fetch-secret.yaml
  92. 1 1
      docs/snippets/onboardbase-filtered-secrets.yaml
  93. 1 1
      docs/snippets/passworddepot-external-secret-json.yaml
  94. 1 1
      docs/snippets/passworddepot-external-secret.yaml
  95. 1 1
      docs/snippets/pkcs12-template-v1-external-secret.yaml
  96. 1 1
      docs/snippets/pushsecret-generator-rotation-example.yaml
  97. 1 1
      docs/snippets/vault-anchore-engine-access-credentials-external-secret.yaml
  98. 1 1
      docs/snippets/vault-jenkins-credential-github-ssh-access-external-secret.yaml
  99. 1 1
      docs/snippets/vault-jenkins-credential-harbor-chart-robot-external-secret.yaml
  100. 1 1
      docs/snippets/vault-jenkins-credential-sonarqube-api-token-external-secret.yaml

+ 3 - 3
apis/externalsecrets/v1/externalsecret_types.go

@@ -519,9 +519,9 @@ type ExternalSecretSpec struct {
 	// RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 	// RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 	// specified as Golang Duration strings.
 	// specified as Golang Duration strings.
 	// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
 	// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-	// Example values: "1h", "2h30m", "10s"
-	// May be set to zero to fetch and create it once. Defaults to 1h.
-	// +kubebuilder:default="1h"
+	// Example values: "1h0m0s", "2h30m0s", "10m0s"
+	// May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
+	// +kubebuilder:default="1h0m0s"
 	RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
 	RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
 
 
 	// Data defines the connection between the Kubernetes Secret keys and the Provider data
 	// Data defines the connection between the Kubernetes Secret keys and the Provider data

+ 1 - 1
apis/externalsecrets/v1alpha1/pushsecret_types.go

@@ -88,7 +88,7 @@ const (
 // PushSecretSpec configures the behavior of the PushSecret.
 // PushSecretSpec configures the behavior of the PushSecret.
 type PushSecretSpec struct {
 type PushSecretSpec struct {
 	// The Interval to which External Secrets will try to push a secret definition
 	// The Interval to which External Secrets will try to push a secret definition
-	// +kubebuilder:default="1h"
+	// +kubebuilder:default="1h0m0s"
 	RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
 	RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
 
 
 	SecretStoreRefs []PushSecretStoreRef `json:"secretStoreRefs"`
 	SecretStoreRefs []PushSecretStoreRef `json:"secretStoreRefs"`

+ 3 - 3
apis/externalsecrets/v1beta1/externalsecret_types.go

@@ -428,9 +428,9 @@ type ExternalSecretSpec struct {
 	// RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 	// RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 	// specified as Golang Duration strings.
 	// specified as Golang Duration strings.
 	// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
 	// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-	// Example values: "1h", "2h30m", "10s"
-	// May be set to zero to fetch and create it once. Defaults to 1h.
-	// +kubebuilder:default="1h"
+	// Example values: "1h0m0s", "2h30m0s", "10m0s"
+	// May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
+	// +kubebuilder:default="1h0m0s"
 	RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
 	RefreshInterval *metav1.Duration `json:"refreshInterval,omitempty"`
 
 
 	// Data defines the connection between the Kubernetes Secret keys and the Provider data
 	// Data defines the connection between the Kubernetes Secret keys and the Provider data

+ 6 - 6
config/crds/bases/external-secrets.io_clusterexternalsecrets.yaml

@@ -459,13 +459,13 @@ spec:
                       type: object
                       type: object
                     type: array
                     type: array
                   refreshInterval:
                   refreshInterval:
-                    default: 1h
+                    default: 1h0m0s
                     description: |-
                     description: |-
                       RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                       RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                       specified as Golang Duration strings.
                       specified as Golang Duration strings.
                       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                      Example values: "1h", "2h30m", "10s"
-                      May be set to zero to fetch and create it once. Defaults to 1h.
+                      Example values: "1h0m0s", "2h30m0s", "10m0s"
+                      May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                     type: string
                     type: string
                   refreshPolicy:
                   refreshPolicy:
                     description: |-
                     description: |-
@@ -1276,13 +1276,13 @@ spec:
                       type: object
                       type: object
                     type: array
                     type: array
                   refreshInterval:
                   refreshInterval:
-                    default: 1h
+                    default: 1h0m0s
                     description: |-
                     description: |-
                       RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                       RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                       specified as Golang Duration strings.
                       specified as Golang Duration strings.
                       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                       Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                      Example values: "1h", "2h30m", "10s"
-                      May be set to zero to fetch and create it once. Defaults to 1h.
+                      Example values: "1h0m0s", "2h30m0s", "10m0s"
+                      May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                     type: string
                     type: string
                   refreshPolicy:
                   refreshPolicy:
                     description: |-
                     description: |-

+ 1 - 1
config/crds/bases/external-secrets.io_clusterpushsecrets.yaml

@@ -182,7 +182,7 @@ spec:
                     - None
                     - None
                     type: string
                     type: string
                   refreshInterval:
                   refreshInterval:
-                    default: 1h
+                    default: 1h0m0s
                     description: The Interval to which External Secrets will try to
                     description: The Interval to which External Secrets will try to
                       push a secret definition
                       push a secret definition
                     type: string
                     type: string

+ 6 - 6
config/crds/bases/external-secrets.io_externalsecrets.yaml

@@ -439,13 +439,13 @@ spec:
                   type: object
                   type: object
                 type: array
                 type: array
               refreshInterval:
               refreshInterval:
-                default: 1h
+                default: 1h0m0s
                 description: |-
                 description: |-
                   RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                   RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                   specified as Golang Duration strings.
                   specified as Golang Duration strings.
                   Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                   Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                  Example values: "1h", "2h30m", "10s"
-                  May be set to zero to fetch and create it once. Defaults to 1h.
+                  Example values: "1h0m0s", "2h30m0s", "10m0s"
+                  May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                 type: string
                 type: string
               refreshPolicy:
               refreshPolicy:
                 description: |-
                 description: |-
@@ -1122,13 +1122,13 @@ spec:
                   type: object
                   type: object
                 type: array
                 type: array
               refreshInterval:
               refreshInterval:
-                default: 1h
+                default: 1h0m0s
                 description: |-
                 description: |-
                   RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                   RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                   specified as Golang Duration strings.
                   specified as Golang Duration strings.
                   Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                   Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                  Example values: "1h", "2h30m", "10s"
-                  May be set to zero to fetch and create it once. Defaults to 1h.
+                  Example values: "1h0m0s", "2h30m0s", "10m0s"
+                  May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                 type: string
                 type: string
               refreshPolicy:
               refreshPolicy:
                 description: |-
                 description: |-

+ 1 - 1
config/crds/bases/external-secrets.io_pushsecrets.yaml

@@ -104,7 +104,7 @@ spec:
                 - None
                 - None
                 type: string
                 type: string
               refreshInterval:
               refreshInterval:
-                default: 1h
+                default: 1h0m0s
                 description: The Interval to which External Secrets will try to push
                 description: The Interval to which External Secrets will try to push
                   a secret definition
                   a secret definition
                 type: string
                 type: string

+ 14 - 14
deploy/crds/bundle.yaml

@@ -433,13 +433,13 @@ spec:
                         type: object
                         type: object
                       type: array
                       type: array
                     refreshInterval:
                     refreshInterval:
-                      default: 1h
+                      default: 1h0m0s
                       description: |-
                       description: |-
                         RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                         RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                         specified as Golang Duration strings.
                         specified as Golang Duration strings.
                         Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                         Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                        Example values: "1h", "2h30m", "10s"
-                        May be set to zero to fetch and create it once. Defaults to 1h.
+                        Example values: "1h0m0s", "2h30m0s", "10m0s"
+                        May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                       type: string
                       type: string
                     refreshPolicy:
                     refreshPolicy:
                       description: |-
                       description: |-
@@ -1193,13 +1193,13 @@ spec:
                         type: object
                         type: object
                       type: array
                       type: array
                     refreshInterval:
                     refreshInterval:
-                      default: 1h
+                      default: 1h0m0s
                       description: |-
                       description: |-
                         RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                         RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                         specified as Golang Duration strings.
                         specified as Golang Duration strings.
                         Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                         Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                        Example values: "1h", "2h30m", "10s"
-                        May be set to zero to fetch and create it once. Defaults to 1h.
+                        Example values: "1h0m0s", "2h30m0s", "10m0s"
+                        May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                       type: string
                       type: string
                     refreshPolicy:
                     refreshPolicy:
                       description: |-
                       description: |-
@@ -1730,7 +1730,7 @@ spec:
                         - None
                         - None
                       type: string
                       type: string
                     refreshInterval:
                     refreshInterval:
-                      default: 1h
+                      default: 1h0m0s
                       description: The Interval to which External Secrets will try to push a secret definition
                       description: The Interval to which External Secrets will try to push a secret definition
                       type: string
                       type: string
                     secretStoreRefs:
                     secretStoreRefs:
@@ -12179,13 +12179,13 @@ spec:
                     type: object
                     type: object
                   type: array
                   type: array
                 refreshInterval:
                 refreshInterval:
-                  default: 1h
+                  default: 1h0m0s
                   description: |-
                   description: |-
                     RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                     RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                     specified as Golang Duration strings.
                     specified as Golang Duration strings.
                     Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                     Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                    Example values: "1h", "2h30m", "10s"
-                    May be set to zero to fetch and create it once. Defaults to 1h.
+                    Example values: "1h0m0s", "2h30m0s", "10m0s"
+                    May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                   type: string
                   type: string
                 refreshPolicy:
                 refreshPolicy:
                   description: |-
                   description: |-
@@ -12824,13 +12824,13 @@ spec:
                     type: object
                     type: object
                   type: array
                   type: array
                 refreshInterval:
                 refreshInterval:
-                  default: 1h
+                  default: 1h0m0s
                   description: |-
                   description: |-
                     RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                     RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
                     specified as Golang Duration strings.
                     specified as Golang Duration strings.
                     Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
                     Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
-                    Example values: "1h", "2h30m", "10s"
-                    May be set to zero to fetch and create it once. Defaults to 1h.
+                    Example values: "1h0m0s", "2h30m0s", "10m0s"
+                    May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
                   type: string
                   type: string
                 refreshPolicy:
                 refreshPolicy:
                   description: |-
                   description: |-
@@ -13186,7 +13186,7 @@ spec:
                     - None
                     - None
                   type: string
                   type: string
                 refreshInterval:
                 refreshInterval:
-                  default: 1h
+                  default: 1h0m0s
                   description: The Interval to which External Secrets will try to push a secret definition
                   description: The Interval to which External Secrets will try to push a secret definition
                   type: string
                   type: string
                 secretStoreRefs:
                 secretStoreRefs:

+ 1 - 1
design/004-datafrom-key-rewrite.md

@@ -51,7 +51,7 @@ metadata:
   name: sample
   name: sample
   namespace: default
   namespace: default
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   target:
   target:
    name: foobar
    name: foobar
   secretStoreRef:
   secretStoreRef:

+ 1 - 1
docs/api/externalsecret.md

@@ -50,7 +50,7 @@ metadata:
   name: example
   name: example
 spec:
 spec:
   refreshPolicy: Periodic
   refreshPolicy: Periodic
-  refreshInterval: 1h  # Update every hour
+  refreshInterval: 1h0m0s  # Update every hour
   # other fields...
   # other fields...
 ```
 ```
 
 

+ 8 - 8
docs/api/spec.md

@@ -3556,8 +3556,8 @@ Kubernetes meta/v1.Duration
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 specified as Golang Duration strings.
 specified as Golang Duration strings.
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
-Example values: &ldquo;1h&rdquo;, &ldquo;2h30m&rdquo;, &ldquo;10s&rdquo;
-May be set to zero to fetch and create it once. Defaults to 1h.</p>
+Example values: &ldquo;1h0m0s&rdquo;, &ldquo;2h30m0s&rdquo;, &ldquo;10m0s&rdquo;
+May be set to &ldquo;0s&rdquo; to fetch and create it once. Defaults to 1h0m0s.</p>
 </td>
 </td>
 </tr>
 </tr>
 <tr>
 <tr>
@@ -4535,8 +4535,8 @@ Kubernetes meta/v1.Duration
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 specified as Golang Duration strings.
 specified as Golang Duration strings.
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
-Example values: &ldquo;1h&rdquo;, &ldquo;2h30m&rdquo;, &ldquo;10s&rdquo;
-May be set to zero to fetch and create it once. Defaults to 1h.</p>
+Example values: &ldquo;1h0m0s&rdquo;, &ldquo;2h30m0s&rdquo;, &ldquo;10m0s&rdquo;
+May be set to &ldquo;0s&rdquo; to fetch and create it once. Defaults to 1h0m0s.</p>
 </td>
 </td>
 </tr>
 </tr>
 <tr>
 <tr>
@@ -16709,8 +16709,8 @@ Kubernetes meta/v1.Duration
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 specified as Golang Duration strings.
 specified as Golang Duration strings.
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
-Example values: &ldquo;1h&rdquo;, &ldquo;2h30m&rdquo;, &ldquo;10s&rdquo;
-May be set to zero to fetch and create it once. Defaults to 1h.</p>
+Example values: &ldquo;1h0m0s&rdquo;, &ldquo;2h30m0s&rdquo;, &ldquo;10m0s&rdquo;
+May be set to &ldquo;0s&rdquo; to fetch and create it once. Defaults to 1h0m0s.</p>
 </td>
 </td>
 </tr>
 </tr>
 <tr>
 <tr>
@@ -17515,8 +17515,8 @@ Kubernetes meta/v1.Duration
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 <p>RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
 specified as Golang Duration strings.
 specified as Golang Duration strings.
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
 Valid time units are &ldquo;ns&rdquo;, &ldquo;us&rdquo; (or &ldquo;µs&rdquo;), &ldquo;ms&rdquo;, &ldquo;s&rdquo;, &ldquo;m&rdquo;, &ldquo;h&rdquo;
-Example values: &ldquo;1h&rdquo;, &ldquo;2h30m&rdquo;, &ldquo;10s&rdquo;
-May be set to zero to fetch and create it once. Defaults to 1h.</p>
+Example values: &ldquo;1h0m0s&rdquo;, &ldquo;2h30m0s&rdquo;, &ldquo;10m0s&rdquo;
+May be set to &ldquo;0s&rdquo; to fetch and create it once. Defaults to 1h0m0s.</p>
 </td>
 </td>
 </tr>
 </tr>
 <tr>
 <tr>

+ 1 - 1
docs/guides/common-k8s-secret-types.md

@@ -44,7 +44,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: dk-cfg-example
   name: dk-cfg-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: example
     name: example
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/provider/alibaba.md

@@ -90,7 +90,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secretstore-sample
     name: secretstore-sample
     kind: SecretStore
     kind: SecretStore

+ 2 - 2
docs/provider/aws-secrets-manager.md

@@ -250,7 +250,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: versioned-api-key
   name: versioned-api-key
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: aws-secretsmanager
     name: aws-secretsmanager
     kind: SecretStore
     kind: SecretStore
@@ -276,7 +276,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: versioned-api-key
   name: versioned-api-key
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: aws-secretsmanager
     name: aws-secretsmanager
     kind: SecretStore
     kind: SecretStore

+ 3 - 3
docs/provider/bitwarden-secrets-manager.md

@@ -72,7 +72,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: bitwarden
   name: bitwarden
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     # This name must match the metadata.name in the `SecretStore`
     # This name must match the metadata.name in the `SecretStore`
     name: bitwarden-secretsmanager
     name: bitwarden-secretsmanager
@@ -98,7 +98,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: bitwarden
   name: bitwarden
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     # This name must match the metadata.name in the `SecretStore`
     # This name must match the metadata.name in the `SecretStore`
     name: bitwarden-secretsmanager
     name: bitwarden-secretsmanager
@@ -156,7 +156,7 @@ kind: PushSecret
 metadata:
 metadata:
   name: pushsecret-bitwarden # Customisable
   name: pushsecret-bitwarden # Customisable
 spec:
 spec:
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: bitwarden-secretsmanager
     - name: bitwarden-secretsmanager
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/provider/chef.md

@@ -97,7 +97,7 @@ metadata:
   labels:
   labels:
     app.kubernetes.io/name: external-secrets
     app.kubernetes.io/name: external-secrets
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vivid-clustersecretstore # name of ClusterSecretStore
     name: vivid-clustersecretstore # name of ClusterSecretStore
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/provider/delinea.md

@@ -47,7 +47,7 @@ kind: ExternalSecret
 metadata:
 metadata:
     name: secret
     name: secret
 spec:
 spec:
-    refreshInterval: 1h
+    refreshInterval: 1h0m0s
     secretStoreRef:
     secretStoreRef:
         kind: SecretStore
         kind: SecretStore
         name: secret-store
         name: secret-store

+ 1 - 1
docs/provider/device42.md

@@ -45,7 +45,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: device42-external-secret
   name: device42-external-secret
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: device42-secret-store
     name: device42-secret-store

+ 3 - 3
docs/provider/fortanix.md

@@ -32,7 +32,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: secret
   name: secret
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: secret-store
     name: secret-store
@@ -47,7 +47,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: secret-from-property
   name: secret-from-property
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: secret-store
     name: secret-store
@@ -63,7 +63,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: secret-from-extract
   name: secret-from-extract
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: secret-store
     name: secret-store

+ 1 - 1
docs/provider/google-secrets-manager.md

@@ -280,7 +280,7 @@ metadata:
 spec:
 spec:
   updatePolicy: Replace
   updatePolicy: Replace
   deletionPolicy: None
   deletionPolicy: None
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRefs:
   secretStoreRefs:
     - name: gcp-secretstore
     - name: gcp-secretstore
       kind: SecretStore
       kind: SecretStore

+ 4 - 4
docs/provider/kubernetes.md

@@ -14,7 +14,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: database-credentials
   name: database-credentials
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: k8s-store             # name of the SecretStore (or kind specified)
     name: k8s-store             # name of the SecretStore (or kind specified)
@@ -63,7 +63,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: fetch-tls-and-nginx
   name: fetch-tls-and-nginx
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: k8s-store
     name: k8s-store
@@ -362,7 +362,7 @@ kind: PushSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRefs:
   secretStoreRefs:
     - name: k8s-store-remote-ns
     - name: k8s-store-remote-ns
       kind: SecretStore
       kind: SecretStore
@@ -413,7 +413,7 @@ kind: PushSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRefs:
   secretStoreRefs:
     - name: k8s-store-remote-ns
     - name: k8s-store-remote-ns
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/provider/previder.md

@@ -50,7 +50,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: previder-secretstore-sample
     name: previder-secretstore-sample
     kind: SecretStore
     kind: SecretStore

+ 2 - 2
docs/provider/pulumi.md

@@ -65,7 +65,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: secret
   name: secret
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: secret-store
     name: secret-store
@@ -111,7 +111,7 @@ kind: PushSecret
 metadata:
 metadata:
   name: push-secret-example
   name: push-secret-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   selector:
   selector:
     secret:
     secret:
       name: <NAME_OF_KUBE_SECRET>
       name: <NAME_OF_KUBE_SECRET>

+ 2 - 2
docs/provider/scaleway.md

@@ -38,7 +38,7 @@ kind: ExternalSecret
 metadata:
 metadata:
     name: secret
     name: secret
 spec:
 spec:
-    refreshInterval: 1h
+    refreshInterval: 1h0m0s
     secretStoreRef:
     secretStoreRef:
         kind: SecretStore
         kind: SecretStore
         name: secret-store
         name: secret-store
@@ -70,7 +70,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: extract-data
   name: extract-data
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: secret-store
     name: secret-store

+ 2 - 2
docs/provider/secretserver.md

@@ -56,7 +56,7 @@ kind: ExternalSecret
 metadata:
 metadata:
     name: secret-server-external-secret
     name: secret-server-external-secret
 spec:
 spec:
-    refreshInterval: 1h
+    refreshInterval: 1h0m0s
     secretStoreRef:
     secretStoreRef:
         kind: SecretStore
         kind: SecretStore
         name: secret-server-store
         name: secret-server-store
@@ -81,7 +81,7 @@ kind: ExternalSecret
 metadata:
 metadata:
     name: secret-server-external-secret
     name: secret-server-external-secret
 spec:
 spec:
-    refreshInterval: 1h
+    refreshInterval: 1h0m0s
     secretStoreRef:
     secretStoreRef:
       kind: SecretStore
       kind: SecretStore
       name: secret-server-store
       name: secret-server-store

+ 1 - 1
docs/provider/webhook.md

@@ -101,7 +101,7 @@ kind: PushSecret
 metadata:
 metadata:
   name: pushsecret-example # Customisable
   name: pushsecret-example # Customisable
 spec:
 spec:
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: webhook-backend
     - name: webhook-backend
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/provider/yandex-certificate-manager.md

@@ -71,7 +71,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: external-secret
   name: external-secret
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secret-store
     name: secret-store
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/provider/yandex-lockbox.md

@@ -74,7 +74,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: external-secret
   name: external-secret
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secret-store
     name: secret-store
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/1password-push-secret.yaml

@@ -11,7 +11,7 @@ metadata:
   name: pushsecret-example # Customisable
   name: pushsecret-example # Customisable
 spec:
 spec:
   deletionPolicy: Delete
   deletionPolicy: Delete
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRefs:
   secretStoreRefs:
     - name: 1password
     - name: 1password
       kind: ClusterSecretStore
       kind: ClusterSecretStore

+ 1 - 1
docs/snippets/1passwordsdk-push-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: pushsecret-example # Customisable
   name: pushsecret-example # Customisable
 spec:
 spec:
   deletionPolicy: Delete
   deletionPolicy: Delete
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRefs:
   secretStoreRefs:
     - name: onepassword
     - name: onepassword
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/akeyless-external-secret-json.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: database-credentials
   name: database-credentials
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
 
 
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/akeyless-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: database-credentials
   name: database-credentials
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
 
 
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/akeyless-push-secret.yaml

@@ -3,7 +3,7 @@ kind: PushSecret
 metadata:
 metadata:
  name: push-secret
  name: push-secret
 spec:
 spec:
- refreshInterval: 1h
+ refreshInterval: 1h0m0s
  updatePolicy: Replace
  updatePolicy: Replace
  deletionPolicy: Delete
  deletionPolicy: Delete
  secretStoreRefs:
  secretStoreRefs:

+ 1 - 1
docs/snippets/aws-anchore-engine-access-credentials-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: anchore-access-credentials
   name: anchore-access-credentials
   namespace: ci
   namespace: ci
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: cluster-secrets-store
     name: cluster-secrets-store
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/aws-jenkins-credential-github-ssh-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: github-ssh-access
   name: github-ssh-access
   namespace: ci
   namespace: ci
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: cluster-parameter-store
     name: cluster-parameter-store
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/aws-jenkins-credential-sonarqube-api-token-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: sonarqube-api-token
   name: sonarqube-api-token
   namespace: ci
   namespace: ci
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: cluster-secrets-store
     name: cluster-secrets-store
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/aws-jenkins-credentials-harbor-chart-robot-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: harbor-chart-robot
   name: harbor-chart-robot
   namespace: ci
   namespace: ci
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: cluster-secrets-store
     name: cluster-secrets-store
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/aws-pm-push-secret-with-metadata.yaml

@@ -5,7 +5,7 @@ metadata:
   namespace: default # Same of the SecretStores
   namespace: default # Same of the SecretStores
 spec:
 spec:
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: aws-parameterstore
     - name: aws-parameterstore
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/aws-sm-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: aws-secretsmanager
     name: aws-secretsmanager
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/aws-sm-push-secret-with-metadata.yaml

@@ -5,7 +5,7 @@ metadata:
   namespace: teamb # Same of the SecretStores
   namespace: teamb # Same of the SecretStores
 spec:
 spec:
   deletionPolicy: Delete
   deletionPolicy: Delete
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: teamb-secret-store
     - name: teamb-secret-store
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/azkv-datafrom-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: all-secrets
   name: all-secrets
 spec:
 spec:
-  refreshInterval: 1h           # rate ESO pulls Azure Key Vault
+  refreshInterval: 1h0m0s           # rate ESO pulls Azure Key Vault
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: azure-store           # name of the SecretStore (or kind specified)
     name: azure-store           # name of the SecretStore (or kind specified)

+ 1 - 1
docs/snippets/azkv-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: database-credentials
   name: database-credentials
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: azure-store
     name: azure-store

+ 1 - 1
docs/snippets/azkv-pkcs12-cert-external-secret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: tls-client-credentials
   name: tls-client-credentials
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: azure-store
     name: azure-store

+ 1 - 1
docs/snippets/azkv-pushsecret-certificate.yaml

@@ -21,7 +21,7 @@ metadata:
   name: pushsecret-example
   name: pushsecret-example
   namespace: default
   namespace: default
 spec:
 spec:
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   deletionPolicy: Delete
   deletionPolicy: Delete
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: azure-store
     - name: azure-store

+ 1 - 1
docs/snippets/azkv-pushsecret-key.yaml

@@ -11,7 +11,7 @@ metadata:
   name: pushsecret-example
   name: pushsecret-example
   namespace: default
   namespace: default
 spec:
 spec:
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   deletionPolicy: Delete
   deletionPolicy: Delete
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: azure-store
     - name: azure-store

+ 1 - 1
docs/snippets/azkv-pushsecret-secret.yaml

@@ -11,7 +11,7 @@ metadata:
   name: pushsecret-example
   name: pushsecret-example
   namespace: default
   namespace: default
 spec:
 spec:
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   deletionPolicy: Delete
   deletionPolicy: Delete
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: azure-store
     - name: azure-store

+ 1 - 1
docs/snippets/basic-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secretstore-sample
     name: secretstore-sample
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/beyondtrust-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
  name: beyondtrust-external-secret
  name: beyondtrust-external-secret
 spec:
 spec:
- refreshInterval: 1h
+ refreshInterval: 1h0m0s
  secretStoreRef:
  secretStoreRef:
    kind: SecretStore
    kind: SecretStore
    name: secretstore-beyondtrust
    name: secretstore-beyondtrust

+ 1 - 1
docs/snippets/beyondtrust-push-secret.yaml

@@ -3,7 +3,7 @@ kind: PushSecret
 metadata:
 metadata:
   name: pushsecret-beyondtrust
   name: pushsecret-beyondtrust
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRefs:
   secretStoreRefs:
     - name: beyondtrust-store
     - name: beyondtrust-store
       kind: ClusterSecretStore
       kind: ClusterSecretStore

+ 1 - 1
docs/snippets/chef-external-secret.yaml

@@ -10,7 +10,7 @@ metadata:
   labels:
   labels:
     app.kubernetes.io/name: external-secrets
     app.kubernetes.io/name: external-secrets
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vivid-clustersecretstore # name of ClusterSecretStore
     name: vivid-clustersecretstore # name of ClusterSecretStore
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/conjur-external-secret-find.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: conjur-find-by-name
   name: conjur-find-by-name
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     # This name must match the metadata.name in the `SecretStore`
     # This name must match the metadata.name in the `SecretStore`
     name: conjur
     name: conjur

+ 1 - 1
docs/snippets/conjur-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: conjur
   name: conjur
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     # This name must match the metadata.name in the `SecretStore`
     # This name must match the metadata.name in the `SecretStore`
     name: conjur
     name: conjur

+ 1 - 1
docs/snippets/datafrom-rewrite-conflict.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: backend
     name: backend

+ 1 - 1
docs/snippets/datafrom-rewrite-invalid-characters.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: backend
     name: backend

+ 1 - 1
docs/snippets/datafrom-rewrite-merge-empty.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: merge-basic-example
   name: merge-basic-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/datafrom-rewrite-remove-path.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: backend
     name: backend

+ 1 - 1
docs/snippets/device42-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: device42-find-by-id
   name: device42-find-by-id
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     # This name must match the metadata.name in the `SecretStore`
     # This name must match the metadata.name in the `SecretStore`
     name: device42
     name: device42

+ 1 - 1
docs/snippets/fake-provider-es.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: fake
     name: fake
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 2 - 2
docs/snippets/full-cluster-push-secret.yaml

@@ -33,7 +33,7 @@ spec:
   pushSecretSpec:
   pushSecretSpec:
     updatePolicy: Replace # Policy to overwrite existing secrets in the provider on sync
     updatePolicy: Replace # Policy to overwrite existing secrets in the provider on sync
     deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
     deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
-    refreshInterval: 1h # Refresh interval for which push secret will reconcile
+    refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
     secretStoreRefs: # A list of secret stores to push secrets to
     secretStoreRefs: # A list of secret stores to push secrets to
       - name: aws-parameterstore
       - name: aws-parameterstore
         kind: SecretStore
         kind: SecretStore
@@ -53,7 +53,7 @@ spec:
         # If the key source secret key has dashes, then it cannot be accessed directly,
         # If the key source secret key has dashes, then it cannot be accessed directly,
         # and the "index" function should be used.
         # and the "index" function should be used.
         best-pokemon: "{{ index . \"best-pokemon-src\" | toString | upper }} is the really best!"
         best-pokemon: "{{ index . \"best-pokemon-src\" | toString | upper }} is the really best!"
-      # Also, it's possible to use an existing template from configmap where Secret is fetched, 
+      # Also, it's possible to use an existing template from configmap where Secret is fetched,
       # merged and templated within the referenced configMap data.
       # merged and templated within the referenced configMap data.
       # It does not update the configmap, it creates a secret with: data["config.yml"] = ...result...
       # It does not update the configmap, it creates a secret with: data["config.yml"] = ...result...
       templateFrom:
       templateFrom:

+ 1 - 1
docs/snippets/full-pushsecret-no-key-no-property.yaml

@@ -5,7 +5,7 @@ metadata:
   namespace: default # Same of the SecretStores
   namespace: default # Same of the SecretStores
 spec:
 spec:
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: aws-parameterstore
     - name: aws-parameterstore
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/full-pushsecret-no-key-with-property.yaml

@@ -5,7 +5,7 @@ metadata:
   namespace: default # Same of the SecretStores
   namespace: default # Same of the SecretStores
 spec:
 spec:
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: aws-parameterstore
     - name: aws-parameterstore
       kind: SecretStore
       kind: SecretStore

+ 2 - 2
docs/snippets/full-pushsecret.yaml

@@ -16,7 +16,7 @@ metadata:
 spec:
 spec:
   updatePolicy: Replace # Policy to overwrite existing secrets in the provider on sync
   updatePolicy: Replace # Policy to overwrite existing secrets in the provider on sync
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
   deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
-  refreshInterval: 1h # Refresh interval for which push secret will reconcile
+  refreshInterval: 1h0m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: aws-parameterstore
     - name: aws-parameterstore
       kind: SecretStore
       kind: SecretStore
@@ -36,7 +36,7 @@ spec:
       # If the key source secret key has dashes, then it cannot be accessed directly,
       # If the key source secret key has dashes, then it cannot be accessed directly,
       # and the "index" function should be used.
       # and the "index" function should be used.
       best-pokemon: "{{ index . \"best-pokemon-src\" | toString | upper }} is the really best!"
       best-pokemon: "{{ index . \"best-pokemon-src\" | toString | upper }} is the really best!"
-    # Also, it's possible to use an existing template from configmap where Secret is fetched, 
+    # Also, it's possible to use an existing template from configmap where Secret is fetched,
     # merged and templated within the referenced configMap data.
     # merged and templated within the referenced configMap data.
     # It does not update the configmap, it creates a secret with: data["config.yml"] = ...result...
     # It does not update the configmap, it creates a secret with: data["config.yml"] = ...result...
     templateFrom:
     templateFrom:

+ 1 - 1
docs/snippets/gcpsm-data-from-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h           # rate SecretManager pulls GCPSM
+  refreshInterval: 1h0m0s           # rate SecretManager pulls GCPSM
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: example               # name of the SecretStore (or kind specified)
     name: example               # name of the SecretStore (or kind specified)

+ 1 - 1
docs/snippets/gcpsm-docker-config-externalsecret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: dk-cfg-example
   name: dk-cfg-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: example
     name: example
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/gcpsm-docker-config-helm-externalsecret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: dk-cfg-example
   name: dk-cfg-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: example
     name: example
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/gcpsm-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: database-credentials
   name: database-credentials
 spec:
 spec:
-  refreshInterval: 1h             # rate SecretManager pulls GCPSM
+  refreshInterval: 1h0m0s             # rate SecretManager pulls GCPSM
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: gcp-store               # name of the SecretStore (or kind specified)
     name: gcp-store               # name of the SecretStore (or kind specified)

+ 1 - 1
docs/snippets/gcpsm-ssh-auth-externalsecret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: ssh-auth-example
   name: ssh-auth-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: example
     name: example
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/gcpsm-tls-externalsecret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: template-tls-example
   name: template-tls-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: example
     name: example
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/gcpsm-wif-externalsecret.yaml

@@ -4,7 +4,7 @@ metadata:
   name: demo-external-secret
   name: demo-external-secret
   namespace: demo
   namespace: demo
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: demo-store
     name: demo-store
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/generator-acr-argocd-helm-repo.yaml

@@ -21,7 +21,7 @@ spec:
           apiVersion: generators.external-secrets.io/v1alpha1
           apiVersion: generators.external-secrets.io/v1alpha1
           kind: ACRAccessToken
           kind: ACRAccessToken
           name: azurecr
           name: azurecr
-  refreshInterval: 3h
+  refreshInterval: 30h0s
   target:
   target:
     name: azurecr-credentials
     name: azurecr-credentials
     template:
     template:

+ 1 - 1
docs/snippets/generator-acr-example.yaml

@@ -11,7 +11,7 @@ spec:
           apiVersion: generators.external-secrets.io/v1alpha1
           apiVersion: generators.external-secrets.io/v1alpha1
           kind: ACRAccessToken
           kind: ACRAccessToken
           name: my-azurecr
           name: my-azurecr
-  refreshInterval: 3h
+  refreshInterval: 30h0s
   target:
   target:
     name: azurecr-credentials
     name: azurecr-credentials
     template:
     template:

+ 2 - 2
docs/snippets/generator-cloudsmith-example.yaml

@@ -11,7 +11,7 @@ spec:
           apiVersion: generators.external-secrets.io/v1alpha1
           apiVersion: generators.external-secrets.io/v1alpha1
           kind: CloudsmithAccessToken
           kind: CloudsmithAccessToken
           name: my-cloudsmith-token
           name: my-cloudsmith-token
-  refreshInterval: 50m # Refresh before token expires
+  refreshInterval: 50m0s # Refresh before token expires
   target:
   target:
     name: cloudsmith-credentials
     name: cloudsmith-credentials
     template:
     template:
@@ -26,4 +26,4 @@ spec:
             }
             }
           }
           }
 
 
-{% endraw %}
+{% endraw %}

+ 1 - 1
docs/snippets/generator-quay-example.yaml

@@ -11,7 +11,7 @@ spec:
           apiVersion: generators.external-secrets.io/v1alpha1
           apiVersion: generators.external-secrets.io/v1alpha1
           kind: QuayAccessToken
           kind: QuayAccessToken
           name: my-quay-token
           name: my-quay-token
-  refreshInterval: 55m # Tokens are good for 1 hour
+  refreshInterval: 55m0s # Tokens are good for 1 hour
   target:
   target:
     name: quay-credentials
     name: quay-credentials
     template:
     template:

+ 1 - 1
docs/snippets/getallsecrets-find-by-name.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: find-by-tags
   name: find-by-tags
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secretstore-sample
     name: secretstore-sample
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/getallsecrets-find-by-tags.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: find-by-tags
   name: find-by-tags
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secretstore-sample
     name: secretstore-sample
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/github-push-secret.yaml

@@ -4,7 +4,7 @@ metadata:
   name: github-push-secret-example
   name: github-push-secret-example
 spec:
 spec:
   deletionPolicy: Delete
   deletionPolicy: Delete
-  refreshInterval: 10m # Refresh interval for which push secret will reconcile
+  refreshInterval: 10m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: github # Must match SecretStore on the cluster
     - name: github # Must match SecretStore on the cluster
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/gitlab-external-secret-json.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: gitlab-external-secret-example
   name: gitlab-external-secret-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
 
 
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/gitlab-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: gitlab-external-secret-example
   name: gitlab-external-secret-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
 
 
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/ibm-external-secret-by-name.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: database-credentials
   name: database-credentials
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: ibm-store
     name: ibm-store
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/ibm-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: database-credentials
   name: database-credentials
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: ibm-store
     name: ibm-store
     kind: SecretStore
     kind: SecretStore

+ 4 - 4
docs/snippets/keepersecurity-external-secret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h           # rate SecretManager pulls KeeperSecurity
+  refreshInterval: 1h0m0s           # rate SecretManager pulls KeeperSecurity
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: example               # name of the SecretStore (or kind specified)
     name: example               # name of the SecretStore (or kind specified)
@@ -21,7 +21,7 @@ metadata:
   name: regcred
   name: regcred
   namespace: external-secrets
   namespace: external-secrets
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: keeper
     name: keeper
     kind: ClusterSecretStore
     kind: ClusterSecretStore
@@ -49,7 +49,7 @@ metadata:
   name: config
   name: config
   namespace: external-secrets
   namespace: external-secrets
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: keeper
     name: keeper
     kind: ClusterSecretStore
     kind: ClusterSecretStore
@@ -76,7 +76,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: example
   name: example
 spec:
 spec:
-  refreshInterval: 1h           # rate SecretManager pulls KeeperSecurity
+  refreshInterval: 1h0m0s           # rate SecretManager pulls KeeperSecurity
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore
     name: example               # name of the SecretStore (or kind specified)
     name: example               # name of the SecretStore (or kind specified)

+ 1 - 1
docs/snippets/manifest-advanced-path.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: custom-resource-config
   name: custom-resource-config
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/manifest-argocd-app.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: argocd-app
   name: argocd-app
 spec:
 spec:
-  refreshInterval: 15m
+  refreshInterval: 15m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/manifest-basic-configmap.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: application-config
   name: application-config
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/manifest-labeled-configmap.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: labeled-config
   name: labeled-config
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/manifest-templated-configmap.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: templated-config
   name: templated-config
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/multiline-template-v1-external-secret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: template
   name: template
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secretstore-sample
     name: secretstore-sample
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/ngrok-push-secret-with-metadata.yaml

@@ -4,7 +4,7 @@ metadata:
   name: ngrok-push-secret-example
   name: ngrok-push-secret-example
 spec:
 spec:
   deletionPolicy: Delete
   deletionPolicy: Delete
-  refreshInterval: 10m # Refresh interval for which push secret will reconcile
+  refreshInterval: 10m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: ngrok # Must match SecretStore on the cluster
     - name: ngrok # Must match SecretStore on the cluster
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/ngrok-push-secret.yaml

@@ -4,7 +4,7 @@ metadata:
   name: ngrok-push-secret-example
   name: ngrok-push-secret-example
 spec:
 spec:
   deletionPolicy: Delete
   deletionPolicy: Delete
-  refreshInterval: 10m # Refresh interval for which push secret will reconcile
+  refreshInterval: 10m0s # Refresh interval for which push secret will reconcile
   secretStoreRefs: # A list of secret stores to push secrets to
   secretStoreRefs: # A list of secret stores to push secrets to
     - name: ngrok # Must match SecretStore on the cluster
     - name: ngrok # Must match SecretStore on the cluster
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/onboardbase-fetch-all-secrets.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: service-name-secrets
   name: service-name-secrets
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: onboardbase-external-secret-store
     name: onboardbase-external-secret-store
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/onboardbase-fetch-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: service-name-secrets
   name: service-name-secrets
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: onboardbase-external-secret-store
     name: onboardbase-external-secret-store
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/onboardbase-filtered-secrets.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: service-name-secrets
   name: service-name-secrets
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: onboardbase-external-secret-store
     name: onboardbase-external-secret-store
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/passworddepot-external-secret-json.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: passworddepot-external-secret-example
   name: passworddepot-external-secret-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
 
 
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/passworddepot-external-secret.yaml

@@ -3,7 +3,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: passworddepot-external-secret-example
   name: passworddepot-external-secret-example
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
 
 
   secretStoreRef:
   secretStoreRef:
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/pkcs12-template-v1-external-secret.yaml

@@ -4,7 +4,7 @@ kind: ExternalSecret
 metadata:
 metadata:
   name: template
   name: template
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: secretstore-sample
     name: secretstore-sample
     kind: SecretStore
     kind: SecretStore

+ 1 - 1
docs/snippets/pushsecret-generator-rotation-example.yaml

@@ -16,7 +16,7 @@ kind: PushSecret
 metadata:
 metadata:
   name: pushsecret-example
   name: pushsecret-example
 spec:
 spec:
-  refreshInterval: 6h
+  refreshInterval: 6h0m0s
   secretStoreRefs:
   secretStoreRefs:
     - name: aws-parameter-store
     - name: aws-parameter-store
       kind: SecretStore
       kind: SecretStore

+ 1 - 1
docs/snippets/vault-anchore-engine-access-credentials-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: anchore-access-credentials
   name: anchore-access-credentials
   namespace: security
   namespace: security
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/vault-jenkins-credential-github-ssh-access-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: github-ssh-access
   name: github-ssh-access
   namespace: ci
   namespace: ci
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/vault-jenkins-credential-harbor-chart-robot-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: harbor-chart-robot
   name: harbor-chart-robot
   namespace: ci
   namespace: ci
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: ClusterSecretStore
     kind: ClusterSecretStore

+ 1 - 1
docs/snippets/vault-jenkins-credential-sonarqube-api-token-external-secret.yaml

@@ -5,7 +5,7 @@ metadata:
   name: sonarqube-api-token
   name: sonarqube-api-token
   namespace: ci
   namespace: ci
 spec:
 spec:
-  refreshInterval: 1h
+  refreshInterval: 1h0m0s
   secretStoreRef:
   secretStoreRef:
     name: vault-backend
     name: vault-backend
     kind: ClusterSecretStore
     kind: ClusterSecretStore

Некоторые файлы не были показаны из-за большого количества измененных файлов