From e2163fd25169956f700b1b866c3c04c49971ad58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=98eho=C5=99?= Date: Sat, 17 Aug 2024 20:34:52 +0200 Subject: [PATCH] fix(prometheus-operator-crds): add missing helm repository --- .../observability/prometheus-operator-crds/ks.yaml | 2 +- .../main/flux/repositories/helm/kustomization.yaml | 1 + .../flux/repositories/helm/prometheus-community.yaml | 10 ++++++++++ .../observability/prometheus-operator-crds/ks.yaml | 2 +- .../storage/flux/repositories/helm/kustomization.yaml | 1 + .../flux/repositories/helm/prometheus-community.yaml | 10 ++++++++++ 6 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 kubernetes/main/flux/repositories/helm/prometheus-community.yaml create mode 100644 kubernetes/storage/flux/repositories/helm/prometheus-community.yaml diff --git a/kubernetes/main/apps/observability/prometheus-operator-crds/ks.yaml b/kubernetes/main/apps/observability/prometheus-operator-crds/ks.yaml index 618809cf..18eaedc1 100644 --- a/kubernetes/main/apps/observability/prometheus-operator-crds/ks.yaml +++ b/kubernetes/main/apps/observability/prometheus-operator-crds/ks.yaml @@ -14,7 +14,7 @@ spec: prune: false # never should be deleted sourceRef: kind: GitRepository - name: home-kubernetes + name: home-ops wait: false interval: 30m retryInterval: 1m diff --git a/kubernetes/main/flux/repositories/helm/kustomization.yaml b/kubernetes/main/flux/repositories/helm/kustomization.yaml index 9bfacbd1..2b9ebb2b 100644 --- a/kubernetes/main/flux/repositories/helm/kustomization.yaml +++ b/kubernetes/main/flux/repositories/helm/kustomization.yaml @@ -19,6 +19,7 @@ resources: - ./node-feature-discovery.yaml - ./openebs-zfs-localpv.yaml - ./openebs.yaml + - ./prometheus-community.yaml - ./rook-ceph.yaml - ./piraeus.yaml - ./stakater.yaml diff --git a/kubernetes/main/flux/repositories/helm/prometheus-community.yaml b/kubernetes/main/flux/repositories/helm/prometheus-community.yaml new file mode 100644 index 00000000..318a1a51 --- /dev/null +++ b/kubernetes/main/flux/repositories/helm/prometheus-community.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: prometheus-community + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://ghcr.io/prometheus-community/charts diff --git a/kubernetes/storage/apps/observability/prometheus-operator-crds/ks.yaml b/kubernetes/storage/apps/observability/prometheus-operator-crds/ks.yaml index 18d47dd9..3f052811 100644 --- a/kubernetes/storage/apps/observability/prometheus-operator-crds/ks.yaml +++ b/kubernetes/storage/apps/observability/prometheus-operator-crds/ks.yaml @@ -14,7 +14,7 @@ spec: prune: false # never should be deleted sourceRef: kind: GitRepository - name: home-kubernetes + name: home-ops wait: false interval: 30m retryInterval: 1m diff --git a/kubernetes/storage/flux/repositories/helm/kustomization.yaml b/kubernetes/storage/flux/repositories/helm/kustomization.yaml index 6b3bdb1f..a5775f8e 100644 --- a/kubernetes/storage/flux/repositories/helm/kustomization.yaml +++ b/kubernetes/storage/flux/repositories/helm/kustomization.yaml @@ -12,5 +12,6 @@ resources: - ./metrics-server.yaml - ./openebs-zfs-localpv.yaml - ./openebs.yaml + - ./prometheus-community.yaml - ./piraeus.yaml - ./stakater.yaml diff --git a/kubernetes/storage/flux/repositories/helm/prometheus-community.yaml b/kubernetes/storage/flux/repositories/helm/prometheus-community.yaml new file mode 100644 index 00000000..318a1a51 --- /dev/null +++ b/kubernetes/storage/flux/repositories/helm/prometheus-community.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: prometheus-community + namespace: flux-system +spec: + type: oci + interval: 5m + url: oci://ghcr.io/prometheus-community/charts