Skip to content

Commit

Permalink
Merge pull request #5 from takumakume/add-labels
Browse files Browse the repository at this point in the history
Add deploymentLabels to helm
  • Loading branch information
takumakume authored Nov 22, 2023
2 parents 432aaf1 + 56fd280 commit 29ca9b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: {{ include "sbomreport-to-dependencytrack.fullname" . }}
labels:
{{- include "sbomreport-to-dependencytrack.labels" . | nindent 4 }}
{{- if .Values.deploymentLabels }}{{- toYaml .Values.deploymentLabels | nindent 4 }}{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions helm/sbomreport-to-dependencytrack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

deploymentLabels: {}

podAnnotations: {}

podSecurityContext: {}
Expand Down

0 comments on commit 29ca9b7

Please sign in to comment.