forked from innovacion/Mayacontigo
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: mayacontigo-normativa
|
|
namespace: apps
|
|
labels:
|
|
app: mayacontigo-normativa
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: mayacontigo-normativa
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: mayacontigo-normativa
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: gitea-registry-cred
|
|
containers:
|
|
- name: mayacontigo-normativa
|
|
image: gitea.ia-innovacion.work/innovacion/mayacontigo-normativa:latest
|
|
env:
|
|
- name: VAULT_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: mayacontigo-normativa-secret
|
|
key: VAULT_TOKEN
|
|
ports:
|
|
- containerPort: 80
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|