Skip to content

Commit f2d8ab2

Browse files
authored
Adds sample-public-image- prefix to jupyterhub-authentication-class/jupyter-auth-class image tag (#1018)
* Adds sample-public-image- prefix to jupyterhub-authentication-class/jupyter-auth-class image tag * Update to add the most recent build timestamp
1 parent d645ad5 commit f2d8ab2

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

modules/jupyter/jupyter_config/config-selfauth-autopilot.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hub:
2525
image:
2626
name: us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class
2727
# This is the timestamp of the image, we should avoid using 'latest'
28-
tag: '1710974014'
28+
tag: 'sample-public-image-1741648202'
2929
labels:
3030
${indent(4, chomp(jsonencode(additional_labels)))}
3131
config:

modules/jupyter/jupyter_config/config-selfauth.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hub:
2525
image:
2626
name: us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class
2727
# This is the timestamp of the image, we should avoid using 'latest'
28-
tag: '1710974014'
28+
tag: 'sample-public-image-1741648202'
2929
labels:
3030
${indent(4, chomp(jsonencode(additional_labels)))}
3131
config:

security_test/allowlist/category/cluster/hub/distroless.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"details": {
44
"@type": "type.googleapis.com/google.internal.kubernetes.security.validation.v1.ContainerDetails",
55
"containerName": "hub",
6-
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014"
6+
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202"
77
},
8-
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014\" built from non-distroless base image \"Debian GNU/Linux 11 (bullseye)\". See: go/gke-distroless for more details",
8+
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202\" built from non-distroless base image \"Debian GNU/Linux 11 (bullseye)\". See: go/gke-distroless for more details",
99
"policyName": "distroless",
1010
"resourceKey": {
1111
"group": "apps",
@@ -15,4 +15,4 @@
1515
"version": "v1"
1616
}
1717
}
18-
]
18+
]

security_test/allowlist/category/cluster/hub/imagedigest.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"details": {
44
"@type": "type.googleapis.com/google.internal.kubernetes.security.validation.v1.ContainerDetails",
55
"containerName": "hub",
6-
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014"
6+
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202"
77
},
8-
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014\" with no digest; valid image format: image[:tag]@sha256:\u003cdigest\u003e",
8+
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202\" with no digest; valid image format: image[:tag]@sha256:\u003cdigest\u003e",
99
"policyName": "imagedigest",
1010
"resourceKey": {
1111
"group": "apps",
@@ -15,4 +15,4 @@
1515
"version": "v1"
1616
}
1717
}
18-
]
18+
]

security_test/allowlist/category/cluster/hub/imagefreshness.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"details": {
44
"@type": "type.googleapis.com/google.internal.kubernetes.security.validation.v1.ContainerDetails",
55
"containerName": "hub",
6-
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014"
6+
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202"
77
},
8-
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014\" that does not have a valid digest.",
8+
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202\" that does not have a valid digest.",
99
"policyName": "imagefreshness",
1010
"resourceKey": {
1111
"group": "apps",
@@ -15,4 +15,4 @@
1515
"version": "v1"
1616
}
1717
}
18-
]
18+
]

security_test/allowlist/category/cluster/hub/imagepath.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"details": {
44
"@type": "type.googleapis.com/google.internal.kubernetes.security.validation.v1.ContainerDetails",
55
"containerName": "hub",
6-
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014"
6+
"image": "us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202"
77
},
8-
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:1710974014\" with an invalid path. See go/gke-shipshape#imagepath for valid image paths.",
8+
"message": "container \"hub\" in Deployment \"hub\" has an image \"us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class:sample-public-image-1741648202\" with an invalid path. See go/gke-shipshape#imagepath for valid image paths.",
99
"policyName": "imagepath",
1010
"resourceKey": {
1111
"group": "apps",
@@ -15,4 +15,4 @@
1515
"version": "v1"
1616
}
1717
}
18-
]
18+
]

0 commit comments

Comments
 (0)