Skip to content

Commit f864c95

Browse files
Update Sidecars to 1.13.3
1 parent 70bd62f commit f864c95

File tree

3 files changed

+471
-471
lines changed

3 files changed

+471
-471
lines changed

apps/backend/deployment.patch.yaml

Lines changed: 149 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -1,153 +1,153 @@
11
- op: add
22
path: /status
33
value: {}
4-
- op: add
5-
path: /spec/template/spec/volumes
6-
value:
7-
- emptyDir:
8-
medium: Memory
9-
name: istio-envoy
10-
- emptyDir: {}
11-
name: istio-data
12-
- downwardAPI:
13-
items:
14-
- fieldRef:
15-
fieldPath: metadata.labels
16-
path: labels
17-
- fieldRef:
18-
fieldPath: metadata.annotations
19-
path: annotations
20-
name: istio-podinfo
21-
- name: istio-token
22-
projected:
23-
sources:
24-
- serviceAccountToken:
25-
audience: istio-ca
26-
expirationSeconds: 43200
27-
path: istio-token
28-
- configMap:
29-
name: istio-ca-root-cert
30-
name: istiod-ca-cert
314
- op: add
325
path: /spec/template/spec/securityContext
336
value:
347
fsGroup: 1337
8+
- op: add
9+
path: /spec/template/spec/volumes
10+
value:
11+
- emptyDir:
12+
medium: Memory
13+
name: istio-envoy
14+
- emptyDir: {}
15+
name: istio-data
16+
- downwardAPI:
17+
items:
18+
- fieldRef:
19+
fieldPath: metadata.labels
20+
path: labels
21+
- fieldRef:
22+
fieldPath: metadata.annotations
23+
path: annotations
24+
name: istio-podinfo
25+
- name: istio-token
26+
projected:
27+
sources:
28+
- serviceAccountToken:
29+
audience: istio-ca
30+
expirationSeconds: 43200
31+
path: istio-token
32+
- configMap:
33+
name: istio-ca-root-cert
34+
name: istiod-ca-cert
3535
- op: add
3636
path: /spec/template/spec/initContainers
3737
value:
38-
- args:
39-
- istio-iptables
40-
- -p
41-
- "15001"
42-
- -z
43-
- "15006"
44-
- -u
45-
- "1337"
46-
- -m
47-
- REDIRECT
48-
- -i
49-
- '*'
50-
- -x
51-
- ""
52-
- -b
53-
- '*'
54-
- -d
55-
- 15090,15021,15020
56-
image: docker.io/istio/proxyv2:1.13.2
57-
name: istio-init
58-
resources:
59-
limits:
60-
cpu: "2"
61-
memory: 1Gi
62-
requests:
63-
cpu: 10m
64-
memory: 40Mi
65-
securityContext:
66-
allowPrivilegeEscalation: false
67-
capabilities:
68-
add:
69-
- NET_ADMIN
70-
- NET_RAW
71-
drop:
72-
- ALL
73-
privileged: false
74-
readOnlyRootFilesystem: false
75-
runAsGroup: 0
76-
runAsNonRoot: false
77-
runAsUser: 0
38+
- args:
39+
- istio-iptables
40+
- -p
41+
- "15001"
42+
- -z
43+
- "15006"
44+
- -u
45+
- "1337"
46+
- -m
47+
- REDIRECT
48+
- -i
49+
- '*'
50+
- -x
51+
- ""
52+
- -b
53+
- '*'
54+
- -d
55+
- 15090,15021,15020
56+
image: docker.io/istio/proxyv2:1.13.3
57+
name: istio-init
58+
resources:
59+
limits:
60+
cpu: "2"
61+
memory: 1Gi
62+
requests:
63+
cpu: 10m
64+
memory: 16Mi
65+
securityContext:
66+
allowPrivilegeEscalation: false
67+
capabilities:
68+
add:
69+
- NET_ADMIN
70+
- NET_RAW
71+
drop:
72+
- ALL
73+
privileged: false
74+
readOnlyRootFilesystem: false
75+
runAsGroup: 0
76+
runAsNonRoot: false
77+
runAsUser: 0
7878
- op: replace
7979
path: /spec/template/spec/containers/0/resources/limits/cpu
8080
value: "2"
8181
- op: add
8282
path: /spec/template/spec/containers/1
8383
value:
8484
args:
85-
- proxy
86-
- sidecar
87-
- --domain
88-
- $(POD_NAMESPACE).svc.cluster.local
89-
- --proxyLogLevel=warning
90-
- --proxyComponentLogLevel=misc:error
91-
- --log_output_level=default:info
92-
- --concurrency
93-
- "2"
85+
- proxy
86+
- sidecar
87+
- --domain
88+
- $(POD_NAMESPACE).svc.cluster.local
89+
- --proxyLogLevel=warning
90+
- --proxyComponentLogLevel=misc:error
91+
- --log_output_level=default:info
92+
- --concurrency
93+
- "2"
9494
env:
95-
- name: JWT_POLICY
96-
value: third-party-jwt
97-
- name: PILOT_CERT_PROVIDER
98-
value: istiod
99-
- name: CA_ADDR
100-
value: istiod.istio-system.svc:15012
101-
- name: POD_NAME
102-
valueFrom:
103-
fieldRef:
104-
fieldPath: metadata.name
105-
- name: POD_NAMESPACE
106-
valueFrom:
107-
fieldRef:
108-
fieldPath: metadata.namespace
109-
- name: INSTANCE_IP
110-
valueFrom:
111-
fieldRef:
112-
fieldPath: status.podIP
113-
- name: SERVICE_ACCOUNT
114-
valueFrom:
115-
fieldRef:
116-
fieldPath: spec.serviceAccountName
117-
- name: HOST_IP
118-
valueFrom:
119-
fieldRef:
120-
fieldPath: status.hostIP
121-
- name: PROXY_CONFIG
122-
value: |
123-
{}
124-
- name: ISTIO_META_POD_PORTS
125-
value: |-
126-
[
127-
{"name":"http","containerPort":9898,"protocol":"TCP"}
128-
]
129-
- name: ISTIO_META_APP_CONTAINERS
130-
value: backend
131-
- name: ISTIO_META_CLUSTER_ID
132-
value: Kubernetes
133-
- name: ISTIO_META_INTERCEPTION_MODE
134-
value: REDIRECT
135-
- name: ISTIO_META_WORKLOAD_NAME
136-
value: backend
137-
- name: ISTIO_META_OWNER
138-
value: kubernetes://apis/apps/v1/namespaces/prod/deployments/backend
139-
- name: ISTIO_META_MESH_ID
140-
value: cluster.local
141-
- name: TRUST_DOMAIN
142-
value: cluster.local
143-
- name: ISTIO_PROMETHEUS_ANNOTATIONS
144-
value: '{"scrape":"true","path":"","port":""}'
145-
image: docker.io/istio/proxyv2:1.13.2
95+
- name: JWT_POLICY
96+
value: third-party-jwt
97+
- name: PILOT_CERT_PROVIDER
98+
value: istiod
99+
- name: CA_ADDR
100+
value: istiod.istio-system.svc:15012
101+
- name: POD_NAME
102+
valueFrom:
103+
fieldRef:
104+
fieldPath: metadata.name
105+
- name: POD_NAMESPACE
106+
valueFrom:
107+
fieldRef:
108+
fieldPath: metadata.namespace
109+
- name: INSTANCE_IP
110+
valueFrom:
111+
fieldRef:
112+
fieldPath: status.podIP
113+
- name: SERVICE_ACCOUNT
114+
valueFrom:
115+
fieldRef:
116+
fieldPath: spec.serviceAccountName
117+
- name: HOST_IP
118+
valueFrom:
119+
fieldRef:
120+
fieldPath: status.hostIP
121+
- name: PROXY_CONFIG
122+
value: |
123+
{}
124+
- name: ISTIO_META_POD_PORTS
125+
value: |-
126+
[
127+
{"name":"http","containerPort":9898,"protocol":"TCP"}
128+
]
129+
- name: ISTIO_META_APP_CONTAINERS
130+
value: backend
131+
- name: ISTIO_META_CLUSTER_ID
132+
value: Kubernetes
133+
- name: ISTIO_META_INTERCEPTION_MODE
134+
value: REDIRECT
135+
- name: ISTIO_META_WORKLOAD_NAME
136+
value: backend
137+
- name: ISTIO_META_OWNER
138+
value: kubernetes://apis/apps/v1/namespaces/prod/deployments/backend
139+
- name: ISTIO_META_MESH_ID
140+
value: cluster.local
141+
- name: TRUST_DOMAIN
142+
value: cluster.local
143+
- name: ISTIO_PROMETHEUS_ANNOTATIONS
144+
value: '{"scrape":"true","path":"","port":""}'
145+
image: docker.io/istio/proxyv2:1.13.3
146146
name: istio-proxy
147147
ports:
148-
- containerPort: 15090
149-
name: http-envoy-prom
150-
protocol: TCP
148+
- containerPort: 15090
149+
name: http-envoy-prom
150+
protocol: TCP
151151
readinessProbe:
152152
failureThreshold: 30
153153
httpGet:
@@ -162,55 +162,55 @@
162162
memory: 1Gi
163163
requests:
164164
cpu: 10m
165-
memory: 40Mi
165+
memory: 16Mi
166166
securityContext:
167167
allowPrivilegeEscalation: false
168168
capabilities:
169169
drop:
170-
- ALL
170+
- ALL
171171
privileged: false
172172
readOnlyRootFilesystem: true
173173
runAsGroup: 1337
174174
runAsNonRoot: true
175175
runAsUser: 1337
176176
volumeMounts:
177-
- mountPath: /var/run/secrets/istio
178-
name: istiod-ca-cert
179-
- mountPath: /var/lib/istio/data
180-
name: istio-data
181-
- mountPath: /etc/istio/proxy
182-
name: istio-envoy
183-
- mountPath: /var/run/secrets/tokens
184-
name: istio-token
185-
- mountPath: /etc/istio/pod
186-
name: istio-podinfo
177+
- mountPath: /var/run/secrets/istio
178+
name: istiod-ca-cert
179+
- mountPath: /var/lib/istio/data
180+
name: istio-data
181+
- mountPath: /etc/istio/proxy
182+
name: istio-envoy
183+
- mountPath: /var/run/secrets/tokens
184+
name: istio-token
185+
- mountPath: /etc/istio/pod
186+
name: istio-podinfo
187187
- op: add
188188
path: /spec/template/metadata/creationTimestamp
189189
value: null
190190
- op: add
191191
path: /spec/template/metadata/labels/security.istio.io~1tlsMode
192192
value: istio
193-
- op: add
194-
path: /spec/template/metadata/labels/service.istio.io~1canonical-revision
195-
value: latest
196193
- op: add
197194
path: /spec/template/metadata/labels/service.istio.io~1canonical-name
198195
value: backend
199196
- op: add
200-
path: /spec/template/metadata/annotations/sidecar.istio.io~1status
201-
value: '{"initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-data","istio-podinfo","istio-token","istiod-ca-cert"],"imagePullSecrets":null,"revision":"default"}'
197+
path: /spec/template/metadata/labels/service.istio.io~1canonical-revision
198+
value: latest
202199
- op: add
203200
path: /spec/template/metadata/annotations/kubectl.kubernetes.io~1default-logs-container
204201
value: backend
205202
- op: add
206-
path: /spec/template/metadata/annotations/kubectl.kubernetes.io~1default-container
207-
value: backend
203+
path: /spec/template/metadata/annotations/sidecar.istio.io~1status
204+
value: '{"initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-data","istio-podinfo","istio-token","istiod-ca-cert"],"imagePullSecrets":null,"revision":"default"}'
208205
- op: add
209206
path: /spec/template/metadata/annotations/prometheus.io~1path
210207
value: /stats/prometheus
211208
- op: add
212209
path: /spec/template/metadata/annotations/prometheus.io~1port
213210
value: "15020"
211+
- op: add
212+
path: /spec/template/metadata/annotations/kubectl.kubernetes.io~1default-container
213+
value: backend
214214
- op: add
215215
path: /metadata/creationTimestamp
216216
value: null

0 commit comments

Comments
 (0)