Skip to content

Commit 9908acd

Browse files
authored
Merge pull request #59 from stefanprodan/istio-1.12.0
Update CI workflow for Istio v1.12.0
2 parents 3288d51 + d975b6f commit 9908acd

File tree

4 files changed

+165
-164
lines changed

4 files changed

+165
-164
lines changed

.github/workflows/update-istio.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
3030
echo "Build manifests for ${ISTIO_VER} in dir ${ISTIO_DIR}"
3131
helm template --include-crds \
32+
--namespace istio-operator \
3233
${ISTIO_DIR}/manifests/charts/istio-operator/ > ./istio/operator/manifests.yaml
3334
3435
cat ${ISTIO_DIR}/samples/addons/prometheus.yaml > ./istio/system/prometheus.yaml
@@ -42,6 +43,7 @@ jobs:
4243
uses: peter-evans/create-pull-request@v3
4344
if: steps.check.outputs.version
4445
with:
46+
token: ${{ secrets.GH_ADMIN_TOKEN }}
4547
commit-message: Update Istio to ${{ steps.check.outputs.version }}
4648
title: Update Istio to ${{ steps.check.outputs.version }}
4749
body: |

istio/operator/manifests.yaml

Lines changed: 144 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -17,47 +17,38 @@ spec:
1717
plural: istiooperators
1818
singular: istiooperator
1919
shortNames:
20-
- iop
21-
- io
20+
- iop
21+
- io
2222
scope: Namespaced
2323
versions:
24-
- additionalPrinterColumns:
25-
- description: Istio control plane revision
26-
jsonPath: .spec.revision
27-
name: Revision
28-
type: string
29-
- description: IOP current state
30-
jsonPath: .status.status
31-
name: Status
32-
type: string
33-
- description: 'CreationTimestamp is a timestamp representing the server time
24+
- additionalPrinterColumns:
25+
- description: Istio control plane revision
26+
jsonPath: .spec.revision
27+
name: Revision
28+
type: string
29+
- description: IOP current state
30+
jsonPath: .status.status
31+
name: Status
32+
type: string
33+
- description: 'CreationTimestamp is a timestamp representing the server time
3434
when this object was created. It is not guaranteed to be set in happens-before
3535
order across separate operations. Clients may not set this value. It is represented
3636
in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
3737
lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
38-
jsonPath: .metadata.creationTimestamp
39-
name: Age
40-
type: date
41-
name: v1alpha1
42-
subresources:
43-
status: {}
44-
schema:
45-
openAPIV3Schema:
46-
type: object
47-
x-kubernetes-preserve-unknown-fields: true
48-
served: true
49-
storage: true
38+
jsonPath: .metadata.creationTimestamp
39+
name: Age
40+
type: date
41+
name: v1alpha1
42+
subresources:
43+
status: {}
44+
schema:
45+
openAPIV3Schema:
46+
type: object
47+
x-kubernetes-preserve-unknown-fields: true
48+
served: true
49+
storage: true
5050
---
5151

