switch back to releasename and add dependencies

This commit is contained in:
Joseph Hanson 2024-09-21 14:37:46 -05:00
parent 05d9a06e29
commit f1d8aeb798
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
4 changed files with 9 additions and 5 deletions

View file

@ -13,7 +13,6 @@ spec:
template:
engineVersion: v2
data:
NEXTAUTH_URL: "https://links.hsn.dev/api/v1/auth"
NEXTAUTH_SECRET: "{{ .LINKWARDEN_NEXTAUTH_SECRET }}"
LINKWARDEN_POSTGRES_REAL_HOST: "postgres-primary-real.database.svc"
DATABASE_URL: |-

View file

@ -34,6 +34,7 @@ spec:
tag: v2.7.1@sha256:bbd22798ee726184d4571ea4f4d831d57475c86c4965c2bb1c3c2d3de88c728a
env:
TIMEZONE: "America/Chicago"
NEXTAUTH_URL: "https://{{ .Release.Name }}.jahanson.tech/api/v1/auth"
envFrom:
- secretRef:
name: linkwarden-secret
@ -48,7 +49,7 @@ spec:
enabled: true
className: internal-nginx
hosts:
- host: &host "links.jahanson.tech"
- host: &host "{{ .Release.Name }}.jahanson.tech"
paths:
- path: /
service:

View file

@ -3,7 +3,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../../templates/gatus/internal
- ../../../../templates/volsync
- ./externalsecret.yaml
- ./helmrelease.yaml
- ../../../../templates/volsync
- ../../../../templates/gatus/internal

View file

@ -10,6 +10,11 @@ spec:
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: crunchy-postgres-operator
- name: external-secrets-stores
- name: volsync
- name: rook-ceph-cluster
path: ./kubernetes/apps/default/linkwarden/app
prune: true
sourceRef:
@ -22,4 +27,3 @@ spec:
postBuild:
substitute:
APP: *app
GATUS_SUBDOMAIN: links