Skip to content

Commit e778ac8

Browse files
fix: include retention configuration for migration config (#4135)
1 parent 37c262e commit e778ac8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

charts/camunda-platform-8.8/templates/orchestration/migration-data-configmap.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ data:
3030
username: {{ .Values.global.elasticsearch.auth.username }}
3131
password: ${VALUES_ELASTICSEARCH_PASSWORD:}
3232
{{- end }}
33+
{{- if .Values.orchestration.history.retention.enabled }}
34+
retention:
35+
enabled: true
36+
minimumAge: {{ .Values.orchestration.history.retention.minimumAge | quote }}
37+
policyName: {{ .Values.orchestration.history.retention.policyName | quote }}
38+
{{- end }}
3339
{{- else }}
3440
camunda:
3541
data:
@@ -57,6 +63,12 @@ data:
5763
username: {{ .Values.global.opensearch.auth.username }}
5864
password: ${VALUES_OPENSEARCH_PASSWORD:}
5965
{{- end }}
66+
{{- if .Values.orchestration.history.retention.enabled }}
67+
retention:
68+
enabled: true
69+
minimumAge: {{ .Values.orchestration.history.retention.minimumAge | quote }}
70+
policyName: {{ .Values.orchestration.history.retention.policyName | quote }}
71+
{{- end }}
6072
{{- end }}
6173
migration:
6274
process:

0 commit comments

Comments
 (0)