fix(netbox) selectors didn't match labels

This commit is contained in:
Tommy 2024-02-03 10:56:05 +01:00
parent 972f1f3aa7
commit 1477eb716f
No known key found for this signature in database
4 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@ description: |
An IP address management (IPAM) and data center infrastructure management (DCIM) tool. An IP address management (IPAM) and data center infrastructure management (DCIM) tool.
appVersion: v3.7.1 appVersion: v3.7.1
type: application type: application
version: 6.0.6 version: 6.0.7
maintainers: maintainers:
- name: Tommy Skaug - name: Tommy Skaug
email: tommy@skaug.me email: tommy@skaug.me

View file

@ -10,13 +10,13 @@ spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/component: {{ include "netbox.fullname" . }}-housekeeping app: {{ include "netbox.fullname" . }}-housekeeping
template: template:
metadata: metadata:
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }}
labels: labels:
app.kubernetes.io/component: {{ include "netbox.fullname" . }}-housekeeping app: {{ include "netbox.fullname" . }}-housekeeping
spec: spec:
containers: containers:
- name: {{ .Chart.Name }}-housekeeping - name: {{ .Chart.Name }}-housekeeping

View file

@ -10,13 +10,13 @@ spec:
replicas: {{ .Values.worker.replicaCount }} replicas: {{ .Values.worker.replicaCount }}
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/component: {{ include "netbox.fullname" . }}-worker app: {{ include "netbox.fullname" . }}-worker
template: template:
metadata: metadata:
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }}
labels: labels:
app.kubernetes.io/component: {{ include "netbox.fullname" . }}-worker app: {{ include "netbox.fullname" . }}-worker
spec: spec:
containers: containers:
- name: {{ .Chart.Name }}-worker - name: {{ .Chart.Name }}-worker

View file

@ -9,13 +9,13 @@ spec:
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/component: {{ include "netbox.fullname" . }}-app app: {{ include "netbox.fullname" . }}-app
template: template:
metadata: metadata:
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }}
labels: labels:
app.kubernetes.io/component: {{ include "netbox.fullname" . }}-app app: {{ include "netbox.fullname" . }}-app
spec: spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}