Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,13 @@ Also, recent OpenShift versions (> 4.10) have adjusted the virtual memory of the
OpenShift.
The label `tuned.openshift.io/elasticsearch` is added to ensure compatibility with the previous Camunda Helm charts.
Without this label, the Helm upgrade will fail for OpenShift because it is already set for the volumeClaimTemplate.
This is only needed when elasticsearch is actually enabled and deployed.
*/}}

{{- if eq .Values.global.compatibility.openshift.adaptSecurityContext "force" -}}
{{- if and (eq .Values.global.compatibility.openshift.adaptSecurityContext "force") .Values.elasticsearch.enabled -}}
{{- if not (hasKey .Values.elasticsearch "commonLabels") -}}
{{- $_ := set .Values.elasticsearch "commonLabels" (dict) -}}
{{- end -}}
{{- if not (hasKey .Values.elasticsearch.commonLabels "tuned.openshift.io/elasticsearch") -}}
{{- $_ := set .Values.elasticsearch.commonLabels "tuned.openshift.io/elasticsearch" "" -}}
{{- end -}}
Expand Down
Loading