From 9fcc6a9628324a0b102fd78b7aba20c7ae6dee06 Mon Sep 17 00:00:00 2001 From: phillip-toohill Date: Tue, 20 Feb 2024 08:16:08 -0600 Subject: [PATCH] Modifying openstack-exporter to reference it as openstack-api-exporter --- ...-exporter.yaml => helm-openstack-api-exporter.yaml} | 10 +++++----- .../openstack-api-exporter-helm-overrides.yaml} | 0 .../aio/kustomization.yaml | 0 .../base/hpa-openstack-api-exporter.yaml} | 0 .../openstack-api-exporter/base/kustomization.yaml | 3 +++ .../openstack-exporter/base/kustomization.yaml | 3 --- 6 files changed, 8 insertions(+), 8 deletions(-) rename .github/workflows/{helm-openstack-exporter.yaml => helm-openstack-api-exporter.yaml} (82%) rename helm-configs/monitoring/{openstack-exporter/openstack-exporter-helm-overrides.yaml => openstack-api-exporter/openstack-api-exporter-helm-overrides.yaml} (100%) rename kustomize/monitoring/{openstack-exporter => openstack-api-exporter}/aio/kustomization.yaml (100%) rename kustomize/monitoring/{openstack-exporter/base/hpa-openstack-exporter.yaml => openstack-api-exporter/base/hpa-openstack-api-exporter.yaml} (100%) create mode 100644 kustomize/monitoring/openstack-api-exporter/base/kustomization.yaml delete mode 100644 kustomize/monitoring/openstack-exporter/base/kustomization.yaml diff --git a/.github/workflows/helm-openstack-exporter.yaml b/.github/workflows/helm-openstack-api-exporter.yaml similarity index 82% rename from .github/workflows/helm-openstack-exporter.yaml rename to .github/workflows/helm-openstack-api-exporter.yaml index 9c402706..ef2c067a 100644 --- a/.github/workflows/helm-openstack-exporter.yaml +++ b/.github/workflows/helm-openstack-api-exporter.yaml @@ -3,9 +3,9 @@ name: Helm GitHub Actions for openstack-exporter on: pull_request: paths: - - helm-configs/monitoring/openstack-exporter/** - - kustomize/monitoring/openstack-exporter/** - - .github/workflows/helm-openstack-exporter.yaml + - helm-configs/monitoring/openstack-api-exporter/** + - kustomize/monitoring/openstack-api-exporter/** + - .github/workflows/helm-openstack-api-exporter.yaml jobs: helm: strategy: @@ -45,9 +45,9 @@ jobs: --namespace=openstack \ --wait \ --timeout 120m \ - -f ${{ github.workspace }}/helm-configs/monitoring/openstack-exporter/openstack-exporter-helm-overrides.yaml \ + -f ${{ github.workspace }}/helm-configs/monitoring/openstack-api-exporter/openstack-api-exporter-helm-overrides.yaml \ --post-renderer ${{ github.workspace }}/kustomize/kustomize.sh \ - --post-renderer-args monitoring/openstack-exporter/${{ matrix.overlays }} > /tmp/rendered.yaml + --post-renderer-args monitoring/openstack-api-exporter/${{ matrix.overlays }} > /tmp/rendered.yaml - name: Return helm Build uses: actions/upload-artifact@v2 with: diff --git a/helm-configs/monitoring/openstack-exporter/openstack-exporter-helm-overrides.yaml b/helm-configs/monitoring/openstack-api-exporter/openstack-api-exporter-helm-overrides.yaml similarity index 100% rename from helm-configs/monitoring/openstack-exporter/openstack-exporter-helm-overrides.yaml rename to helm-configs/monitoring/openstack-api-exporter/openstack-api-exporter-helm-overrides.yaml diff --git a/kustomize/monitoring/openstack-exporter/aio/kustomization.yaml b/kustomize/monitoring/openstack-api-exporter/aio/kustomization.yaml similarity index 100% rename from kustomize/monitoring/openstack-exporter/aio/kustomization.yaml rename to kustomize/monitoring/openstack-api-exporter/aio/kustomization.yaml diff --git a/kustomize/monitoring/openstack-exporter/base/hpa-openstack-exporter.yaml b/kustomize/monitoring/openstack-api-exporter/base/hpa-openstack-api-exporter.yaml similarity index 100% rename from kustomize/monitoring/openstack-exporter/base/hpa-openstack-exporter.yaml rename to kustomize/monitoring/openstack-api-exporter/base/hpa-openstack-api-exporter.yaml diff --git a/kustomize/monitoring/openstack-api-exporter/base/kustomization.yaml b/kustomize/monitoring/openstack-api-exporter/base/kustomization.yaml new file mode 100644 index 00000000..90637b50 --- /dev/null +++ b/kustomize/monitoring/openstack-api-exporter/base/kustomization.yaml @@ -0,0 +1,3 @@ +resources: + - hpa-openstack-api-exporter.yaml + - all.yaml diff --git a/kustomize/monitoring/openstack-exporter/base/kustomization.yaml b/kustomize/monitoring/openstack-exporter/base/kustomization.yaml deleted file mode 100644 index df73c543..00000000 --- a/kustomize/monitoring/openstack-exporter/base/kustomization.yaml +++ /dev/null @@ -1,3 +0,0 @@ -resources: - - all.yaml - - hpa-openstack-exporter.yaml