...

Text file src/github.com/instrumenta/kubeval/fixtures/valid.json

Documentation: github.com/instrumenta/kubeval/fixtures

     1{
     2   "apiVersion": "apps/v1beta1",
     3   "kind": "Deployment",
     4   "metadata": {
     5      "name": "nginx-deployment",
     6      "namespace": "default"
     7   },
     8   "spec": {
     9      "replicas": 2,
    10      "template": {
    11         "spec": {
    12            "affinity": { },
    13            "containers": [
    14               {
    15                  "args": [ ],
    16                  "command": [ ],
    17                  "env": [ ],
    18                  "envFrom": [ ],
    19                  "image": "nginx:1.7.9",
    20                  "lifecycle": { },
    21                  "livenessProbe": { },
    22                  "name": "nginx",
    23                  "ports": [
    24                     {
    25                        "containerPort": 80,
    26                        "name": "http"
    27                     }
    28                  ],
    29                  "readinessProbe": { },
    30                  "resources": { },
    31                  "securityContext": { },
    32                  "volumeMounts": [ ]
    33               }
    34            ],
    35            "hostMappings": [ ],
    36            "imagePullSecrets": [ ],
    37            "initContainers": [ ],
    38            "nodeSelector": { },
    39            "securityContext": { },
    40            "tolerations": [ ],
    41            "volumes": [ ]
    42         }
    43      }
    44   },
    45   "status": { }
    46}

View as plain text