Skip to content

Commit

Permalink
fix(release): Omit ai-nav helmrepos from bundle (#2135) (#2136)
Browse files Browse the repository at this point in the history
* refactor(helmrepos): Separate ai-navigator helmrepos into separate file

* fix(release): Omit ai-nav helmrepos from bundle
  • Loading branch information
gracedo authored Apr 19, 2024
1 parent f030f9a commit 92e00f4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 22 deletions.
20 changes: 20 additions & 0 deletions common/helm-repositories/ai-navigator-repos.yaml
Original file line number Diff line number Diff line change
@@ -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}"
1 change: 1 addition & 0 deletions common/helm-repositories/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ai-navigator-repos.yaml
- bitnami.yaml
- cert-manager.yaml
- dashboard.yaml
Expand Down
20 changes: 0 additions & 20 deletions common/helm-repositories/mesosphere-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
6 changes: 4 additions & 2 deletions make/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ release:
# the connected customers download the k-apps from GitHub where it is still present
git archive --format "tar.gz" -o $(ARCHIVE_NAME) \
$(GIT_TAG) -- \
common services charts ":(exclude)services/ai-navigator-app" \
common services charts ":(exclude)services/ai-navigator-cluster-info-agent"
common services charts \
":(exclude)common/helm-repositories/ai-navigator-repos.yaml" \
":(exclude)services/ai-navigator-app" \
":(exclude)services/ai-navigator-cluster-info-agent"
aws s3 cp --acl $(S3_ACL) $(ARCHIVE_NAME) s3://$(S3_BUCKET)/$(S3_PATH)/
echo "Published to $(PUBLISHED_URL)"
ifeq (,$(findstring dev,$(GIT_TAG)))
Expand Down

0 comments on commit 92e00f4

Please sign in to comment.