From 1477eb716fc71ed91c1d08440106c9fdb1dda76b Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 3 Feb 2024 10:56:05 +0100 Subject: [PATCH] fix(netbox) selectors didn't match labels --- charts/netbox/Chart.yaml | 2 +- charts/netbox/templates/deployment-housekeeping.yaml | 4 ++-- charts/netbox/templates/deployment-worker.yaml | 4 ++-- charts/netbox/templates/deployment.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index ff68165..2fe6cb0 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.6 +version: 6.0.7 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/netbox/templates/deployment-housekeeping.yaml b/charts/netbox/templates/deployment-housekeeping.yaml index 85b7660..5f8bf29 100644 --- a/charts/netbox/templates/deployment-housekeeping.yaml +++ b/charts/netbox/templates/deployment-housekeeping.yaml @@ -10,13 +10,13 @@ spec: replicas: 1 selector: matchLabels: - app.kubernetes.io/component: {{ include "netbox.fullname" . }}-housekeeping + app: {{ include "netbox.fullname" . }}-housekeeping template: metadata: annotations: checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }} labels: - app.kubernetes.io/component: {{ include "netbox.fullname" . }}-housekeeping + app: {{ include "netbox.fullname" . }}-housekeeping spec: containers: - name: {{ .Chart.Name }}-housekeeping diff --git a/charts/netbox/templates/deployment-worker.yaml b/charts/netbox/templates/deployment-worker.yaml index d6d2c67..2985566 100644 --- a/charts/netbox/templates/deployment-worker.yaml +++ b/charts/netbox/templates/deployment-worker.yaml @@ -10,13 +10,13 @@ spec: replicas: {{ .Values.worker.replicaCount }} selector: matchLabels: - app.kubernetes.io/component: {{ include "netbox.fullname" . }}-worker + app: {{ include "netbox.fullname" . }}-worker template: metadata: annotations: checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }} labels: - app.kubernetes.io/component: {{ include "netbox.fullname" . }}-worker + app: {{ include "netbox.fullname" . }}-worker spec: containers: - name: {{ .Chart.Name }}-worker diff --git a/charts/netbox/templates/deployment.yaml b/charts/netbox/templates/deployment.yaml index ff3b750..93f7145 100644 --- a/charts/netbox/templates/deployment.yaml +++ b/charts/netbox/templates/deployment.yaml @@ -9,13 +9,13 @@ spec: replicas: {{ .Values.replicaCount }} selector: matchLabels: - app.kubernetes.io/component: {{ include "netbox.fullname" . }}-app + app: {{ include "netbox.fullname" . }}-app template: metadata: annotations: checksum/config: {{ include (print $.Template.BasePath "/configuration.yaml") . | sha256sum }} labels: - app.kubernetes.io/component: {{ include "netbox.fullname" . }}-app + app: {{ include "netbox.fullname" . }}-app spec: containers: - name: {{ .Chart.Name }}