0ef3a7914c
* Added pod psp in Rancher Local Path Provisioner Added pod security policy (psp) in Rancher Local Path Provisioner. Signed-off-by: André R. de Miranda <andre@miranda.work> * Apply psp for Rancher Local Path Provisioner only when local_path_provisioner_namespace is not kube-system and also reorganized the templates
16 lines
397 B
Django/Jinja
16 lines
397 B
Django/Jinja
---
|
|
kind: ConfigMap
|
|
apiVersion: v1
|
|
metadata:
|
|
name: local-path-config
|
|
namespace: {{ local_path_provisioner_namespace }}
|
|
data:
|
|
config.json: |-
|
|
{
|
|
"nodePathMap":[
|
|
{
|
|
"node":"DEFAULT_PATH_FOR_NON_LISTED_NODES",
|
|
"paths":["{{ local_path_provisioner_claim_root }}"]
|
|
}
|
|
]
|
|
}
|