Skip to content

Commit

Permalink
Merge pull request #71 from juicedata/add_node_linkto_apiserver
Browse files Browse the repository at this point in the history
Add node connect to apiserver
  • Loading branch information
zwwhdls authored Nov 16, 2023
2 parents 0e1ab07 + d51c021 commit 8ca6286
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/juicefs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: juicefs-csi-driver
description: A Helm chart for JuiceFS CSI Driver
type: application
version: 0.19.0
version: 0.19.1
appVersion: 0.23.0
kubeVersion: ">=1.14.0-0"
home: https://github.com/juicedata/juicefs-csi-driver
Expand Down
2 changes: 1 addition & 1 deletion 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.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)
![Version: 0.19.1](https://img.shields.io/badge/Version-0.19.1-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
2 changes: 2 additions & 0 deletions charts/juicefs-csi-driver/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{{- if .Values.node.ifPollingKubelet }}
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: KUBELET_PORT
value: "10250"
{{- end }}
- name: JUICEFS_MOUNT_PATH
value: {{ .Values.jfsMountDir }}
- name: JUICEFS_CONFIG_PATH
Expand Down
1 change: 1 addition & 0 deletions charts/juicefs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ node:
updateStrategy:
rollingUpdate:
maxUnavailable: 50%
ifPollingKubelet: true

dashboard:
# CSI Dashboard helps with CSI Driver observation, disabled by default
Expand Down

0 comments on commit 8ca6286

Please sign in to comment.