k8s/manifests/02-deployments/deployment-pgadmin.yaml
Simple_Not 6a901a125d
All checks were successful
continuous-integration/drone/push Build is passing
add pg
2023-12-14 20:26:29 +10:00

32 lines
731 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: pgadmin
namespace: pg
spec:
selector:
matchLabels:
app: pgadmin
replicas: 1
template:
metadata:
labels:
app: pgadmin
spec:
containers:
- name: pgadmin4
image: dpage/pgadmin4
env:
- name: PGADMIN_DEFAULT_EMAIL
value: "admin@guaranteedstruggle.host"
- name: PGADMIN_DEFAULT_PASSWORD
valueFrom:
secretKeyRef:
name: pgadmin-secret
key: pgadmin-default-password
- name: PGADMIN_PORT
value: "80"
ports:
- containerPort: 80
name: pgadminport