diff --git a/infrastructure/controllers/k6-operator/kustomization.yaml b/infrastructure/controllers/k6-operator/kustomization.yaml new file mode 100644 index 0000000..4a8c5bd --- /dev/null +++ b/infrastructure/controllers/k6-operator/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - repository.yaml + - release.yaml diff --git a/infrastructure/controllers/k6-operator/release.yaml b/infrastructure/controllers/k6-operator/release.yaml new file mode 100644 index 0000000..eae56c9 --- /dev/null +++ b/infrastructure/controllers/k6-operator/release.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: k6-operator + namespace: default +spec: + interval: 10m + chart: + spec: + chart: k6-operator + version: 3.11.0 + sourceRef: + kind: HelmRepository + name: grafana + interval: 10m diff --git a/infrastructure/controllers/k6-operator/repository.yaml b/infrastructure/controllers/k6-operator/repository.yaml new file mode 100644 index 0000000..a6d22db --- /dev/null +++ b/infrastructure/controllers/k6-operator/repository.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: grafana + namespace: default +spec: + interval: 1m + url: https://grafana.github.io/helm-charts