github.com/replicatedcom/ship@v0.50.0/integration/init/istio/expected/base/charts/security/templates/Job-istio-security-post-install.yaml (about)

     1  
     2  apiVersion: batch/v1
     3  kind: Job
     4  metadata:
     5    name: istio-security-post-install
     6    namespace: default
     7    annotations:
     8      "helm.sh/hook": post-install
     9      "helm.sh/hook-delete-policy": hook-succeeded
    10    labels:
    11      app: security
    12      chart: security
    13      heritage: Tiller
    14      release: istio
    15  spec:
    16    template:
    17      metadata:
    18        name: istio-security-post-install
    19        labels:
    20          app: security
    21          chart: security
    22          heritage: Tiller
    23          release: istio
    24          version: 1.1.0
    25      spec:
    26        serviceAccountName: istio-security-post-install-account
    27        containers:
    28          - name: kubectl
    29            image: "gcr.io/istio-release/kubectl:master-latest-daily"
    30            imagePullPolicy: IfNotPresent
    31            command: [ "/bin/bash", "/tmp/security/run.sh", "/tmp/security/custom-resources.yaml" ]
    32            volumeMounts:
    33              - mountPath: "/tmp/security"
    34                name: tmp-configmap-security
    35        volumes:
    36          - name: tmp-configmap-security
    37            configMap:
    38              name: istio-security-custom-resources
    39        restartPolicy: OnFailure