Skip to content

Commit 132449c

Browse files
authored
chore(argo-rollouts): Upgrade argo-rollouts to 1.4.0 (argoproj#1774)
Fixes argoproj#1763 Signed-off-by: jmeridth <[email protected]> Signed-off-by: jmeridth <[email protected]>
1 parent 206d492 commit 132449c

File tree

8 files changed

+166
-17
lines changed

8 files changed

+166
-17
lines changed

charts/argo-rollouts/Chart.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: v1.3.1
2+
appVersion: v1.4.0
33
description: A Helm chart for Argo Rollouts
44
name: argo-rollouts
5-
version: 2.21.3
5+
version: 2.22.0
66
home: https://github.com/argoproj/argo-helm
77
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
88
keywords:
@@ -15,5 +15,4 @@ maintainers:
1515
url: https://argoproj.github.io/
1616
annotations:
1717
artifacthub.io/changes: |
18-
- "[Fixed]: avoid app.kubernetes.io/version kubernetes label from exceeding maximum length (63)"
19-
- "[Fixed]: generated value for app.kubernetes.io/version label is now valid even when defining a controller.image.tag with a SHA digest"
18+
- "[Changed]: Upgrade ArgoRollouts to v1.4.0"

charts/argo-rollouts/templates/controller/clusterrole.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ rules:
8989
- create
9090
- get
9191
- update
92-
# secret access to run analysis templates which reference secrets, allow init containers to manipulate secrets
92+
# secret read access to run analysis templates which reference secrets
9393
- apiGroups:
9494
- ""
9595
resources:
@@ -99,9 +99,6 @@ rules:
9999
- get
100100
- list
101101
- watch
102-
- create
103-
- patch
104-
- update
105102
# pod list/update needed for updating ephemeral data
106103
- apiGroups:
107104
- ""
@@ -110,6 +107,7 @@ rules:
110107
verbs:
111108
- list
112109
- update
110+
- watch
113111
# pods eviction needed for restart
114112
- apiGroups:
115113
- ""
@@ -223,4 +221,20 @@ rules:
223221
- list
224222
- update
225223
- patch
224+
- apiGroups:
225+
- traefik.containo.us
226+
resources:
227+
- traefikservices
228+
verbs:
229+
- watch
230+
- get
231+
- update
232+
- apiGroups:
233+
- apisix.apache.org
234+
resources:
235+
- apisixroutes
236+
verbs:
237+
- watch
238+
- get
239+
- update
226240
{{- end }}

charts/argo-rollouts/templates/controller/role.yaml

Lines changed: 93 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,19 @@ rules:
5656
- update
5757
- patch
5858
- delete
59+
# deployments and podtemplates read access needed for workload reference support
60+
- apiGroups:
61+
- ""
62+
- apps
63+
resources:
64+
- deployments
65+
- podtemplates
66+
verbs:
67+
- get
68+
- list
69+
- watch
5970
# services patch needed to update selector of canary/stable/active/preview services
71+
# services create needed to create and delete services for experiments
6072
- apiGroups:
6173
- ""
6274
resources:
@@ -66,8 +78,18 @@ rules:
6678
- list
6779
- watch
6880
- patch
69-
# secret access to run analysis templates which reference secrets
70-
# configmap access to read notification-engine configuration
81+
- create
82+
- delete
83+
# leases create/get/update needed for leader election
84+
- apiGroups:
85+
- coordination.k8s.io
86+
resources:
87+
- leases
88+
verbs:
89+
- create
90+
- get
91+
- update
92+
# secret read access to run analysis templates which reference secrets
7193
- apiGroups:
7294
- ""
7395
resources:
@@ -77,9 +99,6 @@ rules:
7799
- get
78100
- list
79101
- watch
80-
- create
81-
- patch
82-
- update
83102
# pod list/update needed for updating ephemeral data
84103
- apiGroups:
85104
- ""
@@ -88,6 +107,7 @@ rules:
88107
verbs:
89108
- list
90109
- update
110+
- watch
91111
# pods eviction needed for restart
92112
- apiGroups:
93113
- ""
@@ -129,15 +149,17 @@ rules:
129149
- update
130150
- patch
131151
- delete
132-
# virtualservice access needed for using the Istio provider
152+
# virtualservice/destinationrule access needed for using the Istio provider
133153
- apiGroups:
134154
- networking.istio.io
135155
resources:
136156
- virtualservices
157+
- destinationrules
137158
verbs:
138159
- watch
139160
- get
140161
- update
162+
- patch
141163
- list
142164
# trafficsplit access needed for using the SMI provider
143165
- apiGroups:
@@ -150,4 +172,69 @@ rules:
150172
- get
151173
- update
152174
- patch
175+
# ambassador access needed for Ambassador provider
176+
- apiGroups:
177+
- getambassador.io
178+
- x.getambassador.io
179+
resources:
180+
- mappings
181+
- ambassadormappings
182+
verbs:
183+
- create
184+
- watch
185+
- get
186+
- update
187+
- list
188+
- delete
189+
# Endpoints and TargetGroupBindings needed for ALB target group verification
190+
- apiGroups:
191+
- ""
192+
resources:
193+
- endpoints
194+
verbs:
195+
- get
196+
- apiGroups:
197+
- elbv2.k8s.aws
198+
resources:
199+
- targetgroupbindings
200+
verbs:
201+
- list
202+
- get
203+
# AppMesh virtualservices/virtualrouter CRD read-only access needed for using the App Mesh provider
204+
- apiGroups:
205+
- appmesh.k8s.aws
206+
resources:
207+
- virtualservices
208+
verbs:
209+
- watch
210+
- get
211+
- list
212+
# AppMesh virtualnode CRD r/w access needed for using the App Mesh provider
213+
- apiGroups:
214+
- appmesh.k8s.aws
215+
resources:
216+
- virtualnodes
217+
- virtualrouters
218+
verbs:
219+
- watch
220+
- get
221+
- list
222+
- update
223+
- patch
224+
- apiGroups:
225+
- traefik.containo.us
226+
resources:
227+
- traefikservices
228+
verbs:
229+
- watch
230+
- get
231+
- update
232+
- apiGroups:
233+
- apisix.apache.org
234+
resources:
235+
- apisixroutes
236+
verbs:
237+
- watch
238+
- get
239+
- update
153240
{{- end }}

charts/argo-rollouts/templates/crds/analysis-run-crd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2742,6 +2742,9 @@ spec:
27422742
type: array
27432743
insecure:
27442744
type: boolean
2745+
jsonBody:
2746+
type: object
2747+
x-kubernetes-preserve-unknown-fields: true
27452748
jsonPath:
27462749
type: string
27472750
method:

charts/argo-rollouts/templates/crds/analysis-template-crd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2738,6 +2738,9 @@ spec:
27382738
type: array
27392739
insecure:
27402740
type: boolean
2741+
jsonBody:
2742+
type: object
2743+
x-kubernetes-preserve-unknown-fields: true
27412744
jsonPath:
27422745
type: string
27432746
method:

charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2738,6 +2738,9 @@ spec:
27382738
type: array
27392739
insecure:
27402740
type: boolean
2741+
jsonBody:
2742+
type: object
2743+
x-kubernetes-preserve-unknown-fields: true
27412744
jsonPath:
27422745
type: string
27432746
method:

charts/argo-rollouts/templates/crds/rollout-crd.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ spec:
8989
revisionHistoryLimit:
9090
format: int32
9191
type: integer
92+
rollbackWindow:
93+
properties:
94+
revisions:
95+
format: int32
96+
type: integer
97+
type: object
9298
selector:
9399
properties:
94100
matchExpressions:
@@ -397,6 +403,9 @@ spec:
397403
- type: integer
398404
- type: string
399405
x-kubernetes-int-or-string: true
406+
minPodsPerReplicaSet:
407+
format: int32
408+
type: integer
400409
pingPong:
401410
properties:
402411
pingService:
@@ -713,6 +722,20 @@ spec:
713722
required:
714723
- mappings
715724
type: object
725+
apisix:
726+
properties:
727+
route:
728+
properties:
729+
name:
730+
type: string
731+
rules:
732+
items:
733+
type: string
734+
type: array
735+
required:
736+
- name
737+
type: object
738+
type: object
716739
appMesh:
717740
properties:
718741
virtualNodeGroup:
@@ -770,6 +793,14 @@ spec:
770793
items:
771794
type: string
772795
type: array
796+
tcpRoutes:
797+
items:
798+
properties:
799+
port:
800+
format: int64
801+
type: integer
802+
type: object
803+
type: array
773804
tlsRoutes:
774805
items:
775806
properties:
@@ -794,6 +825,14 @@ spec:
794825
items:
795826
type: string
796827
type: array
828+
tcpRoutes:
829+
items:
830+
properties:
831+
port:
832+
format: int64
833+
type: integer
834+
type: object
835+
type: array
797836
tlsRoutes:
798837
items:
799838
properties:

charts/argo-rollouts/templates/dashboard/clusterrole.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,18 @@ rules:
4444
- get
4545
- list
4646
- watch
47-
# deployments and podtemplates read access needed for workload reference support
4847
- apiGroups:
49-
- ""
5048
- apps
5149
resources:
5250
- deployments
53-
- podtemplates
5451
verbs:
5552
- get
5653
- list
5754
- watch
55+
{{- if not .Values.dashboard.readonly }}
56+
- update
57+
- patch
58+
{{- end }}
5859
- apiGroups:
5960
- apps
6061
resources:

0 commit comments

Comments
 (0)