[suse] Setting correct permissions for Kubernetes files
Change-Id: I595dfa66fb37b733bf50b18f52f7b124aa96906b Partial-Bug: #1622949
This commit is contained in:
parent
cea125b9a1
commit
df37275fe1
@ -7,6 +7,9 @@ echo "configuring kubernetes (master)"
|
||||
KUBE_API_ARGS="--runtime_config=api/all=true"
|
||||
KUBE_API_ADDRESS="--insecure-bind-address=0.0.0.0 --insecure-port=$KUBE_API_PORT"
|
||||
|
||||
# Setting correct permissions for Kubernetes files
|
||||
chown -R kube:kube /var/lib/kubernetes
|
||||
|
||||
sed -i '
|
||||
/^KUBE_ALLOW_PRIV=/ s/=.*/="--allow_privileged='"$KUBE_ALLOW_PRIV"'"/
|
||||
' /etc/kubernetes/config
|
||||
|
Loading…
x
Reference in New Issue
Block a user