Skip to content

Commit

Permalink
Merge pull request #70 from juicedata/release-0.23.0
Browse files Browse the repository at this point in the history
Release 0.23.0
  • Loading branch information
zwwhdls authored Nov 16, 2023
2 parents 7add06d + 78498cc commit 0e1ab07
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 8 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,17 @@ jobs:
- name: CI script
run: |
find ./charts | grep Chart.yaml | xargs dirname | xargs helm lint
- name: check chart
run: |
helm template charts/juicefs-csi-driver
rst=$?
if [ $rst -ne 0 ]; then
echo "something wrong in juicefs csi driver chart"
exit 1
fi
helm template charts/juicefs-s3-gateway
rst=$?
if [ $rst -ne 0 ]; then
echo "something wrong in juicefs s3 gateway chart"
exit 1
fi
4 changes: 2 additions & 2 deletions charts/juicefs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: juicefs-csi-driver
description: A Helm chart for JuiceFS CSI Driver
type: application
version: 0.19.0-alpha1
appVersion: 0.22.1
version: 0.19.0
appVersion: 0.23.0
kubeVersion: ">=1.14.0-0"
home: https://github.com/juicedata/juicefs-csi-driver
sources:
Expand Down
22 changes: 20 additions & 2 deletions charts/juicefs-csi-driver/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# juicefs-csi-driver

![Version: 0.18.1](https://img.shields.io/badge/Version-0.18.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.22.1](https://img.shields.io/badge/AppVersion-0.22.1-informational?style=flat-square)
![Version: 0.19.0](https://img.shields.io/badge/Version-0.19.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.23.0](https://img.shields.io/badge/AppVersion-0.23.0-informational?style=flat-square)

A Helm chart for JuiceFS CSI Driver

Expand Down Expand Up @@ -46,7 +46,7 @@ Kubernetes: `>=1.14.0-0`
| hostAliases | list | `[]` | |
| image.pullPolicy | string | `""` | |
| image.repository | string | `"juicedata/juicefs-csi-driver"` | |
| image.tag | string | `"v0.22.1"` | |
| image.tag | string | `"v0.23.0"` | |
| mountMode | string | `"mountpod"` | The way JuiceFS client runs |
| jfsConfigDir | string | `"/var/lib/juicefs/config"` | JuiceFS config directory |
| jfsMountDir | string | `"/var/lib/juicefs/volume"` | JuiceFS mount directory |
Expand Down Expand Up @@ -81,6 +81,24 @@ Kubernetes: `>=1.14.0-0`
| sidecars.nodeDriverRegistrarImage.tag | string | `"v2.1.0"` | |
| sidecars.csiResizerImage.repository | string | `"quay.io/k8scsi/csi-resizer"` | |
| sidecars.csiResizerImage.tag | string | `"v1.0.1"` | |
| dashboard.enabled | bool | `true` | |
| dashboard.replicas | int | `2` | |
| dashboard.leaderElection.enabled | bool | `true` | Enable leader election of CSI Dashboard |
| dashboard.leaderElection.leaderElectionNamespace | string | `""` | The namespace where the leader election resource lives. Defaults to the pod namespace if not set. |
| dashboard.leaderElection.leaseDuration | string | `15s` | The duration that non-leader candidates will wait to force acquire leadership. |
| dashboard.hostNetwork | bool | `false` | |
| dashboard.resources.limits.cpu | string | `"1000m"` | |
| dashboard.resources.limits.memory | string | `"1Gi"` | |
| dashboard.resources.requests.cpu | string | `"100m"` | |
| dashboard.resources.requests.memory | string | `"200Mi"` | |
| dashboard.affinity | object | `{}` | |
| dashboard.nodeSelector | object | `{}` | |
| dashboard.tolerations | list | `[{"key":"CriticalAddonsOnly","operator":"Exists"}]` | Tolerations for CSI Dashboard pod |
| dashboard.service.port | string | `"8088"` | |
| dashboard.service.type | string | `ClusterIP` | |
| dashboard.ingress.enabled | bool | `false` | |
| dashboard.priorityClassName | string | `"system-node-critical"` | |
| dashboard.envs | list | `[]` | |
| storageClasses[0].backend.accessKey | string | `""` | Access key for object storage |
| storageClasses[0].backend.bucket | string | `""` | Bucket URL, for community edition use only. Refer to [this document](https://juicefs.com/docs/community/how_to_setup_object_storage) to learn how to setup different object storage. |
| storageClasses[0].backend.configs | string | `""` | Configuration for mount pod. Refer to [this document](https://juicefs.com/docs/csi/examples/config-and-env) for more information. |
Expand Down
2 changes: 1 addition & 1 deletion charts/juicefs-csi-driver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
imagePullPolicy: {{ .Values.dashboardImage.pullPolicy }}
{{- end }}
args:
- --static-dir=/dist
- --static-dir=/dist
{{- if .Values.dashboard.leaderElection.enabled }}
- --leader-election
{{- if .Values.dashboard.leaderElection.leaderElectionNamespace }}
Expand Down
6 changes: 3 additions & 3 deletions charts/juicefs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

image:
repository: juicedata/juicefs-csi-driver
tag: "v0.22.1"
tag: "v0.23.0"
pullPolicy: ""

dashboardImage:
repository: juicedata/csi-dashboard
tag: "v0.23.0-alpha1"
tag: "v0.23.0"
pullPolicy: ""

sidecars:
Expand Down Expand Up @@ -177,7 +177,7 @@ node:

dashboard:
# CSI Dashboard helps with CSI Driver observation, disabled by default
enabled: false
enabled: true
replicas: 2
leaderElection:
# Enable leader election for dashboard.
Expand Down

0 comments on commit 0e1ab07

Please sign in to comment.