Skip to content

Commit e8518ff

Browse files
Update ghcr.io/kubewarden/policies/host-namespaces-psp Docker tag to v0.1.7
1 parent 1668b44 commit e8518ff

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

src/__tests__/__snapshots__/index.spec.ts.snap

+24-24
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ exports[`transform_kubewarden allowPrivilegeEscalation 1`] = `
11111111
"name": "psp-hostnamespaces",
11121112
},
11131113
"spec": {
1114-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1114+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
11151115
"mutating": false,
11161116
"rules": [
11171117
{
@@ -1210,7 +1210,7 @@ exports[`transform_kubewarden allowedCapabilities 1`] = `
12101210
"name": "psp-hostnamespaces",
12111211
},
12121212
"spec": {
1213-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1213+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
12141214
"mutating": false,
12151215
"rules": [
12161216
{
@@ -1313,7 +1313,7 @@ exports[`transform_kubewarden allowedFlexVolumes 1`] = `
13131313
"name": "psp-hostnamespaces",
13141314
},
13151315
"spec": {
1316-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1316+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
13171317
"mutating": false,
13181318
"rules": [
13191319
{
@@ -1416,7 +1416,7 @@ exports[`transform_kubewarden allowedHostPaths 1`] = `
14161416
"name": "psp-hostnamespaces",
14171417
},
14181418
"spec": {
1419-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1419+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
14201420
"mutating": false,
14211421
"rules": [
14221422
{
@@ -1520,7 +1520,7 @@ exports[`transform_kubewarden allowedProcMountTypes 1`] = `
15201520
"name": "psp-hostnamespaces",
15211521
},
15221522
"spec": {
1523-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1523+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
15241524
"mutating": false,
15251525
"rules": [
15261526
{
@@ -1619,7 +1619,7 @@ exports[`transform_kubewarden allowedUnsafeSysctls 1`] = `
16191619
"name": "psp-hostnamespaces",
16201620
},
16211621
"spec": {
1622-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1622+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
16231623
"mutating": false,
16241624
"rules": [
16251625
{
@@ -1721,7 +1721,7 @@ exports[`transform_kubewarden apparmor 1`] = `
17211721
"name": "psp-hostnamespaces",
17221722
},
17231723
"spec": {
1724-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1724+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
17251725
"mutating": false,
17261726
"rules": [
17271727
{
@@ -1822,7 +1822,7 @@ exports[`transform_kubewarden defaultAddCapabilities 1`] = `
18221822
"name": "psp-hostnamespaces",
18231823
},
18241824
"spec": {
1825-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1825+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
18261826
"mutating": false,
18271827
"rules": [
18281828
{
@@ -1927,7 +1927,7 @@ exports[`transform_kubewarden defaultAllowPrivilegeEscalation 1`] = `
19271927
"name": "psp-hostnamespaces",
19281928
},
19291929
"spec": {
1930-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
1930+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
19311931
"mutating": false,
19321932
"rules": [
19331933
{
@@ -2026,7 +2026,7 @@ exports[`transform_kubewarden forbiddenSysctls 1`] = `
20262026
"name": "psp-hostnamespaces",
20272027
},
20282028
"spec": {
2029-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2029+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
20302030
"mutating": false,
20312031
"rules": [
20322032
{
@@ -2128,7 +2128,7 @@ exports[`transform_kubewarden fsgroup 1`] = `
21282128
"name": "psp-hostnamespaces",
21292129
},
21302130
"spec": {
2131-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2131+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
21322132
"mutating": false,
21332133
"rules": [
21342134
{
@@ -2233,7 +2233,7 @@ exports[`transform_kubewarden hostIPC 1`] = `
22332233
"name": "psp-hostnamespaces",
22342234
},
22352235
"spec": {
2236-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2236+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
22372237
"mutating": false,
22382238
"rules": [
22392239
{
@@ -2301,7 +2301,7 @@ exports[`transform_kubewarden hostNetwork 1`] = `
23012301
"name": "psp-hostnamespaces",
23022302
},
23032303
"spec": {
2304-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2304+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
23052305
"mutating": false,
23062306
"rules": [
23072307
{
@@ -2369,7 +2369,7 @@ exports[`transform_kubewarden hostPID 1`] = `
23692369
"name": "psp-hostnamespaces",
23702370
},
23712371
"spec": {
2372-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2372+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
23732373
"mutating": false,
23742374
"rules": [
23752375
{
@@ -2437,7 +2437,7 @@ exports[`transform_kubewarden hostPorts 1`] = `
24372437
"name": "psp-hostnamespaces",
24382438
},
24392439
"spec": {
2440-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2440+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
24412441
"mutating": false,
24422442
"rules": [
24432443
{
@@ -2510,7 +2510,7 @@ exports[`transform_kubewarden privileged 1`] = `
25102510
"name": "psp-hostnamespaces",
25112511
},
25122512
"spec": {
2513-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2513+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
25142514
"mutating": false,
25152515
"rules": [
25162516
{
@@ -2607,7 +2607,7 @@ exports[`transform_kubewarden readOnlyRootFilesystem 1`] = `
26072607
"name": "psp-hostnamespaces",
26082608
},
26092609
"spec": {
2610-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2610+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
26112611
"mutating": false,
26122612
"rules": [
26132613
{
@@ -2675,7 +2675,7 @@ exports[`transform_kubewarden requiredDropCapabilities 1`] = `
26752675
"name": "psp-hostnamespaces",
26762676
},
26772677
"spec": {
2678-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2678+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
26792679
"mutating": false,
26802680
"rules": [
26812681
{
@@ -2778,7 +2778,7 @@ exports[`transform_kubewarden runAsGroup 1`] = `
27782778
"name": "psp-hostnamespaces",
27792779
},
27802780
"spec": {
2781-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2781+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
27822782
"mutating": false,
27832783
"rules": [
27842784
{
@@ -2891,7 +2891,7 @@ exports[`transform_kubewarden runAsUser 1`] = `
28912891
"name": "psp-hostnamespaces",
28922892
},
28932893
"spec": {
2894-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
2894+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
28952895
"mutating": false,
28962896
"rules": [
28972897
{
@@ -3002,7 +3002,7 @@ exports[`transform_kubewarden seLinux 1`] = `
30023002
"name": "psp-hostnamespaces",
30033003
},
30043004
"spec": {
3005-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
3005+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
30063006
"mutating": false,
30073007
"rules": [
30083008
{
@@ -3105,7 +3105,7 @@ exports[`transform_kubewarden seccomp 1`] = `
31053105
"name": "psp-hostnamespaces",
31063106
},
31073107
"spec": {
3108-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
3108+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
31093109
"mutating": false,
31103110
"rules": [
31113111
{
@@ -3211,7 +3211,7 @@ exports[`transform_kubewarden supplementalGroups 1`] = `
32113211
"name": "psp-hostnamespaces",
32123212
},
32133213
"spec": {
3214-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
3214+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
32153215
"mutating": false,
32163216
"rules": [
32173217
{
@@ -3322,7 +3322,7 @@ exports[`transform_kubewarden volumes 1`] = `
33223322
"name": "psp-hostnamespaces",
33233323
},
33243324
"spec": {
3325-
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6",
3325+
"module": "registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7",
33263326
"mutating": false,
33273327
"rules": [
33283328
{

src/kubewarden.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function transform_kubewarden(PSP: k8s.V1beta1PodSecurityPolicy): object[
1919

2020
policies.push(mod.kubewarden_policy_helper(
2121
'hostnamespaces',
22-
'registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6',
22+
'registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7',
2323
{
2424
allow_host_ipc: PSP.spec?.hostIPC ? PSP.spec.hostIPC : false,
2525
allow_host_pid: PSP.spec?.hostPID ? PSP.spec.hostPID : false,

tests/hostIPC/kubewarden.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: ClusterAdmissionPolicy
33
metadata:
44
name: hostipc
55
spec:
6-
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6
6+
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7
77
rules:
88
- apiGroups: [""]
99
apiVersions: ["v1"]

tests/hostNetwork/kubewarden.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: ClusterAdmissionPolicy
33
metadata:
44
name: hostnetwork
55
spec:
6-
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6
6+
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7
77
rules:
88
- apiGroups: [""]
99
apiVersions: ["v1"]

tests/hostPID/kubewarden.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: ClusterAdmissionPolicy
33
metadata:
44
name: hostpid
55
spec:
6-
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6
6+
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7
77
rules:
88
- apiGroups: [""]
99
apiVersions: ["v1"]

tests/hostPorts/kubewarden.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: ClusterAdmissionPolicy
33
metadata:
44
name: hostports
55
spec:
6-
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.6
6+
module: registry://ghcr.io/kubewarden/policies/host-namespaces-psp:v0.1.7
77
rules:
88
- apiGroups: [""]
99
apiVersions: ["v1"]

0 commit comments

Comments
 (0)