From 94ce8ad0f825d168ff88cd20dc2ac1d19f06fb7b Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 1 Nov 2023 15:16:14 -0500 Subject: [PATCH] Added schemas. --- kubernetes/flux/repositories/helm/bitnami.yaml | 1 + kubernetes/flux/repositories/helm/bjw-s.yaml | 1 + kubernetes/flux/repositories/helm/cilium.yaml | 1 + kubernetes/flux/repositories/helm/cloudnative-pg.yaml | 1 + kubernetes/flux/repositories/helm/crowdsec.yaml | 1 + kubernetes/flux/repositories/helm/crunchydata.yaml | 2 +- kubernetes/flux/repositories/helm/dragonflydb.yaml | 1 + kubernetes/flux/repositories/helm/elastic.yaml | 1 + .../flux/repositories/helm/external-secrets.yaml | 1 + kubernetes/flux/repositories/helm/fairwinds.yaml | 1 + kubernetes/flux/repositories/helm/grafana.yaml | 1 + kubernetes/flux/repositories/helm/hetzner.yaml | 1 + kubernetes/flux/repositories/helm/ingress-nginx.yaml | 1 + kubernetes/flux/repositories/helm/jahanson.yaml | 1 + kubernetes/flux/repositories/helm/jetstack.yaml | 1 + .../helm/kubernetes-sigs-external-dns.yaml | 1 + .../helm/kubernetes-sigs-metrics-server.yaml | 1 + kubernetes/flux/repositories/helm/kustomization.yaml | 3 +-- kubernetes/flux/repositories/helm/kyverno.yaml | 1 + kubernetes/flux/repositories/helm/piraeus.yaml | 1 + kubernetes/flux/repositories/helm/postfinance.yaml | 1 + .../flux/repositories/helm/prometheus-community.yaml | 1 + kubernetes/flux/repositories/helm/redis-operator.yaml | 10 ---------- kubernetes/flux/repositories/helm/rook-ceph.yaml | 1 + kubernetes/flux/repositories/helm/stakater.yaml | 1 + kubernetes/flux/repositories/kustomization.yaml | 1 + 26 files changed, 25 insertions(+), 13 deletions(-) delete mode 100644 kubernetes/flux/repositories/helm/redis-operator.yaml diff --git a/kubernetes/flux/repositories/helm/bitnami.yaml b/kubernetes/flux/repositories/helm/bitnami.yaml index 94200c2..fb7cde5 100644 --- a/kubernetes/flux/repositories/helm/bitnami.yaml +++ b/kubernetes/flux/repositories/helm/bitnami.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/bjw-s.yaml b/kubernetes/flux/repositories/helm/bjw-s.yaml index dede5a1..bdded62 100644 --- a/kubernetes/flux/repositories/helm/bjw-s.yaml +++ b/kubernetes/flux/repositories/helm/bjw-s.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/cilium.yaml b/kubernetes/flux/repositories/helm/cilium.yaml index b489c52..f5610f6 100644 --- a/kubernetes/flux/repositories/helm/cilium.yaml +++ b/kubernetes/flux/repositories/helm/cilium.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/cloudnative-pg.yaml b/kubernetes/flux/repositories/helm/cloudnative-pg.yaml index 7cb08a4..3711025 100644 --- a/kubernetes/flux/repositories/helm/cloudnative-pg.yaml +++ b/kubernetes/flux/repositories/helm/cloudnative-pg.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/crowdsec.yaml b/kubernetes/flux/repositories/helm/crowdsec.yaml index 30b280e..7457b55 100644 --- a/kubernetes/flux/repositories/helm/crowdsec.yaml +++ b/kubernetes/flux/repositories/helm/crowdsec.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/crunchydata.yaml b/kubernetes/flux/repositories/helm/crunchydata.yaml index 49480f8..54a79d7 100644 --- a/kubernetes/flux/repositories/helm/crunchydata.yaml +++ b/kubernetes/flux/repositories/helm/crunchydata.yaml @@ -1,5 +1,5 @@ --- -# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrepository-source-v1beta2.json +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/dragonflydb.yaml b/kubernetes/flux/repositories/helm/dragonflydb.yaml index eedaeee..1864e86 100644 --- a/kubernetes/flux/repositories/helm/dragonflydb.yaml +++ b/kubernetes/flux/repositories/helm/dragonflydb.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/elastic.yaml b/kubernetes/flux/repositories/helm/elastic.yaml index 0e546eb..0519e69 100644 --- a/kubernetes/flux/repositories/helm/elastic.yaml +++ b/kubernetes/flux/repositories/helm/elastic.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/external-secrets.yaml b/kubernetes/flux/repositories/helm/external-secrets.yaml index 65405ea..2263ec9 100644 --- a/kubernetes/flux/repositories/helm/external-secrets.yaml +++ b/kubernetes/flux/repositories/helm/external-secrets.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/fairwinds.yaml b/kubernetes/flux/repositories/helm/fairwinds.yaml index e678885..d72d577 100644 --- a/kubernetes/flux/repositories/helm/fairwinds.yaml +++ b/kubernetes/flux/repositories/helm/fairwinds.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/grafana.yaml b/kubernetes/flux/repositories/helm/grafana.yaml index 7b1df32..5324848 100644 --- a/kubernetes/flux/repositories/helm/grafana.yaml +++ b/kubernetes/flux/repositories/helm/grafana.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/hetzner.yaml b/kubernetes/flux/repositories/helm/hetzner.yaml index 668285e..554be37 100644 --- a/kubernetes/flux/repositories/helm/hetzner.yaml +++ b/kubernetes/flux/repositories/helm/hetzner.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/ingress-nginx.yaml b/kubernetes/flux/repositories/helm/ingress-nginx.yaml index 88db994..ca4b65d 100644 --- a/kubernetes/flux/repositories/helm/ingress-nginx.yaml +++ b/kubernetes/flux/repositories/helm/ingress-nginx.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/jahanson.yaml b/kubernetes/flux/repositories/helm/jahanson.yaml index 76656f2..5a692e1 100644 --- a/kubernetes/flux/repositories/helm/jahanson.yaml +++ b/kubernetes/flux/repositories/helm/jahanson.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/jetstack.yaml b/kubernetes/flux/repositories/helm/jetstack.yaml index 36247c8..4a089fc 100644 --- a/kubernetes/flux/repositories/helm/jetstack.yaml +++ b/kubernetes/flux/repositories/helm/jetstack.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/kubernetes-sigs-external-dns.yaml b/kubernetes/flux/repositories/helm/kubernetes-sigs-external-dns.yaml index c4bebfc..54422de 100644 --- a/kubernetes/flux/repositories/helm/kubernetes-sigs-external-dns.yaml +++ b/kubernetes/flux/repositories/helm/kubernetes-sigs-external-dns.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/kubernetes-sigs-metrics-server.yaml b/kubernetes/flux/repositories/helm/kubernetes-sigs-metrics-server.yaml index 97a2b8f..737039e 100644 --- a/kubernetes/flux/repositories/helm/kubernetes-sigs-metrics-server.yaml +++ b/kubernetes/flux/repositories/helm/kubernetes-sigs-metrics-server.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/kustomization.yaml b/kubernetes/flux/repositories/helm/kustomization.yaml index 981777b..80fbe93 100644 --- a/kubernetes/flux/repositories/helm/kustomization.yaml +++ b/kubernetes/flux/repositories/helm/kustomization.yaml @@ -1,5 +1,5 @@ -# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json --- +# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: @@ -26,7 +26,6 @@ resources: - piraeus.yaml - postfinance.yaml - prometheus-community.yaml - - redis-operator.yaml - rook-ceph.yaml - stakater.yaml # - weave-gitops.yaml diff --git a/kubernetes/flux/repositories/helm/kyverno.yaml b/kubernetes/flux/repositories/helm/kyverno.yaml index 68a7740..a3b88c4 100644 --- a/kubernetes/flux/repositories/helm/kyverno.yaml +++ b/kubernetes/flux/repositories/helm/kyverno.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/piraeus.yaml b/kubernetes/flux/repositories/helm/piraeus.yaml index 211e104..8ea2897 100644 --- a/kubernetes/flux/repositories/helm/piraeus.yaml +++ b/kubernetes/flux/repositories/helm/piraeus.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/postfinance.yaml b/kubernetes/flux/repositories/helm/postfinance.yaml index 30d5771..cdaf666 100644 --- a/kubernetes/flux/repositories/helm/postfinance.yaml +++ b/kubernetes/flux/repositories/helm/postfinance.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/prometheus-community.yaml b/kubernetes/flux/repositories/helm/prometheus-community.yaml index a97a3d4..23973fc 100644 --- a/kubernetes/flux/repositories/helm/prometheus-community.yaml +++ b/kubernetes/flux/repositories/helm/prometheus-community.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/redis-operator.yaml b/kubernetes/flux/repositories/helm/redis-operator.yaml deleted file mode 100644 index 01400c8..0000000 --- a/kubernetes/flux/repositories/helm/redis-operator.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: redis-operator - namespace: flux-system -spec: - interval: 2h - url: https://spotahome.github.io/redis-operator diff --git a/kubernetes/flux/repositories/helm/rook-ceph.yaml b/kubernetes/flux/repositories/helm/rook-ceph.yaml index 957b434..b8003e6 100644 --- a/kubernetes/flux/repositories/helm/rook-ceph.yaml +++ b/kubernetes/flux/repositories/helm/rook-ceph.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/helm/stakater.yaml b/kubernetes/flux/repositories/helm/stakater.yaml index f75b633..e8a14f7 100644 --- a/kubernetes/flux/repositories/helm/stakater.yaml +++ b/kubernetes/flux/repositories/helm/stakater.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: diff --git a/kubernetes/flux/repositories/kustomization.yaml b/kubernetes/flux/repositories/kustomization.yaml index 9c02cd4..219c6e2 100644 --- a/kubernetes/flux/repositories/kustomization.yaml +++ b/kubernetes/flux/repositories/kustomization.yaml @@ -1,4 +1,5 @@ --- +# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: flux-system