Skip to content
Snippets Groups Projects
Commit 2a9ab28e authored by xeruf's avatar xeruf
Browse files

apps/ninja: solo it out

parent 03dbaad2
No related branches found
No related tags found
No related merge requests found
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- code-kustomization.yaml
- forge-kustomization.yaml
- ninja-kustomization.yaml
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
......
apiVersion: v1
kind: ConfigMap
metadata:
name: stackspout-invoiceninja-kustomization-variables
namespace: flux-system
data:
invoiceninja_domain: ninja.${domain}
......@@ -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}"
......
---
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment