Skip to content

Instantly share code, notes, and snippets.

@bolthar
Created May 3, 2020 18:39
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 bolthar/d1dfd42d1eb3c23fa10cd7890bc20f7d to your computer and use it in GitHub Desktop.
Save bolthar/d1dfd42d1eb3c23fa10cd7890bc20f7d to your computer and use it in GitHub Desktop.
# This file describes the config settings available in the workflow controller configmap
apiVersion: v1
kind: ConfigMap
metadata:
name: workflow-controller-configmap
data:
config: |
persistence:
connectionPool:
maxIdleConns: 100
maxOpenConns: 0
nodeStatusOffLoad: true
postgresql:
host: (mydbhost)
port: 5432
database: argo_plans
tableName: argo_workflows
userNameSecret:
name: argo-postgres-credentials
key: username
passwordSecret:
name: argo-postgres-credentials
key: password
ssl: true
sslmode: "require"
apiVersion: apps/v1
kind: Deployment
metadata:
name: workflow-controller
spec:
selector:
matchLabels:
app: workflow-controller
template:
metadata:
labels:
app: workflow-controller
spec:
containers:
- args:
- --configmap
- workflow-controller-configmap # Set configmap name here
- --executor-image
- argoproj/argoexec:latest
- --namespaced
command:
- workflow-controller
image: argoproj/workflow-controller:v2.7.5
name: workflow-controller
serviceAccountName: argo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment