diff --git a/clustertool/.gitignore b/clustertool/.gitignore index 557670c158d3..89283c5b8bf2 100644 --- a/clustertool/.gitignore +++ b/clustertool/.gitignore @@ -17,4 +17,7 @@ ssh-public-key.txt *DS_Store .DS_Store /lvm-operator -*.DS_Store \ No newline at end of file +*.DS_Store +!/embed/** +.DS_Store +.github \ No newline at end of file diff --git a/clustertool/embed/generic/root/repositories/helm/bjw-s.yaml b/clustertool/embed/generic/root/repositories/helm/bjw-s.yaml new file mode 100644 index 000000000000..c32ccd8de528 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/bjw-s.yaml @@ -0,0 +1,11 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: bjw-s + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://ghcr.io/bjw-s/helm diff --git a/clustertool/embed/generic/root/repositories/helm/cilium.yaml b/clustertool/embed/generic/root/repositories/helm/cilium.yaml new file mode 100644 index 000000000000..2cd7146d9dd1 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/cilium.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: cilium + namespace: flux-system +spec: + interval: 2h + url: https://helm.cilium.io diff --git a/clustertool/embed/generic/root/repositories/helm/cloudnative-pg.yaml b/clustertool/embed/generic/root/repositories/helm/cloudnative-pg.yaml new file mode 100644 index 000000000000..4b2f0e615455 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/cloudnative-pg.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: cloudnative-pg + namespace: flux-system +spec: + interval: 2h + url: https://cloudnative-pg.github.io/charts diff --git a/clustertool/embed/generic/root/repositories/helm/coredns.yaml b/clustertool/embed/generic/root/repositories/helm/coredns.yaml new file mode 100644 index 000000000000..ed0bb65a9687 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/coredns.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: coredns + namespace: flux-system +spec: + interval: 2h + url: https://coredns.github.io/helm diff --git a/clustertool/embed/generic/root/repositories/helm/csi-driver-nfs.yaml b/clustertool/embed/generic/root/repositories/helm/csi-driver-nfs.yaml new file mode 100644 index 000000000000..869fce395734 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/csi-driver-nfs.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: csi-driver-nfs + namespace: flux-system +spec: + interval: 2h + url: https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts diff --git a/clustertool/embed/generic/root/repositories/helm/descheduler.yaml b/clustertool/embed/generic/root/repositories/helm/descheduler.yaml new file mode 100644 index 000000000000..147045cd2d40 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/descheduler.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: descheduler + namespace: flux-system +spec: + interval: 2h + url: https://kubernetes-sigs.github.io/descheduler diff --git a/clustertool/embed/generic/root/repositories/helm/intel.yaml b/clustertool/embed/generic/root/repositories/helm/intel.yaml new file mode 100644 index 000000000000..fb2c66b0870a --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/intel.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: intel + namespace: flux-system +spec: + interval: 2h + url: https://intel.github.io/helm-charts diff --git a/clustertool/embed/generic/root/repositories/helm/jetstack.yaml b/clustertool/embed/generic/root/repositories/helm/jetstack.yaml new file mode 100644 index 000000000000..4bc09d02a78f --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/jetstack.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: jetstack + namespace: flux-system +spec: + interval: 2h + url: https://charts.jetstack.io/ diff --git a/clustertool/embed/generic/root/repositories/helm/kubernetes-sigs-metrics-server.yaml b/clustertool/embed/generic/root/repositories/helm/kubernetes-sigs-metrics-server.yaml new file mode 100644 index 000000000000..76ceb47e133a --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/kubernetes-sigs-metrics-server.yaml @@ -0,0 +1,10 @@ +# yaml-language-server: $schema=https://kubernetes-schemas.zinn.ca/source.toolkit.fluxcd.io/helmrepository_v1beta2.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: kubernetes-sigs-metrics-server + namespace: flux-system +spec: + interval: 30m + url: https://kubernetes-sigs.github.io/metrics-server/ + timeout: 3m diff --git a/clustertool/embed/generic/root/repositories/helm/kustomization.yaml b/clustertool/embed/generic/root/repositories/helm/kustomization.yaml new file mode 100644 index 000000000000..f45b04a14064 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/kustomization.yaml @@ -0,0 +1,31 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +metadata: + name: helm-repos + namespace: flux-system +resources: + - bjw-s.yaml + - cilium.yaml + - cloudnative-pg.yaml + - coredns.yaml + - csi-driver-nfs.yaml + - descheduler.yaml + - intel.yaml + - jetstack.yaml + - kubernetes-sigs-metrics-server.yaml + - kustomization.yaml + - kyverno.yaml + - longhorn.yaml + - metallb.yaml + - metrics-server.yaml + - node-feature-discovery.yaml + - nvidia.yaml + - openebs.yaml + - piraeus.yaml + - postfinance.yaml + - prometheus-community.yaml + - spegel.yaml + - stakater.yaml + - topolvm.yaml + - truecharts.yaml +# more goes here! diff --git a/clustertool/embed/generic/root/repositories/helm/kyverno.yaml b/clustertool/embed/generic/root/repositories/helm/kyverno.yaml new file mode 100644 index 000000000000..b86efb0a7ad4 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/kyverno.yaml @@ -0,0 +1,11 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: kyverno + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://ghcr.io/kyverno/charts diff --git a/clustertool/embed/generic/root/repositories/helm/longhorn.yaml b/clustertool/embed/generic/root/repositories/helm/longhorn.yaml new file mode 100644 index 000000000000..72c7b08cfa0d --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/longhorn.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: longhorn + namespace: flux-system +spec: + interval: 2h + url: https://charts.longhorn.io diff --git a/clustertool/embed/generic/root/repositories/helm/metallb.yaml b/clustertool/embed/generic/root/repositories/helm/metallb.yaml new file mode 100644 index 000000000000..582103f6ba67 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/metallb.yaml @@ -0,0 +1,9 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: metallb + namespace: flux-system +spec: + interval: 10m + url: https://metallb.github.io/metallb + timeout: 3m diff --git a/clustertool/embed/generic/root/repositories/helm/metrics-server.yaml b/clustertool/embed/generic/root/repositories/helm/metrics-server.yaml new file mode 100644 index 000000000000..5b2d20f03a5a --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/metrics-server.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: metrics-server + namespace: flux-system +spec: + interval: 2h + url: https://kubernetes-sigs.github.io/metrics-server diff --git a/clustertool/embed/generic/root/repositories/helm/node-feature-discovery.yaml b/clustertool/embed/generic/root/repositories/helm/node-feature-discovery.yaml new file mode 100644 index 000000000000..5e45d5a828fc --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/node-feature-discovery.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: node-feature-discovery + namespace: flux-system +spec: + interval: 2h + url: https://kubernetes-sigs.github.io/node-feature-discovery/charts diff --git a/clustertool/embed/generic/root/repositories/helm/nvidia.yaml b/clustertool/embed/generic/root/repositories/helm/nvidia.yaml new file mode 100644 index 000000000000..15b22d74d509 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/nvidia.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: nvidia + namespace: flux-system +spec: + interval: 2h + url: https://helm.ngc.nvidia.com/nvidia diff --git a/clustertool/embed/generic/root/repositories/helm/openebs.yaml b/clustertool/embed/generic/root/repositories/helm/openebs.yaml new file mode 100644 index 000000000000..139303866ebc --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/openebs.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: openebs + namespace: flux-system +spec: + interval: 2h + url: https://openebs.github.io/openebs diff --git a/clustertool/embed/generic/root/repositories/helm/piraeus.yaml b/clustertool/embed/generic/root/repositories/helm/piraeus.yaml new file mode 100644 index 000000000000..4fe31ddb0ef5 --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/piraeus.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: piraeus + namespace: flux-system +spec: + interval: 2h + url: https://piraeus.io/helm-charts/ diff --git a/clustertool/embed/generic/root/repositories/helm/postfinance.yaml b/clustertool/embed/generic/root/repositories/helm/postfinance.yaml new file mode 100644 index 000000000000..015568bfcf7e --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/postfinance.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: postfinance + namespace: flux-system +spec: + interval: 2h + url: https://postfinance.github.io/kubelet-csr-approver diff --git a/clustertool/embed/generic/root/repositories/helm/prometheus-community.yaml b/clustertool/embed/generic/root/repositories/helm/prometheus-community.yaml new file mode 100644 index 000000000000..78c4f0c0fd5d --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/prometheus-community.yaml @@ -0,0 +1,11 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: prometheus-community + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://ghcr.io/prometheus-community/charts diff --git a/clustertool/embed/generic/root/repositories/helm/spegel.yaml b/clustertool/embed/generic/root/repositories/helm/spegel.yaml new file mode 100644 index 000000000000..0350b3adbcef --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/spegel.yaml @@ -0,0 +1,11 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: spegel + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://ghcr.io/spegel-org/helm-charts diff --git a/clustertool/embed/generic/root/repositories/helm/stakater.yaml b/clustertool/embed/generic/root/repositories/helm/stakater.yaml new file mode 100644 index 000000000000..838185d0666e --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/stakater.yaml @@ -0,0 +1,11 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: stakater + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://ghcr.io/stakater/charts diff --git a/clustertool/embed/generic/root/repositories/helm/topolvm.yaml b/clustertool/embed/generic/root/repositories/helm/topolvm.yaml new file mode 100644 index 000000000000..3b438b609dfd --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/topolvm.yaml @@ -0,0 +1,10 @@ +--- +# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: topolvm + namespace: flux-system +spec: + interval: 2h + url: https://topolvm.github.io/topolvm diff --git a/clustertool/embed/generic/root/repositories/helm/truecharts.yaml b/clustertool/embed/generic/root/repositories/helm/truecharts.yaml new file mode 100644 index 000000000000..f6b21705549b --- /dev/null +++ b/clustertool/embed/generic/root/repositories/helm/truecharts.yaml @@ -0,0 +1,10 @@ +# yaml-language-server: $schema=https://kubernetes-schemas.zinn.ca/source.toolkit.fluxcd.io/helmrepository_v1beta2.json +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: truecharts + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://tccr.io/truecharts