Skip to content

Instantly share code, notes, and snippets.

@Shark
Created March 18, 2022 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shark/df5fcee71676f5d4ab7419d47bb920c2 to your computer and use it in GitHub Desktop.
Save Shark/df5fcee71676f5d4ab7419d47bb920c2 to your computer and use it in GitHub Desktop.
Argo Workflows v3.3 Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/argoproj/argo-workflows/releases/download/v3.3.0/namespace-install.yaml
patches:
- path: patch_configmap.yaml
target:
version: v1
kind: ConfigMap
name: workflow-controller-configmap
- path: patch_argo_server.yaml
target:
group: apps
version: v1
kind: Deployment
name: argo-server
- path: patch_controller.yaml
target:
group: apps
version: v1
kind: Deployment
name: workflow-controller
- path: patch_service.yaml
target:
version: v1
kind: Service
name: argo-server
- op: add
path: /spec/template/spec/containers/0/args/-
value: '--secure=false'
- op: replace
path: /spec/template/spec/containers/0/readinessProbe/httpGet/scheme
value: HTTP
- op: add
path: /data
value:
artifactRepository: |
archiveLogs: true
s3:
accessKeySecret:
name: argo-workflows-s3
key: access_key
secretKeySecret:
name: argo-workflows-s3
key: secret_key
insecure: true
bucket: argo-workflows
endpoint: minio.minio.svc.cluster.local:9000
region: eu-central-1
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: ARGO_EXECUTOR_PLUGINS
value: 'true'
- op: add
path: /spec/type
value: NodePort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment