From d7b7ae856570568b440cdf18d16143d774f3c49e Mon Sep 17 00:00:00 2001 From: Kaiwalya Joshi Date: Thu, 19 Dec 2024 23:03:54 +0000 Subject: [PATCH] fix: Move nkp-pulse repos to a seperate file so we can exclude them. --- .exclude-airgapped | 3 +++ common/helm-repositories/kustomization.yaml | 1 + common/helm-repositories/mesosphere-repos.yaml | 11 +---------- common/helm-repositories/nkp-pulse-repos.yaml | 11 +++++++++++ justfile | 1 + 5 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 common/helm-repositories/nkp-pulse-repos.yaml diff --git a/.exclude-airgapped b/.exclude-airgapped index 8a5b077a9f..4074bd08ca 100644 --- a/.exclude-airgapped +++ b/.exclude-airgapped @@ -1,3 +1,6 @@ common/helm-repositories/ai-navigator-repos.yaml services/ai-navigator-app services/ai-navigator-cluster-info-agent +common/helm-repositories/nkp-pulse-repos.yaml +services/nkp-pulse-management +services/nkp-pulse-workspace diff --git a/common/helm-repositories/kustomization.yaml b/common/helm-repositories/kustomization.yaml index 6eaf6759e9..2d6415c620 100644 --- a/common/helm-repositories/kustomization.yaml +++ b/common/helm-repositories/kustomization.yaml @@ -16,6 +16,7 @@ resources: - kubefed.yaml - kubetunnel.yaml - mesosphere-repos.yaml + - nkp-pulse-repos.yaml - nvidia.yaml - prometheus-community.yaml - reloader.yaml diff --git a/common/helm-repositories/mesosphere-repos.yaml b/common/helm-repositories/mesosphere-repos.yaml index e328f951e2..a08405f89f 100644 --- a/common/helm-repositories/mesosphere-repos.yaml +++ b/common/helm-repositories/mesosphere-repos.yaml @@ -50,13 +50,4 @@ 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-nkp-pulse-charts - namespace: kommander-flux -spec: - interval: 10m - timeout: 1m - url: "${helmMirrorURL:=https://mesosphere.github.io/nkp-pulse}" + diff --git a/common/helm-repositories/nkp-pulse-repos.yaml b/common/helm-repositories/nkp-pulse-repos.yaml new file mode 100644 index 0000000000..3877f40111 --- /dev/null +++ b/common/helm-repositories/nkp-pulse-repos.yaml @@ -0,0 +1,11 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: mesosphere.github.io-nkp-pulse-charts + namespace: kommander-flux +spec: + interval: 10m + timeout: 1m + url: "${helmMirrorURL:=https://mesosphere.github.io/nkp-pulse}" + diff --git a/justfile b/justfile index fad2a91e7c..a66db0d116 100644 --- a/justfile +++ b/justfile @@ -67,6 +67,7 @@ _cleanup: _prepare-files-for-a-bundle output_dir: rsync --quiet --archive --recursive --files-from={{ include_file }} --exclude-from={{ exclude_file }} {{ justfile_directory() }} {{ output_dir }} yq 'del(.resources[] | select(. == "ai-navigator-repos.yaml"))' --inplace {{ output_dir }}/common/helm-repositories/kustomization.yaml + yq 'del(.resources[] | select(. == "nkp-pulse-repos.yaml"))' --inplace {{ output_dir }}/common/helm-repositories/kustomization.yaml import 'just/test.just'