From d0dd7bb13d99242c8ef65cf621b6f67006f672e3 Mon Sep 17 00:00:00 2001 From: Josh Date: Sat, 6 Jun 2026 06:47:26 +0330 Subject: [PATCH] feat: update --- .github/workflows/build.yaml | 5 +++-- README.md | 4 ++-- charts/kloud-csi/templates/controller-deployment.yaml | 2 ++ charts/kloud-csi/templates/node-daemonset.yaml | 2 ++ charts/kloud-csi/values.yaml | 4 ++-- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 000d948..abfa1ed 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,7 +20,8 @@ jobs: - name: Container image name (GHCR is lowercase) run: | - echo "IMAGE_NAME=${REGISTRY_HOST}/$(echo "${GITHUB_REPOSITORY}" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_ENV" + owner=$(echo "${GITHUB_REPOSITORY_OWNER}" | tr '[:upper:]' '[:lower:]') + echo "IMAGE_NAME=${REGISTRY_HOST}/${owner}/kloud-csi-plugin" >> "$GITHUB_ENV" echo "APP_VERSION=$(grep '^appVersion:' charts/kloud-csi/Chart.yaml | awk '{print $2}' | tr -d '\"')" >> "$GITHUB_ENV" - uses: docker/setup-buildx-action@v3 @@ -60,4 +61,4 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | owner=$(echo "${GITHUB_REPOSITORY_OWNER}" | tr '[:upper:]' '[:lower:]') - gh api --method PATCH "/orgs/${owner}/packages/container/kks-csi-plugin/visibility" -f visibility=public || true + gh api --method PATCH "/orgs/${owner}/packages/container/kloud-csi-plugin/visibility" -f visibility=public || true diff --git a/README.md b/README.md index 85fac22..301fa69 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ Helm fails at render time if `serverURL` or credentials are missing. | Value | Default | Description | |-------|---------|-------------| -| `image.repository` | `ghcr.io/KubelanCloud/kks-csi-plugin` | Driver container image | +| `image.repository` | `ghcr.io/kubelancloud/kloud-csi-plugin` | Driver container image | | `image.tag` | *(chart appVersion)* | Image tag (defaults to chart `appVersion` when empty) | | `imagePullSecrets` | `[]` | Pull secrets for private registries such as GHCR | | `existingSecret` | `""` | Use an existing secret instead of creating one | @@ -246,7 +246,7 @@ docker build -t kks-csi . docker run --rm -v "$(pwd)/examples/csi-client.hcl:/csi.hcl:ro" kks-csi -c /csi.hcl ``` -Container images are published to `ghcr.io/KubelanCloud/kks-csi-plugin` on pushes to `main`. +Container images are published to `ghcr.io/kubelancloud/kloud-csi-plugin` on pushes to `main`. ## Development diff --git a/charts/kloud-csi/templates/controller-deployment.yaml b/charts/kloud-csi/templates/controller-deployment.yaml index 42629e8..c64d222 100644 --- a/charts/kloud-csi/templates/controller-deployment.yaml +++ b/charts/kloud-csi/templates/controller-deployment.yaml @@ -43,6 +43,8 @@ spec: - name: kloud-csi-plugin image: {{ include "kloud-csi.driverImage" . }} imagePullPolicy: {{ .Values.image.pullPolicy }} + command: + - /kks-csi args: - --config-file - /etc/kloud-csi/driver.hcl diff --git a/charts/kloud-csi/templates/node-daemonset.yaml b/charts/kloud-csi/templates/node-daemonset.yaml index 3547633..105df46 100644 --- a/charts/kloud-csi/templates/node-daemonset.yaml +++ b/charts/kloud-csi/templates/node-daemonset.yaml @@ -51,6 +51,8 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} securityContext: privileged: true + command: + - /kks-csi args: - --config-file - /etc/kloud-csi/driver.hcl diff --git a/charts/kloud-csi/values.yaml b/charts/kloud-csi/values.yaml index 12b6226..3385d79 100644 --- a/charts/kloud-csi/values.yaml +++ b/charts/kloud-csi/values.yaml @@ -14,13 +14,13 @@ nameOverride: "" fullnameOverride: "" image: - repository: ghcr.io/kubelancloud/kks-csi-plugin + repository: ghcr.io/kubelancloud/kloud-csi-plugin tag: "" pullPolicy: IfNotPresent imagePullSecrets: [] -serverURL: "" +serverURL: "https://storage.csi.kloud.team" accessToken: "" existingSecret: "" existingSecretAccessTokenKey: access-token