File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed
Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -110,12 +110,21 @@ helm upgrade ./helm/provisioner -f <path-to-your-values-file> <release-name>
110110
111111### helm version >= v3.0.0
112112
113- Install via helm template:
113+ Install by adding the repo as a Helm repo:
114+
115+ ``` sh
116+ helm repo add sig-storage-local-static-provisioner https://kubernetes-sigs.github.io/sig-storage-local-static-provisioner
117+ helm template --debug sig-storage-local-static-provisioner/local-static-provisioner --version < version> --namespace < namespace> > local-volume-provisioner.generated.yaml
118+ # edit local-volume-provisioner.generated.yaml if necessary
119+ kubectl create -f local-volume-provisioner.generated.yaml
120+ ```
121+
122+ Or install by cloning the repo locally:
114123
115124``` console
116125git clone --depth=1 https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner.git
117126helm template -f <path-to-your-values-file> <release-name> --namespace <namespace> ./helm/provisioner > local-volume-provisioner.generated.yaml
118- edit local-volume-provisioner.generated.yaml if necessary
127+ # edit local-volume-provisioner.generated.yaml if necessary
119128kubectl create -f local-volume-provisioner.generated.yaml
120129```
121130
Original file line number Diff line number Diff line change 11apiVersion : v2
2- name : local-volume- static-provisioner
2+ name : local-static-provisioner
33description : Helm chart for the SIG Storage Local Volume Static Provisioner.
44type : application
55version : 1.0.0
Original file line number Diff line number Diff line change 3434{{- end }}
3535 nodeSelector :
3636 kubernetes.io/os : windows
37+ {{- if .Values.daemonset.nodeSelectorWindows }}
38+ {{ toYaml .Values.daemonset.nodeSelectorWindows | nindent 8 }}
39+ {{- end }}
3740 tolerations :
3841 # an empty key operator Exists matches all keys, values and effects
3942 # which meants that this will tolerate everything
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ daemonset:
113113 #
114114 # Defines Provisioner's image name including container registry.
115115 #
116- image : k8s.gcr. io/sig-storage/local-volume-provisioner:v2.4 .0
116+ image : registry. k8s.io/sig-storage/local-volume-provisioner:v2.5 .0
117117 #
118118 # Defines Image download policy, see kubernetes documentation for available values.
119119 #
@@ -131,6 +131,7 @@ daemonset:
131131 # NodeSelector constraint for local-volume-provisioner scheduling to nodes.
132132 # Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
133133 nodeSelector : {}
134+ nodeSelectorWindows : {}
134135 #
135136 # If configured KubeConfigEnv will (optionally) specify the location of kubeconfig file on the node.
136137 # kubeConfigEnv: KUBECONFIG
You can’t perform that action at this time.
0 commit comments