Fix kustomization versions
Because k8s and fluxcd have differing versions
This commit is contained in:
parent
8f20ef2c4d
commit
96506e7ee8
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: stackspout-apps
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: gitea
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- gitea-release.yaml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- vikunja-oauth-client.yaml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: vikunja
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: vikunja-test
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- vikunja-oauth-client.yaml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: stackspout-apps
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: forgejo
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Generates kubernetes kustomizations
|
||||
if test $# -gt 0
|
||||
then dir=$1
|
||||
{ echo 'apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
{ echo 'apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:'
|
||||
find $dir -maxdepth 1 -type f -name "*.yaml" -not -name "kustomization.yaml" -printf " - %f\n"; } | tee $dir/kustomization.yaml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ninja-kustomization.yaml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: add-ninja
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: invoiceninja
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: invoiceninja-secrets
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- invoiceninja-variables.yaml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- invoiceninja-mariadb-pvc.yaml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta2
|
||||
apiVersion: kustomize.config.k8s.io/v1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- suitecrm-values-configmap.yaml
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: zammad
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: stackspout-apps
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: stackspout-namespace
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: stackspout-overrides
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: stackspout-sources
|
||||
|
|
Loading…
Reference in New Issue