Skip to content

Commit

Permalink
Adding comment and renaming key in creds operator values
Browse files Browse the repository at this point in the history
  • Loading branch information
evyatarmeged committed Jun 20, 2024
1 parent 1687b8d commit 269b5be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ spec:
- name: OTTERIZE_USE_IMAGE_NAME_FOR_SERVICE_ID_FOR_JOBS
value: "true"
{{- end }}
{{- if .Values.databaseSecretRotationIntervalNanoseconds }}
{{- if .Values.databaseSecretRotationInterval }}
- name: OTTERIZE_DATABASE_PASSWORD_ROTATION_INTERVAL
value: {{ .Values.databaseSecretRotationIntervalNanoseconds | quote }}
value: {{ .Values.databaseSecretRotationInterval | quote }}
{{- end }}
{{- if .Values.operator.extraEnvVars -}}
{{- toYaml .Values.operator.extraEnvVars | nindent 10 -}}
Expand Down
4 changes: 3 additions & 1 deletion credentials-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,6 @@ global:
# If that Deployment is owned by a custom resource, the operator will not be able to resolve it.
# For this resolving to be successful, the operator needs to be able to `get` all resources.
allowGetAllResources: true
databaseSecretRotationIntervalNanoseconds: ""

# Valid time units are "ns", "ms", "s", "m", "h". Defaults to 8h if empty
databaseSecretRotationInterval: ""

0 comments on commit 269b5be

Please sign in to comment.