Created
August 21, 2024 08:57
-
-
Save monodot/3082526988f198b8cb3e8de4d1b74c1d to your computer and use it in GitHub Desktop.
Alloy SCC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: k8s-monitoring/templates/platform_specific/openshift/security-context-constraint.yaml | |
apiVersion: security.openshift.io/v1 | |
kind: SecurityContextConstraints | |
metadata: | |
name: grafana-k8s-monitoring-alloy | |
allowHostDirVolumePlugin: false | |
allowHostIPC: false | |
allowHostNetwork: false | |
allowHostPID: false | |
allowHostPorts: false | |
allowPrivilegeEscalation: false | |
allowPrivilegedContainer: false | |
allowedCapabilities: | |
- CHOWN | |
- DAC_OVERRIDE | |
- FOWNER | |
- FSETID | |
- KILL | |
- SETGID | |
- SETUID | |
- SETPCAP | |
- NET_BIND_SERVICE | |
- NET_RAW | |
- SYS_CHROOT | |
- MKNOD | |
- AUDIT_WRITE | |
- SETFCAP | |
defaultAddCapabilities: null | |
defaultAllowPrivilegeEscalation: false | |
forbiddenSysctls: | |
- '*' | |
fsGroup: | |
type: RunAsAny | |
groups: [] | |
priority: null | |
readOnlyRootFilesystem: false # Set because Grafana Alloy needs to write to /tmp/alloy | |
requiredDropCapabilities: null | |
runAsUser: | |
type: RunAsAny | |
seLinuxContext: | |
type: RunAsAny | |
seccompProfiles: | |
- runtime/default | |
supplementalGroups: | |
type: RunAsAny | |
users: [] | |
volumes: | |
- configMap | |
- emptyDir | |
- projected | |
- secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment