Skip to content

Commit

Permalink
feat: adds openstack-exporter for prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaskuechler committed Oct 7, 2024
1 parent 50e6a88 commit 6527dd3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions apps/appsets/components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,27 @@ spec:
- repoURL: '{{index .metadata.annotations "uc_repo_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_repo_ref"}}'
path: 'components/chrony'
- component: openstack-exporter
componentNamespace: monitoring
skipComponent: '{{has "openstack-exporter" ((default "[]" (index .metadata.annotations "uc_skip_components") | fromJson))}}'
sources:
- repoURL: '{{index .metadata.annotations "uc_repo_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_repo_ref"}}'
path: 'components/openstack-exporter'
ref: understack
- repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}'
targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}'
ref: secrets
path: 'secrets/{{.name}}/openstack-exporter'
- repoURL: registry.scs.community/openstack-exporter
chart: prometheus-openstack-exporter
targetRevision: 0.4.5
helm:
releaseName: prometheus-openstack-exporter
valueFiles:
- $understack/components/openstack-exporter/values.yaml
- $secrets/helm-configs/{{.name}}/openstack-exporter.yaml
ignoreMissingValueFiles: true
selector:
# by setting the key in the elements 'skipComponent' to 'true' it will skip installing it
# ArgoCD's templating operates with strings so it's the string "true"
Expand Down
Empty file.

0 comments on commit 6527dd3

Please sign in to comment.