Skip to content

Commit

Permalink
chore: make k8s registry configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored and moshloop committed Jan 28, 2025
1 parent fff3ae7 commit 904e7ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/templates/kubernetes-scraper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ spec:
name: vc-{{ .Release.Name }}
key: config
values:
clusterName: kubernetes-hosted-saas
clusterName: {{.Values.k8sRegistry.clusterName}}
topology:
enabled: false
enabled: {{.Values.k8sRegistry.topology.enabled}}
scraper:
exclusions:
labels:
Expand Down
5 changes: 5 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ missionControl:
logs.disable: "true"
settings.logging_backends.disable: "true"

k8sRegistry:
clusterName: kubernetes-hosted-saas
topology:
enabled: false

# See https://github.com/loft-sh/vcluster/blob/main/charts/k3s/values.yaml
vcluster:
plugin:
Expand Down

0 comments on commit 904e7ed

Please sign in to comment.