52-
---
53-
# Source: istio-operator/templates/namespace.yaml
54-
apiVersion: v1
55-
kind: Namespace
56-
metadata:
57-
name: istio-operator
58-
labels:
59-
istio-operator-managed: Reconcile
60-
istio-injection: disabled
6152
---
6253
# Source: istio-operator/templates/service_account.yaml
6354
apiVersion: v1
@@ -73,124 +64,125 @@ metadata:
7364
creationTimestamp: null
7465
name: istio-operator
7566
rules:
76-
# istio groups
77-
- apiGroups:
78-
- authentication.istio.io
79-
resources:
80-
- '*'
81-
verbs:
82-
- '*'
83-
- apiGroups:
84-
- config.istio.io
85-
resources:
86-
- '*'
87-
verbs:
88-
- '*'
89-
- apiGroups:
90-
- install.istio.io
91-
resources:
92-
- '*'
93-
verbs:
94-
- '*'
95-
- apiGroups:
96-
- networking.istio.io
97-
resources:
98-
- '*'
99-
verbs:
100-
- '*'
101-
- apiGroups:
102-
- security.istio.io
103-
resources:
104-
- '*'
105-
verbs:
106-
- '*'
107-
# k8s groups
108-
- apiGroups:
109-
- admissionregistration.k8s.io
110-
resources:
111-
- mutatingwebhookconfigurations
112-
- validatingwebhookconfigurations
113-
verbs:
114-
- '*'
115-
- apiGroups:
116-
- apiextensions.k8s.io
117-
resources:
118-
- customresourcedefinitions.apiextensions.k8s.io
119-
- customresourcedefinitions
120-
verbs:
121-
- '*'
122-
- apiGroups:
123-
- apps
124-
- extensions
125-
resources:
126-
- daemonsets
127-
- deployments
128-
- deployments/finalizers
129-
- replicasets
130-
verbs:
131-
- '*'
132-
- apiGroups:
133-
- autoscaling
134-
resources:
135-
- horizontalpodautoscalers
136-
verbs:
137-
- '*'
138-
- apiGroups:
139-
- monitoring.coreos.com
140-
resources:
141-
- servicemonitors
142-
verbs:
143-
- get
144-
- create
145-
- update
146-
- apiGroups:
147-
- policy
148-
resources:
149-
- poddisruptionbudgets
150-
verbs:
151-
- '*'
152-
- apiGroups:
153-
- rbac.authorization.k8s.io
154-
resources:
155-
- clusterrolebindings
156-
- clusterroles
157-
- roles
158-
- rolebindings
159-
verbs:
160-
- '*'
161-
- apiGroups:
162-
- coordination.k8s.io
163-
resources:
164-
- leases
165-
verbs:
166-
- get
167-
- create
168-
- update
169-
- apiGroups:
170-
- ""
171-
resources:
172-
- configmaps
173-
- endpoints
174-
- events
175-
- namespaces
176-
- pods
177-
- pods/proxy
178-
- persistentvolumeclaims
179-
- secrets
180-
- services
181-
- serviceaccounts
182-
verbs:
183-
- '*'
67+
# istio groups
68+
- apiGroups:
69+
- authentication.istio.io
70+
resources:
71+
- '*'
72+
verbs:
73+
- '*'
74+
- apiGroups:
75+
- config.istio.io
76+
resources:
77+
- '*'
78+
verbs:
79+
- '*'
80+
- apiGroups:
81+
- install.istio.io
82+
resources:
83+
- '*'
84+
verbs:
85+
- '*'
86+
- apiGroups:
87+
- networking.istio.io
88+
resources:
89+
- '*'
90+
verbs:
91+
- '*'
92+
- apiGroups:
93+
- security.istio.io
94+
resources:
95+
- '*'
96+
verbs:
97+
- '*'
98+
# k8s groups
99+
- apiGroups:
100+
- admissionregistration.k8s.io
101+
resources:
102+
- mutatingwebhookconfigurations
103+
- validatingwebhookconfigurations
104+
verbs:
105+
- '*'
106+
- apiGroups:
107+
- apiextensions.k8s.io
108+
resources:
109+
- customresourcedefinitions.apiextensions.k8s.io
110+
- customresourcedefinitions
111+
verbs:
112+
- '*'
113+
- apiGroups:
114+
- apps
115+
- extensions
116+
resources:
117+
- daemonsets
118+
- deployments
119+
- deployments/finalizers
120+
- replicasets
121+
verbs:
122+
- '*'
123+
- apiGroups:
124+
- autoscaling
125+
resources:
126+
- horizontalpodautoscalers
127+
verbs:
128+
- '*'
129+
- apiGroups:
130+
- monitoring.coreos.com
131+
resources:
132+
- servicemonitors
133+
verbs:
134+
- get
135+
- create
136+
- update
137+
- apiGroups:
138+
- policy
139+
resources:
140+
- poddisruptionbudgets
141+
verbs:
142+
- '*'
143+
- apiGroups:
144+
- rbac.authorization.k8s.io
145+
resources:
146+
- clusterrolebindings
147+
- clusterroles
148+
- roles
149+
- rolebindings
150+
verbs:
151+
- '*'
152+
- apiGroups:
153+
- coordination.k8s.io
154+
resources:
155+
- leases
156+
verbs:
157+
- get
158+
- create
159+
- update
160+
- apiGroups:
161+
- ""
162+
resources:
163+
- configmaps
164+
- endpoints
165+
- events
166+
- namespaces
167+
- pods
168+
- pods/proxy
169+
- pods/portforward
170+
- persistentvolumeclaims
171+
- secrets
172+
- services
173+
- serviceaccounts
174+
verbs:
175+
- '*'
184176
---
185177
# Source: istio-operator/templates/clusterrole_binding.yaml
186178
kind: ClusterRoleBinding
187179
apiVersion: rbac.authorization.k8s.io/v1
188180
metadata:
189181
name: istio-operator
190182
subjects:
191-
- kind: ServiceAccount
192-
name: istio-operator
193-
namespace: istio-operator
183+
- kind: ServiceAccount
184+
name: istio-operator
185+
namespace: istio-operator
194186
roleRef:
195187
kind: ClusterRole
196188
name: istio-operator
@@ -206,10 +198,10 @@ metadata:
206198
name: istio-operator
207199
spec:
208200
ports:
209-
- name: http-metrics
210-
port: 8383
211-
targetPort: 8383
212-
protocol: TCP
201+
- name: http-metrics
202+
port: 8383
203+
targetPort: 8383
204+
protocol: TCP
213205
selector:
214206
name: istio-operator
215207
---
@@ -232,15 +224,15 @@ spec:
232224
serviceAccountName: istio-operator
233225
containers:
234226
- name: istio-operator
235-
image: docker.io/istio/operator:1.11.4
227+
image: docker.io/istio/operator:1.12.0
236228
command:
237-
- operator
238-
- server
229+
- operator
230+
- server
239231
securityContext:
240232
allowPrivilegeEscalation: false
241233
capabilities:
242234
drop:
243-
- ALL
235+
- ALL
244236
privileged: false
245237
readOnlyRootFilesystem: true
246238
runAsGroup: 1337

istio/operator/namespace.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: istio-operator
5+
labels:
6+
istio-operator-managed: Reconcile
7+
istio-injection: disabled

0 commit comments

Comments
 (0)