matrix-ops/k8s/postgres/README.md

8 lines
352 B
Markdown
Raw Permalink Normal View History

### Postgres password
To create the postgres password secret you can use the following command.
2024-11-08 09:20:48 +00:00
kubectl apply -f postgres-namespace.yaml
kubectl apply -f postgres-pvc.yaml
kubectl create secret generic postgres-secret --from-literal=postgres-password=xxXxXxX -n postgres
2024-11-08 09:20:48 +00:00
kubectl apply -f postgres-deployment.yaml
kubectl apply -f postgres-service.yaml