Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kubernetes deployment descriptor for Workato on-prem agent
apiVersion: apps/v1
kind: Deployment
metadata:
name: workato-agent
spec:
replicas: 1
selector:
matchLabels:
app: workato-agent
template:
metadata:
labels:
app: workato-agent
spec:
containers:
- name: workato-agent
image: 123456789012.dkr.ecr.us-west-1.amazonaws.com/workato-agent:2.9.4-r1
volumeMounts:
- mountPath: /opt/workato-agent/cert
name: cert
readOnly: true
env:
- name: MYSQL_HOST
valueFrom:
configMapKeyRef:
name: employee-db
key: MYSQL_HOST
- name: MYSQL_PORT
valueFrom:
configMapKeyRef:
name: employee-db
key: MYSQL_PORT
- name: MYSQL_DATABASE
valueFrom:
configMapKeyRef:
name: employee-db
key: MYSQL_DATABASE
- name: MYSQL_USER
valueFrom:
secretKeyRef:
name: employee-db
key: MYSQL_USER
- name: MYSQL_PASSWORD
valueFrom:
secretKeyRef:
name: employee-db
key: MYSQL_PASSWORD
volumes:
-
name: cert
secret:
secretName: workato-agent-keypair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment