policyDefinitions/Kubernetes/forbidden-sysctl-interfaces/examples-good/example_good.yaml [1:16]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: v1
kind: Pod
metadata:
  name: nginx-forbidden-sysctls
  labels:
    app: nginx-forbidden-sysctls
spec:
  containers:
  - name: nginx
    image: nginx
    resources:
      limits:
        cpu: "100m"
        memory: "30Mi"
  securityContext:
    sysctls:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



policyDefinitions/Kubernetes/forbidden-sysctl-interfaces/examples-violations/violation.yaml [1:16]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: v1
kind: Pod
metadata:
  name: nginx-forbidden-sysctls
  labels:
    app: nginx-forbidden-sysctls
spec:
  containers:
  - name: nginx
    image: nginx
    resources:
      limits:
        cpu: "100m"
        memory: "30Mi"
  securityContext:
    sysctls:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



