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
|
||||
name: stackspin-cluster-variables
|
||||
- kind: Secret
|
||||
name: stackspout-invoiceninja-variables
|
||||
name: stackspin-invoiceninja-variables
|
||||
- kind: ConfigMap
|
||||
name: stackspout-invoiceninja-kustomization-variables
|
||||
- kind: Secret
|
||||
name: stackspout-invoiceninja-oauth-variables
|
||||
name: stackspin-invoiceninja-oauth-variables
|
||||
optional: true
|
||||
- kind: ConfigMap
|
||||
name: stackspin-single-sign-on-kustomization-variables
|
||||
|
|
|
@ -16,3 +16,7 @@ spec:
|
|||
dependsOn:
|
||||
- name: flux
|
||||
- name: secrets-controller
|
||||
postBuild:
|
||||
substituteFrom:
|
||||
- kind: Secret
|
||||
name: stackspin-cluster-variables
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||
kind: StringSecret
|
||||
metadata:
|
||||
name: stackspout-invoiceninja-oauth-variables
|
||||
name: stackspin-invoiceninja-oauth-variables
|
||||
namespace: flux-system
|
||||
spec:
|
||||
data:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||
kind: StringSecret
|
||||
metadata:
|
||||
name: stackspout-invoiceninja-variables
|
||||
name: stackspin-invoiceninja-variables
|
||||
namespace: flux-system
|
||||
spec:
|
||||
fields:
|
||||
|
|
|
@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- invoiceninja-variables.yaml
|
||||
- invoiceninja-kustomization-variables.yaml
|
||||
|
|
Loading…
Reference in New Issue