feat: update

This commit is contained in:
2026-06-06 06:47:26 +03:30
parent 9641ea4e34
commit d0dd7bb13d
5 changed files with 11 additions and 6 deletions
+3 -2
View File
@@ -20,7 +20,8 @@ jobs:
- name: Container image name (GHCR is lowercase) - name: Container image name (GHCR is lowercase)
run: | 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" echo "APP_VERSION=$(grep '^appVersion:' charts/kloud-csi/Chart.yaml | awk '{print $2}' | tr -d '\"')" >> "$GITHUB_ENV"
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
@@ -60,4 +61,4 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
owner=$(echo "${GITHUB_REPOSITORY_OWNER}" | tr '[:upper:]' '[:lower:]') 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
+2 -2
View File
@@ -138,7 +138,7 @@ Helm fails at render time if `serverURL` or credentials are missing.
| Value | Default | Description | | 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) | | `image.tag` | *(chart appVersion)* | Image tag (defaults to chart `appVersion` when empty) |
| `imagePullSecrets` | `[]` | Pull secrets for private registries such as GHCR | | `imagePullSecrets` | `[]` | Pull secrets for private registries such as GHCR |
| `existingSecret` | `""` | Use an existing secret instead of creating one | | `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 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 ## Development
@@ -43,6 +43,8 @@ spec:
- name: kloud-csi-plugin - name: kloud-csi-plugin
image: {{ include "kloud-csi.driverImage" . }} image: {{ include "kloud-csi.driverImage" . }}
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- /kks-csi
args: args:
- --config-file - --config-file
- /etc/kloud-csi/driver.hcl - /etc/kloud-csi/driver.hcl
@@ -51,6 +51,8 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext: securityContext:
privileged: true privileged: true
command:
- /kks-csi
args: args:
- --config-file - --config-file
- /etc/kloud-csi/driver.hcl - /etc/kloud-csi/driver.hcl
+2 -2
View File
@@ -14,13 +14,13 @@ nameOverride: ""
fullnameOverride: "" fullnameOverride: ""
image: image:
repository: ghcr.io/kubelancloud/kks-csi-plugin repository: ghcr.io/kubelancloud/kloud-csi-plugin
tag: "" tag: ""
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: [] imagePullSecrets: []
serverURL: "" serverURL: "https://storage.csi.kloud.team"
accessToken: "" accessToken: ""
existingSecret: "" existingSecret: ""
existingSecretAccessTokenKey: access-token existingSecretAccessTokenKey: access-token