split helm-chart repositories

This commit is contained in:
auricom
2020-12-06 00:08:47 +01:00
parent baf0d1ecf8
commit e8c72fc0e5
18 changed files with 151 additions and 152 deletions

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: banzaicloud-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes-charts.banzaicloud.com
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: bitnami-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.bitnami.com/bitnami
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: drone-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.drone.io
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: fairwinds-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.fairwinds.com/stable
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: falco-security-charts
namespace: flux-system
spec:
interval: 10m
url: https://falcosecurity.github.io/charts
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: grafana-loki-charts
namespace: flux-system
spec:
interval: 10m
url: https://grafana.github.io/loki/charts
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: influxdata-charts
namespace: flux-system
spec:
interval: 10m
url: https://helm.influxdata.com/
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: infracloudio-charts
namespace: flux-system
spec:
interval: 10m
url: https://infracloudio.github.io/charts
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: ingress-nginx-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes.github.io/ingress-nginx
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: k8s-at-home-charts
namespace: flux-system
spec:
interval: 10m
url: https://k8s-at-home.com/charts/
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: kubernetes-dashboard-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes.github.io/dashboard/
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: kubernetes-sigs-descheduler-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes-sigs.github.io/descheduler
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: longhorn-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.longhorn.io
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: prometheus-community-charts
namespace: flux-system
spec:
interval: 10m
url: https://prometheus-community.github.io/helm-charts
timeout: 3m

View File

@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: twuni-charts
namespace: flux-system
spec:
interval: 10m
url: https://helm.twun.io
timeout: 3m

View File

@@ -1,150 +0,0 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: k8s-at-home-charts
namespace: flux-system
spec:
interval: 10m
url: https://k8s-at-home.com/charts/
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: prometheus-community-charts
namespace: flux-system
spec:
interval: 10m
url: https://prometheus-community.github.io/helm-charts
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: falco-security-charts
namespace: flux-system
spec:
interval: 10m
url: https://falcosecurity.github.io/charts
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: ingress-nginx-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes.github.io/ingress-nginx
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: bitnami-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.bitnami.com/bitnami
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: kubernetes-sigs-descheduler-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes-sigs.github.io/descheduler
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: fairwinds-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.fairwinds.com/stable
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: banzaicloud-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes-charts.banzaicloud.com
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: influxdata-charts
namespace: flux-system
spec:
interval: 10m
url: https://helm.influxdata.com/
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: infracloudio-charts
namespace: flux-system
spec:
interval: 10m
url: https://infracloudio.github.io/charts
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: twuni-charts
namespace: flux-system
spec:
interval: 10m
url: https://helm.twun.io
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: drone-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.drone.io
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: longhorn-charts
namespace: flux-system
spec:
interval: 10m
url: https://charts.longhorn.io
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: grafana-loki-charts
namespace: flux-system
spec:
interval: 10m
url: https://grafana.github.io/loki/charts
timeout: 3m
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: kubernetes-dashboard-charts
namespace: flux-system
spec:
interval: 10m
url: https://kubernetes.github.io/dashboard/
timeout: 3m

View File

@@ -3,5 +3,4 @@ kind: Kustomization
resources: resources:
- ./gotk-components.yaml - ./gotk-components.yaml
- ./gotk-sync.yaml - ./gotk-sync.yaml
- ./helm-chart-repositories.yaml
- ./secrets.yaml - ./secrets.yaml

View File

@@ -4,7 +4,7 @@ shopt -s globstar
# shellcheck disable=SC2155 # shellcheck disable=SC2155
REPO_ROOT=$(git rev-parse --show-toplevel) REPO_ROOT=$(git rev-parse --show-toplevel)
CLUSTER_ROOT="${REPO_ROOT}/cluster" CLUSTER_ROOT="${REPO_ROOT}/cluster"
HELM_REPOSITORIES="${CLUSTER_ROOT}/flux-system/helm-chart-repositories" HELM_REPOSITORIES="${CLUSTER_ROOT}/_helm-chart-repositories"
# Ensure yq exist # Ensure yq exist
command -v yq >/dev/null 2>&1 || { command -v yq >/dev/null 2>&1 || {