mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-25 15:49:28 +00:00
[antennas] New Chart (#34)
* [antennas] New Chart * [antennas] Add options for host networking * [antennas] Version 1.0.0 * [antennas] Fix lint issues
This commit is contained in:
18
charts/antennas/templates/common.yaml
Normal file
18
charts/antennas/templates/common.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
{{/* 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" . }}
|
||||
Reference in New Issue
Block a user