Skip to content

Commit

Permalink
enable kube-prometheus stack (#250)
Browse files Browse the repository at this point in the history
Co-authored-by: Ronald Philipsen <[email protected]>
  • Loading branch information
RonaldPhilipsen and Ronald Philipsen authored Feb 1, 2025
1 parent 370b3a8 commit dc9be18
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions kubernetes/apps/observability/kube-prometheus-stack/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &appname kube-prometheus-stack
namespace: flux-system
spec:
commonMetadata:
labels:
app.kubernetes.io/name: *appname
dependsOn:
- name: onepassword-connect
interval: 30m
timeout: 5m
path: "./kubernetes/apps/observability/kube-prometheus-stack/app"
prune: true
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
targetNamespace: observability
wait: false
1 change: 1 addition & 0 deletions kubernetes/apps/observability/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./grafana/ks.yaml
- ./kube-prometheus-stack/ks.yaml
- ./prometheus-operator-crds/ks.yaml
components:
- ../../components/namespace
Expand Down

0 comments on commit dc9be18

Please sign in to comment.