...

Text file src/github.com/instrumenta/kubeval/fixtures/null_array.yaml

Documentation: github.com/instrumenta/kubeval/fixtures

     1kind: Deployment
     2apiVersion: extensions/v1beta1
     3metadata:
     4  labels:
     5    k8s-app: kubernetes-dashboard
     6  name: kubernetes-dashboard
     7  namespace: kube-system
     8spec:
     9  replicas: 1
    10  revisionHistoryLimit: 10
    11  selector:
    12    matchLabels:
    13      k8s-app: kubernetes-dashboard
    14  template:
    15    metadata:
    16      labels:
    17        k8s-app: kubernetes-dashboard
    18    spec:
    19      containers:
    20      - name: kubernetes-dashboard
    21        image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.1
    22        ports:
    23        - containerPort: 9090
    24          protocol: TCP
    25        args:
    26          # Uncomment the following line to manually specify Kubernetes API server Host
    27          # If not specified, Dashboard will attempt to auto discover the API server and connect
    28          # to it. Uncomment only if the default does not work.
    29          # - --apiserver-host=http://my-address:port
    30        livenessProbe:
    31          httpGet:
    32            path: /
    33            port: 9090
    34          initialDelaySeconds: 30
    35          timeoutSeconds: 30
    36      serviceAccountName: kubernetes-dashboard
    37      # Comment the following tolerations if Dashboard must not be deployed on master
    38      tolerations:
    39      - key: node-role.kubernetes.io/master
    40        effect: NoSchedule

View as plain text