diff --git a/src/__tests__/__snapshots__/index.spec.ts.snap b/src/__tests__/__snapshots__/index.spec.ts.snap index 65dd6d1f..77272a6d 100644 --- a/src/__tests__/__snapshots__/index.spec.ts.snap +++ b/src/__tests__/__snapshots__/index.spec.ts.snap @@ -2812,7 +2812,7 @@ exports[`transform_kubewarden runAsGroup 1`] = ` "name": "psp-usergroup", }, "spec": { - "module": "registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.2", + "module": "registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.3", "mutating": false, "rules": [ { @@ -2925,7 +2925,7 @@ exports[`transform_kubewarden runAsUser 1`] = ` "name": "psp-usergroup", }, "spec": { - "module": "registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.2", + "module": "registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.3", "mutating": false, "rules": [ { @@ -3245,7 +3245,7 @@ exports[`transform_kubewarden supplementalGroups 1`] = ` "name": "psp-usergroup", }, "spec": { - "module": "registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.2", + "module": "registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.3", "mutating": false, "rules": [ { diff --git a/src/kubewarden.ts b/src/kubewarden.ts index 45f30b49..daf4e3e9 100644 --- a/src/kubewarden.ts +++ b/src/kubewarden.ts @@ -122,7 +122,7 @@ export function transform_kubewarden(PSP: k8s.V1beta1PodSecurityPolicy): object[ ) policies.push(mod.kubewarden_policy_helper( 'usergroup', - 'registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.2', + 'registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.3', { run_as_user: PSP.spec?.runAsUser, run_as_group: PSP.spec?.runAsGroup, diff --git a/tests/runAsGroup/kubewarden.yaml b/tests/runAsGroup/kubewarden.yaml index 24cbd2d0..99e6bd93 100644 --- a/tests/runAsGroup/kubewarden.yaml +++ b/tests/runAsGroup/kubewarden.yaml @@ -4,7 +4,7 @@ metadata: name: runasgroup spec: policyServer: default - module: registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.2 + module: registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.3 rules: - apiGroups: [""] apiVersions: ["v1"] diff --git a/tests/runAsUser/kubewarden.yaml b/tests/runAsUser/kubewarden.yaml index 4015caf4..177fee7e 100644 --- a/tests/runAsUser/kubewarden.yaml +++ b/tests/runAsUser/kubewarden.yaml @@ -4,7 +4,7 @@ metadata: name: runasuser spec: policyServer: default - module: registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.2 + module: registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.3 rules: - apiGroups: [""] apiVersions: ["v1"] diff --git a/tests/supplementalGroups/kubewarden.yaml b/tests/supplementalGroups/kubewarden.yaml index 33ee8c14..82116dc1 100644 --- a/tests/supplementalGroups/kubewarden.yaml +++ b/tests/supplementalGroups/kubewarden.yaml @@ -4,7 +4,7 @@ metadata: name: supplementalgroups spec: policyServer: default - module: registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.2 + module: registry://ghcr.io/kubewarden/policies/user-group-psp:v0.6.3 rules: - apiGroups: [""] apiVersions: ["v1"]