mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +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:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- args: "this is a bad command"
|
- args: "this is a bad command"
|
||||||
image: redis
|
image: gcr.io/fake_project/fake_image:fake_tag
|
||||||
name: master
|
name: master
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
"name": "master",
|
"name": "master",
|
||||||
"image": "redis",
|
"image": "gcr.io/fake_project/fake_image:fake_tag",
|
||||||
"args": "this is a bad command"
|
"args": "this is a bad command"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
"name": "apache-php",
|
"name": "apache-php",
|
||||||
"image": "php:5.6.2-apache",
|
"image": "gcr.io/fake_project/fake_image:fake_tag",
|
||||||
"ports": [
|
"ports": [
|
||||||
{
|
{
|
||||||
"name": "apache",
|
"name": "apache",
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
"name": "apache-php",
|
"name": "apache-php",
|
||||||
"image": "php:5.6.2-apache",
|
"image": "gcr.io/fake_project/fake_image:fake_tag",
|
||||||
"ports": [
|
"ports": [
|
||||||
{
|
{
|
||||||
"name": "apache",
|
"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
|
- an
|
||||||
- ok
|
- ok
|
||||||
- command
|
- command
|
||||||
image: redis
|
image: gcr.io/fake_project/fake_image:fake_tag
|
||||||
name: master
|
name: master
|
||||||
|
Loading…
Reference in New Issue
Block a user