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