Use fake images for pkg/api/validation unit tests
This commit is contained in:
@@ -7,5 +7,5 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
- args: "this is a bad command"
|
||||
image: redis
|
||||
image: gcr.io/fake_project/fake_image:fake_tag
|
||||
name: master
|
||||
|
@@ -11,7 +11,7 @@
|
||||
"containers": [
|
||||
{
|
||||
"name": "master",
|
||||
"image": "redis",
|
||||
"image": "gcr.io/fake_project/fake_image:fake_tag",
|
||||
"args": "this is a bad command"
|
||||
}
|
||||
]
|
||||
|
@@ -14,7 +14,7 @@
|
||||
"containers": [
|
||||
{
|
||||
"name": "apache-php",
|
||||
"image": "php:5.6.2-apache",
|
||||
"image": "gcr.io/fake_project/fake_image:fake_tag",
|
||||
"ports": [
|
||||
{
|
||||
"name": "apache",
|
||||
|
@@ -14,7 +14,7 @@
|
||||
"containers": [
|
||||
{
|
||||
"name": "apache-php",
|
||||
"image": "php:5.6.2-apache",
|
||||
"image": "gcr.io/fake_project/fake_image:fake_tag",
|
||||
"ports": [
|
||||
{
|
||||
"name": "apache",
|
||||
|
2
pkg/api/validation/testdata/v1/validPod.yaml
vendored
2
pkg/api/validation/testdata/v1/validPod.yaml
vendored
@@ -12,5 +12,5 @@ spec:
|
||||
- an
|
||||
- ok
|
||||
- command
|
||||
image: redis
|
||||
image: gcr.io/fake_project/fake_image:fake_tag
|
||||
name: master
|
||||
|
Reference in New Issue
Block a user