diff --git a/helm/volsync/Chart.yaml b/helm/volsync/Chart.yaml index 3c212233a..e9a76a787 100644 --- a/helm/volsync/Chart.yaml +++ b/helm/volsync/Chart.yaml @@ -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: | diff --git a/helm/volsync/templates/deployment-controller.yaml b/helm/volsync/templates/deployment-controller.yaml index 69de0502f..1ce57aabd 100644 --- a/helm/volsync/templates/deployment-controller.yaml +++ b/helm/volsync/templates/deployment-controller.yaml @@ -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: diff --git a/helm/volsync/values.yaml b/helm/volsync/values.yaml index d44f0908d..37385bfd2 100644 --- a/helm/volsync/values.yaml +++ b/helm/volsync/values.yaml @@ -54,6 +54,7 @@ serviceAccount: name: "" podAnnotations: {} +podLabels: {} # Default security context values are in deployment-controller.yaml podSecurityContext: {} @@ -62,7 +63,7 @@ securityContext: allowPrivilegeEscalation: false capabilities: drop: - - ALL + - ALL readOnlyRootFilesystem: true resources: