diff --git a/charts/local-path-provisioner/Chart.yaml b/charts/local-path-provisioner/Chart.yaml
index 6f27231..4b4c3bf 100644
--- a/charts/local-path-provisioner/Chart.yaml
+++ b/charts/local-path-provisioner/Chart.yaml
@@ -1,8 +1,8 @@
apiVersion: v1
description: Use HostPath for persistent local storage with Kubernetes
name: local-path-provisioner
-version: 0.0.35
-appVersion: "v0.0.35"
+version: 0.0.36
+appVersion: "v0.0.36"
keywords:
- storage
- hostpath
diff --git a/charts/local-path-provisioner/README.md b/charts/local-path-provisioner/README.md
index 667e6ac..106c4b6 100644
--- a/charts/local-path-provisioner/README.md
+++ b/charts/local-path-provisioner/README.md
@@ -56,8 +56,8 @@ default values.
| Parameter | Description | Default |
|-----------------------------------------|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `commonLabels` | Custom labels to apply to all resources | `{}` |
-| `image.repository` | Local Path Provisioner image name | `rancher/local-path-provisioner` |
-| `image.tag` | Local Path Provisioner image tag | `v0.0.35` . |
+| `image.repository` | Local Path Provisioner image name | `docker.io/rancher/local-path-provisioner` |
+| `image.tag` | Local Path Provisioner image tag | `v0.0.36` . |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `storageClass.annotations` | Extra annotations to add to the StorageClass | `{}` |
| `storageClass.create` | If true, create a `StorageClass` | `true` |
@@ -83,7 +83,7 @@ default values.
| `configmap.setup` | Configuration of script to execute setup operations on each node | #!/bin/sh
while getopts "m:s:p:" opt
do
case $opt in
p)
absolutePath=$OPTARG
;;
s)
sizeInBytes=$OPTARG
;;
m)
volMode=$OPTARG
;;
esac
done
mkdir -m 0777 -p ${absolutePath} |
| `configmap.teardown` | Configuration of script to execute teardown operations on each node | #!/bin/sh
while getopts "m:s:p:" opt
do
case $opt in
p)
absolutePath=$OPTARG
;;
s)
sizeInBytes=$OPTARG
;;
m)
volMode=$OPTARG
;;
esac
done
rm -rf ${absolutePath} |
| `configmap.name` | configmap name | `local-path-config` |
-| `configmap.helperPod` | helper pod yaml file | apiVersion: v1
kind: Pod
metadata:
name: helper-pod
spec:
containers:
- name: helper-pod
image: busybox |
+| `configmap.helperPod` | helper pod yaml file | apiVersion: v1
kind: Pod
metadata:
name: helper-pod
spec:
containers:
- name: helper-pod
image: docker.io/library/busybox |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
diff --git a/charts/local-path-provisioner/templates/deployment.yaml b/charts/local-path-provisioner/templates/deployment.yaml
index 32d4048..616ac76 100644
--- a/charts/local-path-provisioner/templates/deployment.yaml
+++ b/charts/local-path-provisioner/templates/deployment.yaml
@@ -43,7 +43,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- local-path-provisioner
+ {{- if .Values.debug }}
- --debug
+ {{- end }}
- start
- --config
- /etc/config/config.json
diff --git a/charts/local-path-provisioner/values.yaml b/charts/local-path-provisioner/values.yaml
index 75b2f85..115d400 100644
--- a/charts/local-path-provisioner/values.yaml
+++ b/charts/local-path-provisioner/values.yaml
@@ -5,12 +5,12 @@ commonLabels: {}
namespaceOverride: ""
image:
- repository: rancher/local-path-provisioner
- tag: v0.0.35
+ repository: docker.io/rancher/local-path-provisioner
+ tag: v0.0.36
pullPolicy: IfNotPresent
helperImage:
- repository: busybox
+ repository: docker.io/library/busybox
tag: latest
defaultSettings:
@@ -193,5 +193,8 @@ configmap:
# Number of retries of failed volume deletion. 0 means retry indefinitely.
# deletionRetryCount: 15
+# Enable debug logging
+debug: false
+
# Extra arguments to pass to the CLI
extraArgs: []