Skip to content

Commit

Permalink
chore: Exclude NKP-Pulse from Airgapped builds. (#2961)
Browse files Browse the repository at this point in the history
* fix: Move nkp-pulse repos to a seperate file so we can exclude them

* fix: pre-commit fixes
  • Loading branch information
kaiwalyajoshi authored Dec 19, 2024
1 parent 5268142 commit 4a12265
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .exclude-airgapped
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions common/helm-repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ resources:
- kubefed.yaml
- kubetunnel.yaml
- mesosphere-repos.yaml
- nkp-pulse-repos.yaml
- nvidia.yaml
- prometheus-community.yaml
- reloader.yaml
Expand Down
10 changes: 0 additions & 10 deletions common/helm-repositories/mesosphere-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +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-nkp-pulse-charts
namespace: kommander-flux
spec:
interval: 10m
timeout: 1m
url: "${helmMirrorURL:=https://mesosphere.github.io/nkp-pulse}"
10 changes: 10 additions & 0 deletions common/helm-repositories/nkp-pulse-repos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
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}"
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 4a12265

Please sign in to comment.