mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-25 17:27:30 +00:00
**What this PR does / why we need it**: Makes functions in validation/schema.go private to kubectl, further isolating kubectl. **Which issue this PR fixes** Part of a series of PRs to address kubernetes/community#598 **Release note**: ```release-note NONE ```
36 lines
659 B
JSON
36 lines
659 B
JSON
{
|
|
"kind": "Pod",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "apache-php",
|
|
"labels": {
|
|
"name": "apache-php"
|
|
}
|
|
},
|
|
"spec": {
|
|
"volumes": [{
|
|
"name": "shared-disk"
|
|
}],
|
|
"containers": [
|
|
{
|
|
"name": "apache-php",
|
|
"image": "gcr.io/fake_project/fake_image:fake_tag",
|
|
"ports": [
|
|
{
|
|
"name": "apache",
|
|
"hostPort": "13380",
|
|
"containerPort": 80,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"volumeMounts": [
|
|
{
|
|
"name": "shared-disk",
|
|
"mountPath": "/var/www/html"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|