Skip to content

Commit

Permalink
Add podSecurityContext
Browse files Browse the repository at this point in the history
  • Loading branch information
xrisaD committed Jan 15, 2025
1 parent bbb82f4 commit 4bc2ddd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
labels:
{{- include "openstack-manila-csi.controllerplugin.labels" . | nindent 8 }}
spec:
securityContext: {{ toYaml .Values.controllerplugin.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "openstack-manila-csi.serviceAccountName.controllerplugin" . }}
containers:
{{- range .Values.shareProtocols }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spec:
labels:
{{- include "openstack-manila-csi.nodeplugin.labels" . | nindent 8 }}
spec:
securityContext: {{ toYaml .Values.nodeplugin.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "openstack-manila-csi.serviceAccountName.nodeplugin" . }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
Expand Down
2 changes: 2 additions & 0 deletions charts/manila-csi-plugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ nodeplugin:
priorityClassName: ""
# Use fullnameOverride to fully override the name of this component
# fullnameOverride: some-other-name
podSecurityContext: {}

# StatefulSet deployment
controllerplugin:
Expand Down Expand Up @@ -119,6 +120,7 @@ controllerplugin:
# - "keystone.hostname.com"
# Use fullnameOverride to fully override the name of this component
# fullnameOverride: some-other-name
podSecurityContext: {}

# Log verbosity level.
# See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md
Expand Down

0 comments on commit 4bc2ddd

Please sign in to comment.