From 385b87a1abb8553681952de33ae5fbae79f939a2 Mon Sep 17 00:00:00 2001 From: Grace Do Date: Tue, 16 Apr 2024 14:04:54 -0700 Subject: [PATCH] refactor(helmrepos): Separate ai-navigator helmrepos into separate file --- .../helm-repositories/ai-navigator-repos.yaml | 20 +++++++++++++++++++ common/helm-repositories/kustomization.yaml | 1 + .../helm-repositories/mesosphere-repos.yaml | 20 ------------------- 3 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 common/helm-repositories/ai-navigator-repos.yaml diff --git a/common/helm-repositories/ai-navigator-repos.yaml b/common/helm-repositories/ai-navigator-repos.yaml new file mode 100644 index 000000000..4b6ef217c --- /dev/null +++ b/common/helm-repositories/ai-navigator-repos.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: mesosphere.github.io-ai-navigator-cluster-info-api-charts + namespace: kommander-flux +spec: + interval: 10m + timeout: 1m + url: "${helmMirrorURL:=https://mesosphere.github.io/ai-navigator-cluster-info-api}" +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: mesosphere.github.io-ai-navigator-cluster-info-agent-charts + namespace: kommander-flux +spec: + interval: 10m + timeout: 1m + url: "${helmMirrorURL:=https://mesosphere.github.io/ai-navigator-cluster-info-agent}" diff --git a/common/helm-repositories/kustomization.yaml b/common/helm-repositories/kustomization.yaml index bc84fc1ae..d0073d330 100644 --- a/common/helm-repositories/kustomization.yaml +++ b/common/helm-repositories/kustomization.yaml @@ -1,6 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - ai-navigator-repos.yaml - bitnami.yaml - cert-manager.yaml - dashboard.yaml diff --git a/common/helm-repositories/mesosphere-repos.yaml b/common/helm-repositories/mesosphere-repos.yaml index 9fafcff3f..2bc0f6cad 100644 --- a/common/helm-repositories/mesosphere-repos.yaml +++ b/common/helm-repositories/mesosphere-repos.yaml @@ -50,23 +50,3 @@ spec: interval: 10m timeout: 1m url: "${helmMirrorURL:=https://mesosphere.github.io/dkp-insights-charts-attached}" ---- -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: mesosphere.github.io-ai-navigator-cluster-info-api-charts - namespace: kommander-flux -spec: - interval: 10m - timeout: 1m - url: "${helmMirrorURL:=https://mesosphere.github.io/ai-navigator-cluster-info-api}" ---- -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: mesosphere.github.io-ai-navigator-cluster-info-agent-charts - namespace: kommander-flux -spec: - interval: 10m - timeout: 1m - url: "${helmMirrorURL:=https://mesosphere.github.io/ai-navigator-cluster-info-agent}"