diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index 06a0ab2..5d4ebb1 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -4,7 +4,7 @@ description: | An IP address management (IPAM) and data center infrastructure management (DCIM) tool. appVersion: v3.7.1 type: application -version: 6.0.2 +version: 6.0.3 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/netbox/templates/_helpers.tpl b/charts/netbox/templates/_helpers.tpl index 39d35e4..b02d0f0 100644 --- a/charts/netbox/templates/_helpers.tpl +++ b/charts/netbox/templates/_helpers.tpl @@ -38,6 +38,14 @@ Get the correct image tag name {{- .Values.image.tag | default (printf "v%s" .Chart.AppVersion) -}} {{- end -}} +{{/* +Selector labels +*/}} +{{- define "netbox.selectorLabels" -}} +app.kubernetes.io/name: {{ include "netbox.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end -}} + {{/* Common labels */}} @@ -48,4 +56,4 @@ helm.sh/chart: {{ include "netbox.chart" . }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} \ No newline at end of file +{{- end -}}