commit f7c0f2524577d2d117d4b114308804c47d758212 parent 3c4b7ec86682dd4bf7c6ffbb4766999b9bfc5387 Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 19 Mar 2023 21:16:46 +0100 Fix flux dashboards deployment Diffstat:
| M | clusters/production/infrastructure.yaml | | | 21 | +++++++++++++++++++++ |
| M | infrastructure/configs/flux-grafana.yaml | | | 17 | ----------------- |
2 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/clusters/production/infrastructure.yaml b/clusters/production/infrastructure.yaml @@ -75,3 +75,24 @@ spec: provider: sops secretRef: name: sops-age +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +kind: Kustomization +metadata: + name: monitoring-config + namespace: flux-system +spec: + dependsOn: + - name: apps + interval: 1h0m0s + path: ./manifests/monitoring/monitoring-config + prune: true + sourceRef: + kind: GitRepository + name: flux-monitoring + timeout: 1m0s + wait: true + decryption: + provider: sops + secretRef: + name: sops-age diff --git a/infrastructure/configs/flux-grafana.yaml b/infrastructure/configs/flux-grafana.yaml @@ -10,23 +10,6 @@ spec: branch: main url: https://github.com/fluxcd/flux2 --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 -kind: Kustomization -metadata: - name: monitoring-config - namespace: flux-system -spec: - dependsOn: - - name: apps - interval: 1h0m0s - path: ./manifests/monitoring/monitoring-config - prune: true - sourceRef: - kind: GitRepository - name: flux-monitoring - timeout: 1m0s - wait: true ---- apiVersion: notification.toolkit.fluxcd.io/v1beta2 kind: Alert metadata: