Skip to content

Commit 2ea53fb

Browse files
author
aniketpatil
committed
chore: Update Argo Workflows references to v3.7
1 parent 4bf7d65 commit 2ea53fb

File tree

8 files changed

+58
-13
lines changed

8 files changed

+58
-13
lines changed

manifests/kustomize/third-party/argo/base/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5-
- https://github.com/argoproj/argo-workflows/manifests/base/workflow-controller?ref=v3.6.7
5+
- https://github.com/argoproj/argo-workflows/manifests/base/workflow-controller?ref=v3.7.0 # updated from v3.6.7
66

77
patches:
88
- path: workflow-controller-deployment-patch.yaml

manifests/kustomize/third-party/argo/base/workflow-controller-configmap-patch.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ metadata:
44
name: workflow-controller-configmap
55
data:
66
# References:
7-
# * https://github.com/argoproj/argo-workflows/blob/v3.6.7/config/config.go
8-
# * https://github.com/argoproj/argo-workflows/blob/v3.6.7/docs/workflow-controller-configmap.md
9-
# * https://github.com/argoproj/argo-workflows/blob/v3.6.7/docs/workflow-controller-configmap.yaml
7+
# * https://github.com/argoproj/argo-workflows/blob/v3.7.0/config/config.go
8+
# * https://github.com/argoproj/argo-workflows/blob/v3.7.0/docs/workflow-controller-configmap.md
9+
# * https://github.com/argoproj/argo-workflows/blob/v3.7.0/docs/workflow-controller-configmap.yaml
10+
1011

1112
# In artifactRepository.s3.endpoint, $(kfp-namespace) is needed, because in multi-user mode, pipelines may run in other namespaces.
1213
artifactRepository: |

manifests/kustomize/third-party/argo/base/workflow-controller-deployment-patch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ spec:
1010
type: RuntimeDefault
1111
containers:
1212
- name: workflow-controller
13-
image: quay.io/argoproj/workflow-controller:v3.6.7
13+
image: quay.io/argoproj/workflow-controller:v3.7.0 # updated from v3.6.7
1414
args:
1515
- --configmap
1616
- workflow-controller-configmap
1717
- --executor-image
18-
- quay.io/argoproj/argoexec:v3.6.7
18+
- quay.io/argoproj/argoexec:v3.7.0 # updated from v3.6.7
1919
securityContext:
2020
readOnlyRootFilesystem: true
2121
runAsNonRoot: true

manifests/kustomize/third-party/argo/installs/cluster/kustomization.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

4-
# Note, we do not explicitly separate cluster-scoped resources for cluster installation,
5-
# because people who deploy cluster-scoped resources should be the same as who deploys
6-
# namespaced resources.
74
resources:
8-
- https://github.com/argoproj/argo-workflows/manifests/base/crds?ref=v3.6.7
9-
- https://github.com/argoproj/argo-workflows/manifests/cluster-install/workflow-controller-rbac?ref=v3.6.7
5+
- https://github.com/argoproj/argo-workflows/manifests/base/crds?ref=v3.7.0
6+
- https://github.com/argoproj/argo-workflows/manifests/cluster-install/workflow-controller-rbac?ref=v3.7.0
107
- ../../base
118

129
patches:
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: argo-cluster-role
5+
rules:
6+
- apiGroups: [""]
7+
resources: ["namespaces"]
8+
verbs: ["get","list","watch"]
9+
- apiGroups: ["argoproj.io"]
10+
resources: ["clusterworkflowtemplates","workflows","workflowtemplates"]
11+
verbs: ["get","list","watch","create","update","patch","delete"]
12+
---
13+
apiVersion: rbac.authorization.k8s.io/v1
14+
kind: ClusterRoleBinding
15+
metadata:
16+
name: argo-cluster-role-binding
17+
subjects:
18+
- kind: ServiceAccount
19+
name: argo
20+
namespace: argo
21+
roleRef:
22+
kind: ClusterRole
23+
name: argo-cluster-role
24+
apiGroup: rbac.authorization.k8s.io
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
name: argo-workflowtaskresults-role
5+
rules:
6+
- apiGroups: ["argoproj.io"]
7+
resources: ["workflowtaskresults"]
8+
verbs: ["create","get","list","watch","update","patch","delete"]
9+
---
10+
apiVersion: rbac.authorization.k8s.io/v1
11+
kind: ClusterRoleBinding
12+
metadata:
13+
name: argo-workflowtaskresults-role-binding
14+
subjects:
15+
- kind: ServiceAccount
16+
name: default # workflow pods जे service account वापरत आहेत
17+
namespace: argo # argo namespace मध्ये
18+
roleRef:
19+
kind: ClusterRole
20+
name: argo-workflowtaskresults-role
21+
apiGroup: rbac.authorization.k8s.io

manifests/kustomize/third-party/argo/installs/namespace/cluster-scoped/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
# Minimal CRDs omit schema validation, recommended for production cluster.
5-
- https://github.com/argoproj/argo-workflows/manifests/base/crds/minimal?ref=v3.6.7
5+
- https://github.com/argoproj/argo-workflows/manifests/base/crds/minimal?ref=v3.7.0

manifests/kustomize/third-party/argo/installs/namespace/kustomization.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

4+
namespace: argo # This namespace must match the namespace in the parent kustomization.yaml.
5+
46
# This kustomization.yaml mirrors the upstream Argo Workflows namespace-install configuration with remote references.
57
# The differences:
68
# * this does not include argo server.
79
# * this separates cluster-scoped resources to its own folder.
810

911
resources:
1012
- ../../base
11-
- https://github.com/argoproj/argo-workflows/manifests/namespace-install/workflow-controller-rbac?ref=v3.6.7
13+
- https://github.com/argoproj/argo-workflows/manifests/namespace-install/workflow-controller-rbac?ref=v3.7.0
1214
patches:
1315
- path: workflow-controller-deployment-patch.json
1416
target:

0 commit comments

Comments
 (0)