We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A bug happened!
# https://github.com/kubernetes/website/blob/main/content/en/examples/policy/example-psp.yaml apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: example spec: seLinux: rule: RunAsAny supplementalGroups: rule: RunAsAny runAsUser: rule: MustRunAsNonRoot fsGroup: rule: RunAsAny volumes: - '*'
apiVersion: constraints.gatekeeper.sh/v1beta1 kind: K8sPSPAllowedUsers metadata: name: psp-k8spspallowedusers-97934 spec: match: kinds: - apiGroups: - "" kinds: - Pod parameters: runAsUser: rule: MustRunAsNonRoot
apiVersion: policies.kubewarden.io/v1alpha2 kind: ClusterAdmissionPolicy metadata: name: psp-usergroup-070cd spec: module: registry://ghcr.io/kubewarden/policies/user-group-psp:v0.1.3 rules: - apiGroups: - "" apiVersions: - v1 resources: - pods operations: - CREATE - UPDATE mutating: false settings: run_as_user: rule: MustRunAsNonRoot supplemental_groups: rule: RunAsAny
Cannot read properties of undefined (reading '0')
54f53bc
The text was updated successfully, but these errors were encountered:
After facing the same problem... Judging from https://github.com/appvia/psp-migration/blob/main/src/kyverno.ts#L274 and the according group equivalent some lines further down I'd guess the range should be optional in both cases.
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
What happened?
A bug happened!
What policy engine(s) are you using?
Input PSP
Gatekeeper output
Kubewarden output
Kyverno output
Cannot read properties of undefined (reading '0')
GIT
54f53bc
The text was updated successfully, but these errors were encountered: