mirror of
https://github.com/yannh/kubeconform.git
synced 2026-05-02 16:24:29 +00:00
Update acceptance tests
This commit is contained in:
parent
781246882e
commit
e46a359dc8
2 changed files with 35 additions and 47 deletions
|
|
@ -1,46 +1,34 @@
|
|||
{
|
||||
"apiVersion": "apps/v1beta1",
|
||||
"kind": "Deployment",
|
||||
"metadata": {
|
||||
"name": "nginx-deployment",
|
||||
"namespace": "default"
|
||||
},
|
||||
"spec": {
|
||||
"replicas": 2,
|
||||
"template": {
|
||||
"spec": {
|
||||
"affinity": { },
|
||||
"containers": [
|
||||
{
|
||||
"args": [ ],
|
||||
"command": [ ],
|
||||
"env": [ ],
|
||||
"envFrom": [ ],
|
||||
"image": "nginx:1.7.9",
|
||||
"lifecycle": { },
|
||||
"livenessProbe": { },
|
||||
"name": "nginx",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 80,
|
||||
"name": "http"
|
||||
}
|
||||
],
|
||||
"readinessProbe": { },
|
||||
"resources": { },
|
||||
"securityContext": { },
|
||||
"volumeMounts": [ ]
|
||||
}
|
||||
],
|
||||
"hostMappings": [ ],
|
||||
"imagePullSecrets": [ ],
|
||||
"initContainers": [ ],
|
||||
"nodeSelector": { },
|
||||
"securityContext": { },
|
||||
"tolerations": [ ],
|
||||
"volumes": [ ]
|
||||
}
|
||||
"apiVersion": "v1",
|
||||
"kind": "ReplicationController",
|
||||
"metadata": {
|
||||
"name": "bob"
|
||||
},
|
||||
"spec": {
|
||||
"replicas": 2,
|
||||
"selector": {
|
||||
"app": "nginx"
|
||||
},
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "nginx",
|
||||
"labels": {
|
||||
"app": "nginx"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"containers": [
|
||||
{
|
||||
"name": "nginx",
|
||||
"image": "nginx",
|
||||
"ports": [
|
||||
{
|
||||
"containerPort": 80
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"status": { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue