apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: monitoring

resources: 
  - namespace.yaml
  # prometheus-operator crds
  - https://github.com/prometheus-operator/prometheus-operator?ref=v0.82.0
  # single prometheus instance with a thanos sidecar
  - prometheus.yaml
  - thanos-store.statefulset.yaml
  - thanos-query.deployment.yaml
  - thanos-objstore-config.sealedsecret.yaml


images:
  - name: thanos
    newName: quay.io/thanos/thanos
    newTag: v0.38.0


helmCharts:
  - name: loki
    releaseName: loki
    repo: https://grafana.github.io/helm-charts
    version: 6.29.0
    valuesFile: loki.values.yaml
  - name: prometheus-node-exporter
    releaseName: prometheus-node-exporter
    repo: https://prometheus-community.github.io/helm-charts
    version: 4.45.3
    valuesFile: prometheus-node-exporter.values.yaml