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:
parent
f9ddc7bb9c
commit
b76a73e7b6
2 changed files with 6 additions and 6 deletions
|
@ -5993,7 +5993,7 @@ const SwaggerDoc = `
|
||||||
"description": "Describe a container image",
|
"description": "Describe a container image",
|
||||||
"properties": {
|
"properties": {
|
||||||
"names": {
|
"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": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|
|
@ -249,7 +249,7 @@ func TestValidateMap_AsteriskForMap(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,
|
||||||
|
@ -337,7 +337,7 @@ func TestValidateMap_AsteriskForArray(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,
|
||||||
|
@ -430,7 +430,7 @@ func TestValidateMap_AsteriskFieldIsMissing(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,
|
||||||
|
@ -521,7 +521,7 @@ func TestValidateMap_livenessProbeIsNull(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,
|
||||||
|
@ -613,7 +613,7 @@ func TestValidateMap_livenessProbeIsMissing(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,
|
||||||
|
|
Loading…
Reference in a new issue