mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Use fake images for pkg/api/validation unit tests
This commit is contained in:
parent
bbe5299371
commit
eb0352cf2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user