Skip to content

Commit

Permalink
fix: scc template in slim chart (#1137)
Browse files Browse the repository at this point in the history
Signed-off-by: ericsyh <[email protected]>
  • Loading branch information
ericsyh authored Dec 21, 2023
1 parent dc7d1f5 commit a3c2540
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
#

{{- if and .Values.openshift.enabled .Values.openshift.scc.enabled -}}
{{- $sas := list (include "pulsar.vault.serviceAccount" .) -}}
{{- $sas = append $sas (include "pulsar.zookeeper.serviceAccount" .) -}}
{{- $sas := list (include "pulsar.zookeeper.serviceAccount" .) -}}
{{- $sas = append $sas (include "pulsar.bookkeeper.serviceAccount" .) -}}
{{- $sas = append $sas (include "pulsar.broker.serviceAccount" .) -}}
{{- $sas = append $sas (include "pulsar.proxy.serviceAccount" .) -}}
Expand Down
5 changes: 0 additions & 5 deletions charts/sn-platform-slim/templates/openshift/scc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: true
allowPrivilegedContainer: true
allowedCapabilities:
{{- if .Values.components.vault }}
- IPC_LOCK
- SETFCAP
{{- end }}
defaultAddCapabilities: null
fsGroup:
type: RunAsAny
Expand Down

0 comments on commit a3c2540

Please sign in to comment.