From a114df93b17d70586c0b314037bc2ccdb84fc98a Mon Sep 17 00:00:00 2001 From: Jeanette Clark Date: Fri, 3 May 2024 11:14:58 -0700 Subject: [PATCH] move labels to be configurable --- helm/metadig-worker/templates/deployment.yaml | 2 +- helm/metadig-worker/values.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/helm/metadig-worker/templates/deployment.yaml b/helm/metadig-worker/templates/deployment.yaml index 2311658a..1b1b8376 100644 --- a/helm/metadig-worker/templates/deployment.yaml +++ b/helm/metadig-worker/templates/deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: {{ include "metadig-worker.fullname" . }} labels: - app: metadig-worker + {{- include "metadig-worker.labels" . | nindent 4 }} spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} diff --git a/helm/metadig-worker/values.yaml b/helm/metadig-worker/values.yaml index 40d60b9e..cede60de 100644 --- a/helm/metadig-worker/values.yaml +++ b/helm/metadig-worker/values.yaml @@ -4,6 +4,9 @@ replicaCount: 1 +labels: + app: metadig-worker + image: repository: ghcr.io/nceas/metadig-worker pullPolicy: Always