local-path-config created 2019-09-17 10:20:48, version 33232496

kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"v1","data":{"config.js...

Data

config.json: "{\n        \"nodePathMap\":[\n        {\n                \"node\":\"\
  DEFAULT_PATH_FOR_NON_LISTED_NODES\",\n                \"paths\":[\"/opt/local-path-provisioner\"\
  ]\n        }\n        ]\n}"
helperPod.yaml: "apiVersion: v1\nkind: Pod\nmetadata:\n  name: helper-pod\nspec:\n\
  \  containers:\n  - name: helper-pod\n    image: busybox\n    imagePullPolicy: IfNotPresent"
setup: "#!/bin/sh\nwhile getopts \"m:s:p:\" opt\ndo\n    case $opt in\n        p)\n\
  \        absolutePath=$OPTARG\n        ;;\n        s)\n        sizeInBytes=$OPTARG\n\
  \        ;;\n        m)\n        volMode=$OPTARG\n        ;;\n    esac\ndone\n\n\
  mkdir -m 0777 -p ${absolutePath}"
teardown: "#!/bin/sh\nwhile getopts \"m:s:p:\" opt\ndo\n    case $opt in\n       \
  \ p)\n        absolutePath=$OPTARG\n        ;;\n        s)\n        sizeInBytes=$OPTARG\n\
  \        ;;\n        m)\n        volMode=$OPTARG\n        ;;\n    esac\ndone\n\n\
  rm -rf ${absolutePath}"

Events

Type Reason Age From Message
No events found.