configuration.yaml 890 B

12345678910111213141516171819
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: {{ printf "%s-config" (include "common.names.fullname" .) }}
  5. namespace: {{ include "common.names.namespace" . | quote }}
  6. labels: {{- include "common.labels.standard" . | nindent 4 }}
  7. {{- if .Values.commonLabels }}
  8. {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
  9. {{- end }}
  10. {{- if .Values.commonAnnotations }}
  11. annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
  12. {{- end }}
  13. data:
  14. rabbitmq.conf: |-
  15. {{- include "common.tplvalues.render" (dict "value" .Values.configuration "context" $) | nindent 4 }}
  16. {{- if .Values.advancedConfiguration }}
  17. advanced.config: |-
  18. {{- include "common.tplvalues.render" (dict "value" .Values.advancedConfiguration "context" $) | nindent 4 }}
  19. {{- end }}