Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/local-path-provisioner/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions charts/local-path-provisioner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand All @@ -83,7 +83,7 @@ default values.
| `configmap.setup` | Configuration of script to execute setup operations on each node | #!/bin/sh<br>while getopts "m:s:p:" opt<br>do<br>&emsp;case $opt in <br>&emsp;&emsp;p)<br>&emsp;&emsp;absolutePath=$OPTARG<br>&emsp;&emsp;;;<br>&emsp;&emsp;s)<br>&emsp;&emsp;sizeInBytes=$OPTARG<br>&emsp;&emsp;;;<br>&emsp;&emsp;m)<br>&emsp;&emsp;volMode=$OPTARG<br>&emsp;&emsp;;;<br>&emsp;esac<br>done<br>mkdir -m 0777 -p ${absolutePath} |
| `configmap.teardown` | Configuration of script to execute teardown operations on each node | #!/bin/sh<br>while getopts "m:s:p:" opt<br>do<br>&emsp;case $opt in <br>&emsp;&emsp;p)<br>&emsp;&emsp;absolutePath=$OPTARG<br>&emsp;&emsp;;;<br>&emsp;&emsp;s)<br>&emsp;&emsp;sizeInBytes=$OPTARG<br>&emsp;&emsp;;;<br>&emsp;&emsp;m)<br>&emsp;&emsp;volMode=$OPTARG<br>&emsp;&emsp;;;<br>&emsp;esac<br>done<br>rm -rf ${absolutePath} |
| `configmap.name` | configmap name | `local-path-config` |
| `configmap.helperPod` | helper pod yaml file | apiVersion: v1<br>kind: Pod<br>metadata:<br>&emsp;name: helper-pod<br>spec:<br>&emsp;containers:<br>&emsp;- name: helper-pod<br>&emsp;&emsp;image: busybox |
| `configmap.helperPod` | helper pod yaml file | apiVersion: v1<br>kind: Pod<br>metadata:<br>&emsp;name: helper-pod<br>spec:<br>&emsp;containers:<br>&emsp;- name: helper-pod<br>&emsp;&emsp;image: docker.io/library/busybox |


Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
Expand Down
2 changes: 2 additions & 0 deletions charts/local-path-provisioner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- local-path-provisioner
{{- if .Values.debug }}
- --debug
{{- end }}
- start
- --config
- /etc/config/config.json
Expand Down
9 changes: 6 additions & 3 deletions charts/local-path-provisioner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: []