|
Last change
on this file since c1798da was 52fee06, checked in by Andrej <asumanovski@…>, 2 weeks ago |
|
Complete Kubernetes manifests with ConfigMap, Secrets, StatefulSet, Ingress
- namespace.yaml: trekr namespace
- configmaps.yaml: backend non-secret config (DB URL, Hibernate settings)
- postgres.yaml: StatefulSet + PVC + ClusterIP Service, init SQL from ConfigMap
- backend.yaml: Deployment with ConfigMap + Secrets refs, ClusterIP Service
- frontend.yaml: Deployment + ClusterIP Service
- ingress.yaml: nginx Ingress routing trekr.local → frontend
- deploy-local.sh: one-shot local demo script for Docker Desktop Kubernetes
|
-
Property mode
set to
100644
|
|
File size:
298 bytes
|
| Line | |
|---|
| 1 | apiVersion: v1
|
|---|
| 2 | kind: ConfigMap
|
|---|
| 3 | metadata:
|
|---|
| 4 | name: backend-config
|
|---|
| 5 | namespace: trekr
|
|---|
| 6 | data:
|
|---|
| 7 | SPRING_DATASOURCE_URL: "jdbc:postgresql://postgres:5432/trekr"
|
|---|
| 8 | SPRING_DATASOURCE_USERNAME: "trekr"
|
|---|
| 9 | SPRING_JPA_HIBERNATE_DDL_AUTO: "none"
|
|---|
| 10 | SPRING_JACKSON_SERIALIZATION_WRITE_DATES_AS_TIMESTAMPS: "false"
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.