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: template:
engineVersion: v2 engineVersion: v2
data: data:
NEXTAUTH_URL: "https://links.hsn.dev/api/v1/auth"
NEXTAUTH_SECRET: "{{ .LINKWARDEN_NEXTAUTH_SECRET }}" NEXTAUTH_SECRET: "{{ .LINKWARDEN_NEXTAUTH_SECRET }}"
LINKWARDEN_POSTGRES_REAL_HOST: "postgres-primary-real.database.svc" LINKWARDEN_POSTGRES_REAL_HOST: "postgres-primary-real.database.svc"
DATABASE_URL: |- DATABASE_URL: |-

View file

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

View file

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

View file

@ -10,6 +10,11 @@ spec:
commonMetadata: commonMetadata:
labels: labels:
app.kubernetes.io/name: *app 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 path: ./kubernetes/apps/default/linkwarden/app
prune: true prune: true
sourceRef: sourceRef:
@ -22,4 +27,3 @@ spec:
postBuild: postBuild:
substitute: substitute:
APP: *app APP: *app
GATUS_SUBDOMAIN: links