apps/ninja: solo it out

This commit is contained in:
xeruf 2024-02-06 21:21:20 +01:00
parent 03dbaad254
commit 2a9ab28efe
5 changed files with 9 additions and 18 deletions

View File

@ -1,6 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- code-kustomization.yaml
- forge-kustomization.yaml
- ninja-kustomization.yaml

View File

@ -1,4 +1,3 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:

View File

@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: stackspout-invoiceninja-kustomization-variables
namespace: flux-system
data:
invoiceninja_domain: ninja.${domain}

View File

@ -12,7 +12,7 @@ data:
pullPolicy: Always
ingress:
enabled: true
hostname: "ninja.${domain}"
hostname: "${invoiceninja_domain}"
tls: true
certManager: true
annotations:
@ -44,7 +44,7 @@ data:
password: "${redis_password}"
appKey: "${app_key}"
appURL: "https://ninja.${domain}"
appURL: "https://${invoiceninja_domain}"
userEmail: "${admin_email}"
userPassword: "${password}"
mailer: "smtp" # FIXME use "${outgoing_mail_enabled}"

View File

@ -1,13 +0,0 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: add-ninja
namespace: flux-system
spec:
interval: 10m
prune: true
path: ./apps/ninja
sourceRef:
kind: GitRepository
name: stackspout