diff --git a/.github/workflows/kind-e2e.yaml b/.github/workflows/kind-e2e.yaml index 73fb7e4..410a33b 100644 --- a/.github/workflows/kind-e2e.yaml +++ b/.github/workflows/kind-e2e.yaml @@ -58,7 +58,7 @@ jobs: INFORMER_IMAGE=$(ko build ./cmd/informer) WEBHOOK_IMAGE=$(ko build ./cmd/webhook) - helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts \ + helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster \ --set informer.image=$INFORMER_IMAGE \ --set informer.imagePullPolicy=Never \ --set webhook.image=$WEBHOOK_IMAGE \ diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4463101..ed0a198 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,6 +39,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Configure Git run: | diff --git a/README.md b/README.md index 083169a..0d7e191 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The CPU boost can be configured with `norbjd.github.io/k8s-pod-cpu-booster-multi Use `helm`: ```sh -helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts +helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster ``` ## Test/Demo @@ -51,7 +51,7 @@ kind load docker-image python:3.11-alpine Install `k8s-pod-cpu-booster`: ```sh -helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts +helm install k8s-pod-cpu-booster --namespace pod-cpu-booster --create-namespace ./charts/k8s-pod-cpu-booster ``` Start two similar pods with low CPU limits and running `python -m http.server`, with a readiness probe configured to check when the http server is started. The only differences are the name (obviously), and the label `norbjd.github.io/k8s-pod-cpu-booster-enabled`: diff --git a/charts/Chart.yaml b/charts/k8s-pod-cpu-booster/Chart.yaml similarity index 100% rename from charts/Chart.yaml rename to charts/k8s-pod-cpu-booster/Chart.yaml diff --git a/charts/templates/mutating-webhook.yaml b/charts/k8s-pod-cpu-booster/templates/mutating-webhook.yaml similarity index 100% rename from charts/templates/mutating-webhook.yaml rename to charts/k8s-pod-cpu-booster/templates/mutating-webhook.yaml diff --git a/charts/templates/pod-cpu-boost-reset.yaml b/charts/k8s-pod-cpu-booster/templates/pod-cpu-boost-reset.yaml similarity index 100% rename from charts/templates/pod-cpu-boost-reset.yaml rename to charts/k8s-pod-cpu-booster/templates/pod-cpu-boost-reset.yaml diff --git a/charts/templates/pre-install-hook-check-feature-gate.yaml b/charts/k8s-pod-cpu-booster/templates/pre-install-hook-check-feature-gate.yaml similarity index 100% rename from charts/templates/pre-install-hook-check-feature-gate.yaml rename to charts/k8s-pod-cpu-booster/templates/pre-install-hook-check-feature-gate.yaml diff --git a/charts/values.yaml b/charts/k8s-pod-cpu-booster/values.yaml similarity index 100% rename from charts/values.yaml rename to charts/k8s-pod-cpu-booster/values.yaml