1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

move from k8s.gcr.io to registry.k8s.io (#6263)

Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
This commit is contained in:
Batuhan Apaydın 2023-02-08 19:09:15 +03:00 committed by GitHub
parent 7367397178
commit 41b24fb769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 22 additions and 22 deletions

View file

@ -155,7 +155,7 @@ func TestValidateMap_AsteriskForInt(t *testing.T) {
"containers":[ "containers":[
{ {
"name":"nginxo", "name":"nginxo",
"image":"k8s.gcr.io/nginx-but-no-slim:0.8", "image":"registry.k8s.io/nginx-but-no-slim:0.8",
"ports":[ "ports":[
{ {
"containerPort":8780, "containerPort":8780,

View file

@ -18,7 +18,7 @@ spec:
runAsGroup: 65000 runAsGroup: 65000
containers: containers:
- name: pause - name: pause
image: k8s.gcr.io/pause:3.3 image: registry.k8s.io/pause:3.3
resources: resources:
limits: limits:
cpu: 10m cpu: 10m

View file

@ -18,7 +18,7 @@ spec:
runAsGroup: 65000 runAsGroup: 65000
containers: containers:
- name: pause - name: pause
image: k8s.gcr.io/pause:3.3 image: registry.k8s.io/pause:3.3
resources: resources:
limits: limits:
cpu: 10m cpu: 10m

View file

@ -4,12 +4,12 @@ metadata:
name: test-pod name: test-pod
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test1 name: test1
volumeMounts: volumeMounts:
- mountPath: /tmp/cache - mountPath: /tmp/cache
name: cache-volume name: cache-volume
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test2 name: test2
volumeMounts: volumeMounts:
- mountPath: /tmp/cache - mountPath: /tmp/cache
@ -52,12 +52,12 @@ metadata:
name: test-pod2 name: test-pod2
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test1 name: test1
volumeMounts: volumeMounts:
- mountPath: /tmp/cache - mountPath: /tmp/cache
name: cache-volume name: cache-volume
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test2 name: test2
volumeMounts: volumeMounts:
- mountPath: /gce - mountPath: /gce
@ -74,7 +74,7 @@ metadata:
name: test-pod-bad-mount name: test-pod-bad-mount
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io8s.io/test-webserver
name: test1 name: test1
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache
@ -89,7 +89,7 @@ metadata:
name: test-pod-with-resources name: test-pod-with-resources
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test1 name: test1
resources: resources:
requests: requests:
@ -109,7 +109,7 @@ metadata:
name: test-pod-with-gke-vol name: test-pod-with-gke-vol
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test2 name: test2
resources: resources:
requests: {} requests: {}
@ -127,7 +127,7 @@ metadata:
name: test-pod-with-resources-multiple-ctnrs name: test-pod-with-resources-multiple-ctnrs
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test1 name: test1
resources: resources:
requests: requests:
@ -137,7 +137,7 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /tmp/cache - mountPath: /tmp/cache
name: cache-volume name: cache-volume
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test2 name: test2
resources: resources:
requests: {} requests: {}

View file

@ -10,7 +10,7 @@ metadata:
spec: spec:
containers: containers:
- name: test-probes - name: test-probes
image: k8s.gcr.io/liveness image: registry.k8s.io/liveness
args: args:
- /server - /server
--- ---
@ -23,7 +23,7 @@ spec:
spec: spec:
containers: containers:
- name: test-probes - name: test-probes
image: k8s.gcr.io/liveness image: registry.k8s.io/liveness
args: args:
- /server - /server
--- ---

View file

@ -5,7 +5,7 @@ metadata:
creationTimestamp: "2020-09-21T12:56:35Z" creationTimestamp: "2020-09-21T12:56:35Z"
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test-container name: test-container
volumeMounts: volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount - mountPath: /var/run/secrets/kubernetes.io/serviceaccount

View file

@ -6,7 +6,7 @@ metadata:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true" cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test-container name: test-container
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache

View file

@ -6,7 +6,7 @@ metadata:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true" cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test-container name: test-container
volumeMounts: volumeMounts:
- mountPath: /tmp/foo - mountPath: /tmp/foo

View file

@ -5,7 +5,7 @@ metadata:
creationTimestamp: "2020-09-21T12:56:35Z" creationTimestamp: "2020-09-21T12:56:35Z"
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test-container name: test-container
volumeMounts: volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount - mountPath: /var/run/secrets/kubernetes.io/serviceaccount

View file

@ -4,7 +4,7 @@ metadata:
name: pod-with-emptydir name: pod-with-emptydir
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test-container name: test-container
volumeMounts: volumeMounts:
- mountPath: /cache - mountPath: /cache

View file

@ -5,7 +5,7 @@ metadata:
annotations: annotations:
spec: spec:
containers: containers:
- image: k8s.gcr.io/test-webserver - image: registry.k8s.io/test-webserver
name: test-container name: test-container
volumeMounts: volumeMounts:
- mountPath: /tmp/foo - mountPath: /tmp/foo

View file

@ -7,7 +7,7 @@ metadata:
spec: spec:
containers: containers:
- name: check-readiness - name: check-readiness
image: k8s.gcr.io/busybox image: registry.k8s.io/busybox
args: args:
- /bin/sh - /bin/sh
- -c - -c
@ -19,7 +19,7 @@ spec:
- cat - cat
- /tmp/healthy - /tmp/healthy
- name: check-liveness - name: check-liveness
image: k8s.gcr.io/liveness image: registry.k8s.io/liveness
args: args:
- /server - /server
livenessProbe: livenessProbe: