Skip to content
Snippets Groups Projects
Verified Commit 45e13cce authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(matrix): Add missing CLUSTER_NAME environment variable

parent f2d10fb8
No related branches found
No related tags found
Loading
......@@ -53,6 +53,11 @@ spec:
value: "true"
- name: PG_EXPORTER_CONSTANT_LABELS
value: 'release=$(CLUSTER_NAME),namespace=$(POD_NAMESPACE)'
- name: CLUSTER_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.labels['cluster-name']
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment