fix(netbox) also include selectorLabels
This commit is contained in:
parent
e94afff689
commit
b65f4ec699
2 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue