Skip to content

Commit df66a4e

Browse files
committed
feat: add kube-prometheus-stack configuration with HelmRelease, HelmRepository, and associated resources for monitoring setup
1 parent 4dc03c0 commit df66a4e

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

cluster/lab/monitoring.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
2-
# kind: Kustomization
3-
# metadata:
4-
# name: monitoring
5-
# namespace: flux-system
6-
# spec:
7-
# interval: 1m0s
8-
# retryInterval: 1m
9-
# timeout: 5m
10-
# sourceRef:
11-
# kind: GitRepository
12-
# name: flux-system
13-
# path: ./monitoring/controllers/lab
14-
# prune: true
1+
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
2+
kind: Kustomization
3+
metadata:
4+
name: monitoring
5+
namespace: flux-system
6+
spec:
7+
interval: 1m0s
8+
retryInterval: 1m
9+
timeout: 5m
10+
sourceRef:
11+
kind: GitRepository
12+
name: flux-system
13+
path: ./monitoring/lab
14+
prune: true

monitoring/controllers/base/kube-prometheus-stack/release.yaml renamed to monitoring/base/kube-prometheus-stack/helmRelease.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
chart:
99
spec:
1010
chart: kube-prometheus-stack
11-
version: "70.3.0"
11+
version: "78.3.0"
1212
sourceRef:
1313
kind: HelmRepository
1414
name: kube-prometheus-stack

monitoring/controllers/base/kube-prometheus-stack/repository.yaml renamed to monitoring/base/kube-prometheus-stack/helmRepository.yaml

File renamed without changes.

monitoring/controllers/base/kube-prometheus-stack/kustomization.yaml renamed to monitoring/base/kube-prometheus-stack/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- namespace.yaml
5-
- repository.yaml
6-
- release.yaml
5+
- helmRepository.yaml
6+
- helmRelease.yaml

monitoring/controllers/base/kube-prometheus-stack/namespace.yaml renamed to monitoring/base/kube-prometheus-stack/namespace.yaml

File renamed without changes.

monitoring/controllers/lab/kube-prometheus-stack/kustomization.yaml renamed to monitoring/lab/kube-prometheus-stack/kustomization.yaml

File renamed without changes.

monitoring/controllers/lab/kube-prometheus-stack/values.yaml renamed to monitoring/lab/kube-prometheus-stack/values.yaml

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)