fix(netbox) adjust labels in deployment templates
This commit is contained in:
parent
b65f4ec699
commit
3bfeab316a
4 changed files with 7 additions and 11 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.3
|
||||
version: 6.0.4
|
||||
maintainers:
|
||||
- name: Tommy Skaug
|
||||
email: tommy@skaug.me
|
||||
|
|
|
@ -5,10 +5,8 @@ kind: Deployment
|
|||
metadata:
|
||||
name: {{ include "netbox.fullname" . }}-housekeeping
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
helm.sh/chart: {{ include "netbox.chart" . }}
|
||||
{{- include "netbox.labels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: housekeeping
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
|
|
|
@ -21,9 +21,8 @@ spec:
|
|||
annotations:
|
||||
checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }}
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
component: worker
|
||||
{{- include "netbox.labels" . | nindent 8 }}
|
||||
app.kubernetes.io/component: worker
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}-worker
|
||||
|
|
|
@ -20,9 +20,8 @@ spec:
|
|||
annotations:
|
||||
checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }}
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "netbox.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
component: app
|
||||
{{- include "netbox.labels" . | nindent 8 }}
|
||||
app.kubernetes.io/component: app
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
|
|
Loading…
Reference in a new issue