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:
parent
7367397178
commit
41b24fb769
12 changed files with 22 additions and 22 deletions
|
@ -155,7 +155,7 @@ func TestValidateMap_AsteriskForInt(t *testing.T) {
|
|||
"containers":[
|
||||
{
|
||||
"name":"nginxo",
|
||||
"image":"k8s.gcr.io/nginx-but-no-slim:0.8",
|
||||
"image":"registry.k8s.io/nginx-but-no-slim:0.8",
|
||||
"ports":[
|
||||
{
|
||||
"containerPort":8780,
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
runAsGroup: 65000
|
||||
containers:
|
||||
- name: pause
|
||||
image: k8s.gcr.io/pause:3.3
|
||||
image: registry.k8s.io/pause:3.3
|
||||
resources:
|
||||
limits:
|
||||
cpu: 10m
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
runAsGroup: 65000
|
||||
containers:
|
||||
- name: pause
|
||||
image: k8s.gcr.io/pause:3.3
|
||||
image: registry.k8s.io/pause:3.3
|
||||
resources:
|
||||
limits:
|
||||
cpu: 10m
|
||||
|
|
|
@ -4,12 +4,12 @@ metadata:
|
|||
name: test-pod
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test1
|
||||
volumeMounts:
|
||||
- mountPath: /tmp/cache
|
||||
name: cache-volume
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test2
|
||||
volumeMounts:
|
||||
- mountPath: /tmp/cache
|
||||
|
@ -52,12 +52,12 @@ metadata:
|
|||
name: test-pod2
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test1
|
||||
volumeMounts:
|
||||
- mountPath: /tmp/cache
|
||||
name: cache-volume
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test2
|
||||
volumeMounts:
|
||||
- mountPath: /gce
|
||||
|
@ -74,7 +74,7 @@ metadata:
|
|||
name: test-pod-bad-mount
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io8s.io/test-webserver
|
||||
name: test1
|
||||
volumeMounts:
|
||||
- mountPath: /cache
|
||||
|
@ -89,7 +89,7 @@ metadata:
|
|||
name: test-pod-with-resources
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test1
|
||||
resources:
|
||||
requests:
|
||||
|
@ -109,7 +109,7 @@ metadata:
|
|||
name: test-pod-with-gke-vol
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test2
|
||||
resources:
|
||||
requests: {}
|
||||
|
@ -127,7 +127,7 @@ metadata:
|
|||
name: test-pod-with-resources-multiple-ctnrs
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test1
|
||||
resources:
|
||||
requests:
|
||||
|
@ -137,7 +137,7 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /tmp/cache
|
||||
name: cache-volume
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test2
|
||||
resources:
|
||||
requests: {}
|
||||
|
|
|
@ -10,7 +10,7 @@ metadata:
|
|||
spec:
|
||||
containers:
|
||||
- name: test-probes
|
||||
image: k8s.gcr.io/liveness
|
||||
image: registry.k8s.io/liveness
|
||||
args:
|
||||
- /server
|
||||
---
|
||||
|
@ -23,7 +23,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: test-probes
|
||||
image: k8s.gcr.io/liveness
|
||||
image: registry.k8s.io/liveness
|
||||
args:
|
||||
- /server
|
||||
---
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
creationTimestamp: "2020-09-21T12:56:35Z"
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test-container
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
|||
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test-container
|
||||
volumeMounts:
|
||||
- mountPath: /cache
|
||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
|||
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test-container
|
||||
volumeMounts:
|
||||
- mountPath: /tmp/foo
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
creationTimestamp: "2020-09-21T12:56:35Z"
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test-container
|
||||
volumeMounts:
|
||||
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
||||
|
|
|
@ -4,7 +4,7 @@ metadata:
|
|||
name: pod-with-emptydir
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test-container
|
||||
volumeMounts:
|
||||
- mountPath: /cache
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
annotations:
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/test-webserver
|
||||
- image: registry.k8s.io/test-webserver
|
||||
name: test-container
|
||||
volumeMounts:
|
||||
- mountPath: /tmp/foo
|
||||
|
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
spec:
|
||||
containers:
|
||||
- name: check-readiness
|
||||
image: k8s.gcr.io/busybox
|
||||
image: registry.k8s.io/busybox
|
||||
args:
|
||||
- /bin/sh
|
||||
- -c
|
||||
|
@ -19,7 +19,7 @@ spec:
|
|||
- cat
|
||||
- /tmp/healthy
|
||||
- name: check-liveness
|
||||
image: k8s.gcr.io/liveness
|
||||
image: registry.k8s.io/liveness
|
||||
args:
|
||||
- /server
|
||||
livenessProbe:
|
||||
|
|
Loading…
Reference in a new issue