apps/ninja: move kustomization variables to fix substitution
This commit is contained in:
parent
3f1d5feb1b
commit
b90c9c236a
|
@ -1,13 +0,0 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: stackspout-apps
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 10m
|
|
||||||
retryInterval: 2m
|
|
||||||
prune: true
|
|
||||||
path: ./apps/code
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: stackspout
|
|
|
@ -1,13 +0,0 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: stackspout-apps
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 10m
|
|
||||||
retryInterval: 2m
|
|
||||||
prune: true
|
|
||||||
path: ./apps/forge
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: stackspout
|
|
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- ninja-kustomization.yaml
|
|
|
@ -24,11 +24,11 @@ spec:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: stackspin-cluster-variables
|
name: stackspin-cluster-variables
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: stackspout-invoiceninja-variables
|
name: stackspin-invoiceninja-variables
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: stackspout-invoiceninja-kustomization-variables
|
name: stackspout-invoiceninja-kustomization-variables
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: stackspout-invoiceninja-oauth-variables
|
name: stackspin-invoiceninja-oauth-variables
|
||||||
optional: true
|
optional: true
|
||||||
- kind: ConfigMap
|
- kind: ConfigMap
|
||||||
name: stackspin-single-sign-on-kustomization-variables
|
name: stackspin-single-sign-on-kustomization-variables
|
||||||
|
|
|
@ -16,3 +16,7 @@ spec:
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: flux
|
- name: flux
|
||||||
- name: secrets-controller
|
- name: secrets-controller
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: Secret
|
||||||
|
name: stackspin-cluster-variables
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||||
kind: StringSecret
|
kind: StringSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: stackspout-invoiceninja-oauth-variables
|
name: stackspin-invoiceninja-oauth-variables
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||||
kind: StringSecret
|
kind: StringSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: stackspout-invoiceninja-variables
|
name: stackspin-invoiceninja-variables
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
spec:
|
spec:
|
||||||
fields:
|
fields:
|
||||||
|
|
|
@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- invoiceninja-variables.yaml
|
- invoiceninja-variables.yaml
|
||||||
|
- invoiceninja-kustomization-variables.yaml
|
||||||
|
|
Loading…
Reference in New Issue