Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable overriding seLinux type for custom type tags #355

Merged
merged 2 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
- IPC_LOCK
- NET_RAW
seLinuxOptions:
type: spc_t
type: {{ .Values.nodeAgent.seLinuxType }}
volumeMounts:
- name: {{ $components.cloudSecret.name }}
mountPath: /etc/credentials
Expand Down
3 changes: 2 additions & 1 deletion charts/kubescape-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ persistence:

credentials:
cloudSecret: # If left blank, the secret will be generated using the default name. Override this option if you already have a secret and wish to prevent Helm from creating the default secret on your behalf

global:
httpsProxy: ""
proxySecretFile: ""
Expand Down Expand Up @@ -605,6 +605,7 @@ nodeAgent:
fieldPath: spec.nodeName

privileged: false
seLinuxType: scp_t

volumeMounts:
- mountPath: /host
Expand Down
Loading