From d087e5ff85aa87cdda43a0f441ccff30dee656ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=85=E7=B1=B3=20=E6=8B=93=E9=A6=AC?= Date: Thu, 23 Nov 2023 08:24:13 +0900 Subject: [PATCH] Add podLabels --- helm/sbomreport-to-dependencytrack/templates/deployment.yaml | 1 + helm/sbomreport-to-dependencytrack/values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/helm/sbomreport-to-dependencytrack/templates/deployment.yaml b/helm/sbomreport-to-dependencytrack/templates/deployment.yaml index 9e90409..a3417e4 100644 --- a/helm/sbomreport-to-dependencytrack/templates/deployment.yaml +++ b/helm/sbomreport-to-dependencytrack/templates/deployment.yaml @@ -18,6 +18,7 @@ spec: {{- end }} labels: {{- include "sbomreport-to-dependencytrack.selectorLabels" . | nindent 8 }} + {{- if .Values.podLabels }}{{- toYaml .Values.podLabels | nindent 8 }}{{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/helm/sbomreport-to-dependencytrack/values.yaml b/helm/sbomreport-to-dependencytrack/values.yaml index 3cc5a3c..4129abf 100644 --- a/helm/sbomreport-to-dependencytrack/values.yaml +++ b/helm/sbomreport-to-dependencytrack/values.yaml @@ -32,6 +32,7 @@ fullnameOverride: "" deploymentLabels: {} +podLabels: {} podAnnotations: {} podSecurityContext: {}