feat: update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -51,6 +51,8 @@ spec:
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- /kks-csi
|
||||
args:
|
||||
- --config-file
|
||||
- /etc/kloud-csi/driver.hcl
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user