Skip to content

Commit

Permalink
Adding secret rotation interval to creds operator values & deployment…
Browse files Browse the repository at this point in the history
… yaml
  • Loading branch information
evyatarmeged committed Jun 20, 2024
1 parent cbd0bce commit 87f3740
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ spec:
- name: OTTERIZE_USE_IMAGE_NAME_FOR_SERVICE_ID_FOR_JOBS
value: "true"
{{- end }}
{{- if .Values.databaseSecretRotationIntervalNanoseconds }}
- name: OTTERIZE_DATABASE_SECRET_ROTATION_INTERVAL
value: {{ .Values.databaseSecretRotationIntervalNanoseconds | quote }}
{{- end }}
{{- if .Values.operator.extraEnvVars -}}
{{- toYaml .Values.operator.extraEnvVars | nindent 10 -}}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions credentials-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ global:
gcp:
enabled: false


# Specify an annotation name that by setting it, one can override otterize's service name resolution.
serviceNameOverrideAnnotationName: intents.otterize.com/service-name

Expand Down Expand Up @@ -112,3 +113,4 @@ 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: ""

0 comments on commit 87f3740

Please sign in to comment.