Add helm chart
This commit is contained in:
parent
ce9158eb07
commit
b9c35fb62f
19 changed files with 656 additions and 0 deletions
16
helm/templates/netbox-initializers.yaml
Normal file
16
helm/templates/netbox-initializers.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
{{- if .Values.initializers }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "netbox.fullname" . }}-initializers
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
data:
|
||||
{{- range $key, $value := .Values.initializers }}
|
||||
{{ $key }}: |
|
||||
{{ $value | indent 4 | trim }}
|
||||
{{- end }}
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue