Skip to content

Commit

Permalink
[ucs-exporter] add some labels
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndKue committed Sep 9, 2024
1 parent 721aa97 commit 4ba315f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions prometheus-exporters/ucs-exporter/templates/ucs-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: ucs-config
labels:
app: ucs-exporter
release: ucs-exporter

data:
config.yaml: |
netbox:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@ apiVersion: apps/v1
metadata:
name: ucs-exporter
namespace: infra-monitoring
labels:
app: ucs-exporter
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: ucs-exporter
type: exporter

spec:
selector:
matchLabels:
app: ucs-exporter
app: ucs-exporter
type: exporter
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
kind: Service
apiVersion: v1
metadata:
name: ucs-exporter
name: ucs-exporter
namespace: infra-monitoring
labels:
app: ucs-exporter
release: ucs-exporter
type: exporter

spec:
selector:
app: ucs-exporter
Expand Down

0 comments on commit 4ba315f

Please sign in to comment.