Gluttony-Cluster/activepieces/activepieces-deployment.yaml

58 lines
1.5 KiB
YAML
Raw Normal View History

2023-12-03 02:57:47 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: activepieces
namespace: activepieces-ns
spec:
replicas: 1
selector:
matchLabels:
app: activepieces
template:
metadata:
labels:
app: activepieces
spec:
containers:
- name: activepieces
image: activepieces/activepieces:0.14.3
ports:
- containerPort: 80
env:
- name: AP_DB_TYPE
value: POSTGRES
- name: AP_QUEUE_MODE
value: REDIS
- name: AP_POSTGRES_DATABASE
value: "activepieces"
- name: AP_POSTGRES_HOST
value: postgresql.postgresql-system.svc.cluster.local
- name: AP_POSTGRES_USERNAME
value: "activepieces"
- name: AP_POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: activepieces-secret
key: AP_POSTGRES_PASSWORD
- name: AP_POSTGRES_PORT
value: "5432"
- name: AP_REDIS_URL
valueFrom:
secretKeyRef:
name: activepieces-secret
key: AP_REDIS_URL
2023-12-03 03:05:14 +00:00
- name: AP_JWT_SECRET
valueFrom:
secretKeyRef:
name: activepieces-secret
key: AP_JWT_SECRET
- name: AP_FRONTEND_URL
2023-12-03 03:16:24 +00:00
value: "https://automate.clortox.com"
2023-12-03 03:05:14 +00:00
- name: AP_TELEMETRY_ENABLED
value: "false"
2023-12-03 03:16:24 +00:00
- name: AP_ENCRYPTION_KEY
valueFrom:
secretKeyRef:
name: activepieces-secret
key: AP_ENCRYPTION_KEY