diff --git a/apps/appsets/components.yaml b/apps/appsets/components.yaml index 437d6653e..d3261da0e 100644 --- a/apps/appsets/components.yaml +++ b/apps/appsets/components.yaml @@ -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" diff --git a/components/openstack-exporter/values.yaml b/components/openstack-exporter/values.yaml new file mode 100644 index 000000000..e69de29bb