diff --git a/.github/workflows/chart.yaml b/.github/workflows/chart.yaml index 0d5e2d5da..5b22a8204 100644 --- a/.github/workflows/chart.yaml +++ b/.github/workflows/chart.yaml @@ -164,10 +164,18 @@ jobs: api-token: ${{ secrets.REPLICATED_API_TOKEN }} # kubeconfig-path: /tmp/kubeconfig # optional, specifies path for Kubeconfig file + - name: Create kubecost Namespace and test files + run: | + kubectl create ns kubecost + kubectl -n kubecost create -f .github/ci-files + # Install the chart with OCP values and check results. - name: Install Kubecost chart with OCP values working-directory: ./cost-analyzer - run: helm install --wait --wait-for-jobs kubecost . -n kubecost -f values-openshift.yaml + run: helm install --wait --wait-for-jobs kubecost . -n kubecost -f values-openshift.yaml \ + --set global.platforms.openshift.route.enabled=true \ + --set global.platforms.openshift.scc.nodeExporter=true \ + --set global.platforms.openshift.scc.kubecost=true # run: ct install --namespace kubecost --chart-dirs=cost-analyzer/ --charts cost-analyzer/ - name: Wait for ready