Skip to content

Commit

Permalink
fix: helm repository path for older kafka operator (2.7) (#163)
Browse files Browse the repository at this point in the history
* fix(kafka-operator): use helm mirrors

* fix: helm repository path for older kafka operator

* chore: validate all services
  • Loading branch information
mhrabovcin authored Oct 11, 2024
1 parent bf98d2a commit 4e53bea
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .bloodhound.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ k8s_versions:

# paths to load (in that order)
paths:
- services/zookeeper-operator
- services/kafka-operator/0.25.1
- helm-repositories
- services

# use strict validation (reject unknown fields in resources)
strict: true
Expand Down
11 changes: 11 additions & 0 deletions helm-repositories/banzaicloud-mirror/banzaicloud-mirror.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: kubernetes-charts.banzaicloud.com-mirror
namespace: ${workspaceNamespace}
labels:
kommander.d2iq.io/dkp-airgapped: supported
spec:
url: "${helmMirrorURL:=https://mesosphere.github.io/charts/staging}"
interval: 10m
4 changes: 4 additions & 0 deletions helm-repositories/banzaicloud-mirror/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- banzaicloud-mirror.yaml
1 change: 1 addition & 0 deletions helm-repositories/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- banzaicloud
- banzaicloud-mirror
- pravega
2 changes: 1 addition & 1 deletion services/kafka-operator/0.20.0/kafka-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
chart: kafka-operator
sourceRef:
kind: HelmRepository
name: kubernetes-charts.banzaicloud.com
name: kubernetes-charts.banzaicloud.com-mirror
namespace: ${workspaceNamespace}
version: 0.20.0
interval: 15s
Expand Down
2 changes: 1 addition & 1 deletion services/kafka-operator/0.20.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- kafka-operator.yaml
- ../../../helm-repositories/banzaicloud
- ../../../helm-repositories/banzaicloud-mirror
2 changes: 1 addition & 1 deletion services/kafka-operator/0.20.2/kafka-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
chart: kafka-operator
sourceRef:
kind: HelmRepository
name: kubernetes-charts.banzaicloud.com
name: kubernetes-charts.banzaicloud.com-mirror
namespace: ${workspaceNamespace}
version: 0.20.2
interval: 15s
Expand Down
2 changes: 1 addition & 1 deletion services/kafka-operator/0.20.2/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- kafka-operator.yaml
- ../../../helm-repositories/banzaicloud
- ../../../helm-repositories/banzaicloud-mirror
2 changes: 1 addition & 1 deletion services/kafka-operator/0.23.0-dev.0/kafka-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
chart: kafka-operator
sourceRef:
kind: HelmRepository
name: kubernetes-charts.banzaicloud.com
name: kubernetes-charts.banzaicloud.com-mirror
namespace: ${workspaceNamespace}
version: 0.23.0-dev.0
interval: 15s
Expand Down
2 changes: 1 addition & 1 deletion services/kafka-operator/0.23.0-dev.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- kafka-operator.yaml
- ../../../helm-repositories/banzaicloud
- ../../../helm-repositories/banzaicloud-mirror

0 comments on commit 4e53bea

Please sign in to comment.