diff --git a/infrastructure/controllers/k6/kustomization.yaml b/infrastructure/controllers/k6/kustomization.yaml new file mode 100644 index 0000000..7c201cf --- /dev/null +++ b/infrastructure/controllers/k6/kustomization.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - repository.yaml diff --git a/infrastructure/controllers/k6/release.yaml b/infrastructure/controllers/k6/release.yaml new file mode 100644 index 0000000..31892c3 --- /dev/null +++ b/infrastructure/controllers/k6/release.yaml @@ -0,0 +1,14 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: k6 +spec: + chart: + spec: + chart: k6 + version: v0.57.0 + sourceRef: + kind: HelmRepository + name: k6 + interval: 10m diff --git a/infrastructure/controllers/k6/repository.yaml b/infrastructure/controllers/k6/repository.yaml new file mode 100644 index 0000000..cd39827 --- /dev/null +++ b/infrastructure/controllers/k6/repository.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: grafana +spec: + interval: 1m + url: https://grafana.github.io/helm-charts