Skip to content

Commit

Permalink
Merge pull request #235 from camptocamp/metadata
Browse files Browse the repository at this point in the history
Fix metadata customization
  • Loading branch information
sbrunner authored Sep 30, 2024
2 parents eff1ec2 + a05b06d commit d358c55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/cm_metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{- if .Values.metadata }}
{{- if .Values.metadata.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.fullname" ( dict "root" $ "service" $.Values "serviceName" "metadata" ) }}
{{- include "common.metadata" ( dict "root" $ "service" $.Values ) | nindent 2 }}
name: {{ include "common.fullname" ( dict "root" $ "service" $.Values.metadata "serviceName" "metadata" ) }}
{{- include "common.metadata" ( dict "root" $ "service" $.Values.metadata ) | nindent 2 }}
data:
CHART_NAME: {{ .Chart.Name }}
RELEASE_NAME: {{ .Release.Name }}
Expand Down
3 changes: 3 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ securityContext:
# drop:
# - ALL

metadata:
enabled: true

ingress:
enabled: false

Expand Down

0 comments on commit d358c55

Please sign in to comment.