We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bec165e commit f684e60Copy full SHA for f684e60
deploy/util/deploy-hostpath.sh
@@ -100,6 +100,10 @@ echo "applying RBAC rules"
100
for component in CSI_PROVISIONER CSI_ATTACHER CSI_SNAPSHOTTER CSI_RESIZER; do
101
eval current="\${${component}_RBAC}"
102
eval original="\${${component}_RBAC_YAML}"
103
+ if [ ! -e "$current" ]; then
104
+ echo "File $current not found, skipping"
105
+ continue
106
+ fi
107
if [ "$current" != "$original" ]; then
108
echo "Using non-default RBAC rules for $component. Changes from $original to $current are:"
109
diff -c <(wget --quiet -O - "$original") <(if [[ "$current" =~ ^http ]]; then wget --quiet -O - "$current"; else cat "$current"; fi) || true
0 commit comments