github.com/replicatedcom/ship@v0.50.0/integration/unfork/istio-k8s/expected/base/charts/sidecarInjectorWebhook/templates/deployment.yaml (about) 1 --- 2 # Source: istio/charts/sidecarInjectorWebhook/templates/deployment.yaml 3 apiVersion: extensions/v1beta1 4 kind: Deployment 5 metadata: 6 name: istio-sidecar-injector 7 namespace: default 8 labels: 9 app: sidecarInjectorWebhook 10 chart: sidecarInjectorWebhook-1.0.3 11 release: istio 12 heritage: Tiller 13 istio: sidecar-injector 14 spec: 15 replicas: 1 16 template: 17 metadata: 18 labels: 19 istio: sidecar-injector 20 annotations: 21 sidecar.istio.io/inject: "false" 22 scheduler.alpha.kubernetes.io/critical-pod: "" 23 spec: 24 serviceAccountName: istio-sidecar-injector-service-account 25 containers: 26 - name: sidecar-injector-webhook 27 image: "gcr.io/istio-release/sidecar_injector:release-1.0-latest-daily" 28 imagePullPolicy: IfNotPresent 29 args: 30 - --caCertFile=/etc/istio/certs/root-cert.pem 31 - --tlsCertFile=/etc/istio/certs/cert-chain.pem 32 - --tlsKeyFile=/etc/istio/certs/key.pem 33 - --injectConfig=/etc/istio/inject/config 34 - --meshConfig=/etc/istio/config/mesh 35 - --healthCheckInterval=2s 36 - --healthCheckFile=/health 37 volumeMounts: 38 - name: config-volume 39 mountPath: /etc/istio/config 40 readOnly: true 41 - name: certs 42 mountPath: /etc/istio/certs 43 readOnly: true 44 - name: inject-config 45 mountPath: /etc/istio/inject 46 readOnly: true 47 livenessProbe: 48 exec: 49 command: 50 - /usr/local/bin/sidecar-injector 51 - probe 52 - --probe-path=/health 53 - --interval=4s 54 initialDelaySeconds: 4 55 periodSeconds: 4 56 readinessProbe: 57 exec: 58 command: 59 - /usr/local/bin/sidecar-injector 60 - probe 61 - --probe-path=/health 62 - --interval=4s 63 initialDelaySeconds: 4 64 periodSeconds: 4 65 resources: 66 requests: 67 cpu: 10m 68 69 volumes: 70 - name: config-volume 71 configMap: 72 name: istio 73 - name: certs 74 secret: 75 secretName: istio.istio-sidecar-injector-service-account 76 - name: inject-config 77 configMap: 78 name: istio-sidecar-injector 79 items: 80 - key: config 81 path: config 82 affinity: 83 nodeAffinity: 84 requiredDuringSchedulingIgnoredDuringExecution: 85 nodeSelectorTerms: 86 - matchExpressions: 87 - key: beta.kubernetes.io/arch 88 operator: In 89 values: 90 - amd64 91 - ppc64le 92 - s390x 93 preferredDuringSchedulingIgnoredDuringExecution: 94 - weight: 2 95 preference: 96 matchExpressions: 97 - key: beta.kubernetes.io/arch 98 operator: In 99 values: 100 - amd64 101 - weight: 2 102 preference: 103 matchExpressions: 104 - key: beta.kubernetes.io/arch 105 operator: In 106 values: 107 - ppc64le 108 - weight: 2 109 preference: 110 matchExpressions: 111 - key: beta.kubernetes.io/arch 112 operator: In 113 values: 114 - s390x