38 lines
956 B
YAML
38 lines
956 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: furtuna-backend
|
|
namespace: altru-staging
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: furtuna-backend
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: furtuna-backend
|
|
spec:
|
|
serviceAccountName: custom-serviceaccount
|
|
containers:
|
|
- name: furtuna-backend
|
|
image: registry.gitlab.com/altru.id/furtuna/furtuna-backend:f2029ab5-dev
|
|
ports:
|
|
- containerPort: 3300
|
|
volumeMounts:
|
|
- mountPath: "/infra"
|
|
name: furtuna-backend-secret
|
|
readOnly: true
|
|
- mountPath: "/templates"
|
|
name: templates-configmap
|
|
volumes:
|
|
- name: furtuna-backend-secret
|
|
secret:
|
|
secretName: furtuna-backend-secret
|
|
- name: templates-configmap
|
|
configMap:
|
|
name: templates-configmap
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
|