Skip to content

Commit

Permalink
Fixing the Helm Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
danmanners committed Oct 18, 2023
1 parent 1c912ce commit 620a6c8
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions manifests/workloads/wikijs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,29 @@ controllers:
replicas: 1
type: deployment
strategy: Recreate
initContainers:
- name: init-db
image: core.harbor.homelab.danmanners.com/ghcr.io/onedr0p/postgres-initdb:14.8
env:
- name: POSTGRES_HOST
value: "primary-rw.postgres.svc.cluster.local"
- name: POSTGRES_DB
value: wikijs
- name: POSTGRES_SUPER_PASS
secretKeyRef:
name: postgres-superuser
key: password
- name: POSTGRES_USER
secretKeyRef:
name: db-secrets
key: POSTGRES_USERNAME
- name: POSTGRES_PASS
secretKeyRef:
name: db-secrets
key: POSTGRES_PASSWORD
- name: POSTGRES_PORT
value: "5432"

containers:
main:
nameOverride: wikijs
Expand All @@ -29,28 +52,6 @@ controllers:
key: POSTGRES_PASSWORD
ports:
- containerPort: 3000
initContainers:
init-db:
image: core.harbor.homelab.danmanners.com/ghcr.io/onedr0p/postgres-initdb:14.8
env:
- name: POSTGRES_HOST
value: "primary-rw.postgres.svc.cluster.local"
- name: POSTGRES_DB
value: wikijs
- name: POSTGRES_SUPER_PASS
secretKeyRef:
name: postgres-superuser
key: password
- name: POSTGRES_USER
secretKeyRef:
name: db-secrets
key: POSTGRES_USERNAME
- name: POSTGRES_PASS
secretKeyRef:
name: db-secrets
key: POSTGRES_PASSWORD
- name: POSTGRES_PORT
value: "5432"
probes:
readiness:
enabled: false
Expand Down

0 comments on commit 620a6c8

Please sign in to comment.