--- apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: kube-prometheus-stack namespace: stackspin spec: releaseName: kube-prometheus-stack chart: spec: # https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack # renovate: registryUrl=https://prometheus-community.github.io/helm-charts chart: kube-prometheus-stack version: 33.0.0 sourceRef: kind: HelmRepository name: prometheus-community namespace: flux-system interval: 1h install: timeout: 10m upgrade: # Replace (update) CRDs upon upgrade. This is necessary to upgrade from # kube-prometheus-stack 16.x to 18.x crds: CreateReplace valuesFrom: - kind: ConfigMap name: stackspin-kube-prometheus-stack-values optional: false # Allow overriding values by ConfigMap or Secret - kind: ConfigMap name: stackspin-kube-prometheus-stack-override optional: true - kind: Secret name: stackspin-kube-prometheus-stack-override optional: true