This commit is contained in:
parent
5ea09ec09b
commit
839da40a2f
43
activepieces/activepieces-deployment.yaml
Normal file
43
activepieces/activepieces-deployment.yaml
Normal file
@ -0,0 +1,43 @@
|
||||
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
|
13
activepieces/activepieces-service.yaml
Normal file
13
activepieces/activepieces-service.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: activepieces-service
|
||||
namespace: activepieces-ns
|
||||
spec:
|
||||
selector:
|
||||
app: activepieces
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
type: LoadBalancer
|
15
activepieces/sealed-secret.yaml
Normal file
15
activepieces/sealed-secret.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
apiVersion: bitnami.com/v1alpha1
|
||||
kind: SealedSecret
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: activepieces-secret
|
||||
namespace: activepieces-ns
|
||||
spec:
|
||||
encryptedData:
|
||||
AP_POSTGRES_PASSWORD: AgAnS9rqEDi/oqtNJhe/gHPuVNpww3IZ8PDhze2F9aNOQJJAm0GZDy4tIngYGObPhOn8pYq2AgEfMymKxQDx12F8Esi5vwosYfwbmKp6x3AGeZ+p4SI6vFqE/Mh8WeKo3isvsH5OcsbMNuWX3sAZeJr/8C0bn3oTr/Zj+k/j8VtQiHfH3ci1PgURvl6YzU1p+XOGVddapp6FaMMJjfkFcgun4cw3OXmOU9Uo5f/PhUsWEPNGNwUthfMB7n7pLaN9nQ/DrvdQsjj/CN/g3Bq1tvd2gYvqhr7S2S+t6PXqAvshaK1TtWAqBKqNogy/C0ncVe93OEE14lzCwo96pCI76Epi3lUgI9qRJIW3IDsQc8qABZusYjU2WLzuoTsLqoY92Yceu4swS4XNIH5L802Ye3Vo6+AlZUPQQIXZUqTgrxaZbFVevvC97QWX80uHJacRcv35z3HyX4qTqM6NDNFHiDtCxsffWeO1OSEptF1siQwd8NimwT8gRE7orjmEZhRQvmvy2y3NTOzJrhZDNByrla5l+I121MmUxveRm1N7mRkKd5TpGT+lhocNgd4C5aP2LBh3S/7SKpQUmyp8Zya+PW+zxPDOgqj4M7z8uMUJe9NcpXPIeSShvkmmHvVg0x2qKDRtFiZQMQ5MP3b8QLaidZe6XRXred6e0R3TbhYGuu+SppmqI0N12JU/OZortZYs20lJT34uCE2RXfCdnnbDoYaZI+0zE+jlLH6A66o72MCYWwU2Sb4dHM0uRgE1eu7V42aeAVNY26mvpXx2zksjWwX3
|
||||
AP_REDIS_URL: AgAWajJnHngedjgVkZjG+bxpmE7dWq2+/rKqGLRfKCE0MndADcNol/jQsNsXEJWE1FoSZEiJJ5xNRTEfeJhVwMAUCiBSeKgFImfFROSx+n3JRjO0Htn99DleeqivfS8DonUFejwvdlz0kAuGMaOfZIbeO+/yR0tTN2Dk4CCiYhIpk1q96aMkCiEqE+w3C6W6gK4Cy/Ug77fkLMvF5dY8CEWpDpGcT3n4VFtpZdeHJzmvBkJ0fw6aC7J8W2Oqq9lpB4P655rmWqiH8Q/fNh8/VRsR5owqFU/9UIHWcc+gfpnrGWN1O1hfGuPS2NEoBRI6ZaYmOYx9KE6tYNV7z+iMv8sKGLraiGzgIQK07LVpdBVsxGrrerjMvu6Hlqj134+5HIJkBlcKhKeV5gmHD+AQgpOtWRVNFqzwGtcd4E6n/OwspF+ryc0OW6hur7U1xGyvE3tu4/RZjo7n+53/viwXUioQJzLIQCwPOb/P2DaXf1cnopc3hkIKwVgdRD0+xq1tYxO3SjpImlXs/MUtOqOyAJewti+BbeOW8EfmETtsWArAVCaZqiqW953YJO0Uyb/y+ufjw/hcmpCq5j/0tD+8qvjFeOuGuqMj6o9NRLs51zg04DcIaniwYQ0IHd22203BWt7dZ0G331nM3NWLASR0qdbkTDmi8p5ENb3PzOLqXZ8ZQ2VAMd5pnu7P/IdB4TkMaRRwg1BnC2OQP3wLz1ZOYIF7BZ1d/b0ZwHsL7NK+r7/BHQWkGM29dPaoNGzr9chwqMJ5VmYbZrTTu0h5ezdBw2wtrILRXRfAT4S4ZK6P6JpUTIsO+Vl3KSMEI1M=
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: activepieces-secret
|
||||
namespace: activepieces-ns
|
Loading…
Reference in New Issue
Block a user