diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index 561eee11..2abb9305 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: netbox -version: 5.0.0-beta.156 +version: 5.0.0-beta.157 appVersion: "v4.1.7" type: application kubeVersion: ^1.25.0-0 diff --git a/charts/netbox/templates/_helpers.tpl b/charts/netbox/templates/_helpers.tpl index d57d151a..97dc64cb 100644 --- a/charts/netbox/templates/_helpers.tpl +++ b/charts/netbox/templates/_helpers.tpl @@ -124,7 +124,7 @@ Volume mounts for .Values.extraConfig entries */}} {{- define "netbox.extraConfig.volumeMounts" -}} {{- range $index, $config := .Values.extraConfig }} -- name: {{ printf "extra-config-%s" $index | quote }} +- name: {{ printf "extra-config-%d" $index | quote }} mountPath: /run/config/extra/{{ $index }} readOnly: true {{- end }} diff --git a/charts/netbox/templates/configmap.yaml b/charts/netbox/templates/configmap.yaml index fbb392fc..074d7103 100644 --- a/charts/netbox/templates/configmap.yaml +++ b/charts/netbox/templates/configmap.yaml @@ -208,7 +208,7 @@ data: {{- range $index, $config := .Values.extraConfig }} {{- if $config.values }} - {{ printf "extra-%s.yaml" $index }}: |- + {{ printf "extra-%d.yaml" $index }}: |- {{- include "common.tplvalues.render" (dict "value" $config.values "context" $) | nindent 4 }} {{- end }} {{- end }}