Files
helm-charts/charts/antennas/templates/common.yaml
Andrew Williams 0f3d646141 [antennas] New Chart (#34)
* [antennas] New Chart

* [antennas] Add options for host networking

* [antennas] Version 1.0.0

* [antennas] Fix lint issues
2022-01-07 17:56:07 +00:00

19 lines
572 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "antennas.harcodedValues" -}}
{{/* Append the configMap volume to the volumes */}}
persistence:
antennas-config:
enabled: true
type: "configMap"
name: "{{ include "common.names.fullname" . }}-config"
mountPath: "/antennas/config/config.yml"
subPath: "config.yml"
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "antennas.harcodedValues" . | fromYaml) -}}
{{ include "common.all" . }}