PromucFlow_constructor/deploy/k8s/templates/frontend-template.yaml
Arpit Mohan 39ab488193
Adding script for k8s deployment (#1359)
Also support feature for generating SSL certificate for domain when deploying on Kubernetes

Co-authored-by: GEEK Up Team <prj_legodevops@geekup.vn>
2020-10-30 09:51:05 +05:30

42 lines
837 B
YAML

apiVersion: v1
kind: Service
metadata:
name: appsmith-editor
spec:
selector:
app: appsmith-editor
ports:
- port: 80
targetPort: 80
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: appsmith-editor
spec:
selector:
matchLabels:
app: appsmith-editor
replicas: 1
template:
metadata:
labels:
app: appsmith-editor
spec:
containers:
- name: nginx
image: appsmith/appsmith-editor
ports:
- containerPort: 80
envFrom:
- configMapRef:
name: application-config
volumeMounts:
- name: nginx-config-template
mountPath: /nginx.conf.template
subPath: nginx.conf.template
volumes:
- name: nginx-config-template
configMap:
name: nginx-config-template