Skip to content

Commit

Permalink
Merge pull request #1054 from bjw-s/podLabels
Browse files Browse the repository at this point in the history
feat: Add podLabels to Helm chart
  • Loading branch information
openshift-merge-bot[bot] authored Jan 26, 2024
2 parents 23ea932 + 8c9920f commit f603f46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/volsync/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ keywords:
- disaster recovery
- replication
- storage
annotations: # https://artifacthub.io/docs/topics/annotations/helm/
annotations: # https://artifacthub.io/docs/topics/annotations/helm/
# Changelog for current chart & app version
# Kinds: added, changed, deprecated, removed, fixed, and security
artifacthub.io/changes: |
Expand Down
3 changes: 3 additions & 0 deletions helm/volsync/templates/deployment-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ spec:
labels:
control-plane: {{ include "volsync.fullname" . }}-controller
{{- include "volsync.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
3 changes: 2 additions & 1 deletion helm/volsync/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ serviceAccount:
name: ""

podAnnotations: {}
podLabels: {}

# Default security context values are in deployment-controller.yaml
podSecurityContext: {}
Expand All @@ -62,7 +63,7 @@ securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
- ALL
readOnlyRootFilesystem: true

resources:
Expand Down

0 comments on commit f603f46

Please sign in to comment.