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

update k8s.gcr.io to registry.k8s.io (#6340)

Signed-off-by: Rayan Das <rayandas91@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
This commit is contained in:
Rayan Das 2023-02-20 19:10:12 +05:30 committed by GitHub
parent f9ddc7bb9c
commit b76a73e7b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -5993,7 +5993,7 @@ const SwaggerDoc = `
"description": "Describe a container image",
"properties": {
"names": {
"description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
"description": "Names by which this image is known. e.g. [\"registry.k8s.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
"items": {
"type": "string"
},

View file

@ -249,7 +249,7 @@ func TestValidateMap_AsteriskForMap(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,
@ -337,7 +337,7 @@ func TestValidateMap_AsteriskForArray(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,
@ -430,7 +430,7 @@ func TestValidateMap_AsteriskFieldIsMissing(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,
@ -521,7 +521,7 @@ func TestValidateMap_livenessProbeIsNull(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,
@ -613,7 +613,7 @@ func TestValidateMap_livenessProbeIsMissing(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,