X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fovsdpdk%2Fairship-treasuremap%2Fglobal%2Fv4.0%2Fsoftware%2Fcharts%2Fosh-infra%2Fosh-infra-openstack-exporter%2Fprometheus-openstack-exporter.yaml;fp=site_type%2Fovsdpdk%2Fairship-treasuremap%2Fglobal%2Fv4.0%2Fsoftware%2Fcharts%2Fosh-infra%2Fosh-infra-openstack-exporter%2Fprometheus-openstack-exporter.yaml;h=40781c6847e80c32396b15ef966f31a17bc72fb5;hb=fe885c06b13b6807209a76d0226a40d84ec61df3;hp=0000000000000000000000000000000000000000;hpb=f75a047e5d98eea7d43cfbe6ade55ce2e2e0f3a9;p=yaml_builds.git diff --git a/site_type/ovsdpdk/airship-treasuremap/global/v4.0/software/charts/osh-infra/osh-infra-openstack-exporter/prometheus-openstack-exporter.yaml b/site_type/ovsdpdk/airship-treasuremap/global/v4.0/software/charts/osh-infra/osh-infra-openstack-exporter/prometheus-openstack-exporter.yaml new file mode 100644 index 0000000..40781c6 --- /dev/null +++ b/site_type/ovsdpdk/airship-treasuremap/global/v4.0/software/charts/osh-infra/osh-infra-openstack-exporter/prometheus-openstack-exporter.yaml @@ -0,0 +1,95 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: prometheus-openstack-exporter + layeringDefinition: + abstract: false + layer: global + storagePolicy: cleartext + substitutions: + # Chart source + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .charts.osh_infra.prometheus_openstack_exporter + dest: + path: .source + + # Images + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .images.osh_infra.prometheus_openstack_exporter + dest: + path: .values.images.tags + + # Endpoints + - src: + schema: pegleg/EndpointCatalogue/v1 + name: osh_infra_endpoints + path: .osh_infra.prometheus_openstack_exporter + dest: + path: .values.endpoints.prometheus_openstack_exporter + - src: + schema: pegleg/EndpointCatalogue/v1 + name: osh_endpoints + path: .osh.identity + dest: + path: .values.endpoints.identity + + # Accounts + - src: + schema: pegleg/AccountCatalogue/v1 + name: osh_service_accounts + path: .osh.keystone.admin + dest: + path: .values.endpoints.identity.auth.admin + - src: + schema: pegleg/AccountCatalogue/v1 + name: osh_infra_service_accounts + path: .osh_infra.prometheus_openstack_exporter.user + dest: + path: .values.endpoints.identity.auth.user + + # Secrets + - dest: + path: .values.endpoints.identity.auth.admin.password + src: + schema: deckhand/Passphrase/v1 + name: osh_keystone_admin_password + path: . + - dest: + path: .values.endpoints.identity.auth.user.password + src: + schema: deckhand/Passphrase/v1 + name: osh_infra_openstack_exporter_password + path: . +data: + chart_name: prometheus-openstack-exporter + release: prometheus-openstack-exporter + namespace: openstack + wait: + timeout: 900 + labels: + release_group: airship-prometheus-openstack-exporter + install: + no_hooks: false + upgrade: + no_hooks: false + pre: + delete: + - type: job + labels: + release_group: airship-prometheus-openstack-exporter + values: + labels: + openstack_exporter: + node_selector_key: openstack-control-plane + node_selector_value: enabled + job: + node_selector_key: openstack-control-plane + node_selector_value: enabled + dependencies: + - osh-infra-helm-toolkit +...