Created
February 18, 2022 02:36
-
-
Save ananich/596ff80ec1319e17196c9a64a70cddad to your computer and use it in GitHub Desktop.
Kubernetes deployment descriptor for Workato on-prem agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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