mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Fix issues with Python3 and bring up a dev cluster
This commit is contained in:
@@ -81,8 +81,8 @@ function set-kube-env() {
|
||||
import pipes,sys,yaml
|
||||
|
||||
for k,v in yaml.load(sys.stdin).iteritems():
|
||||
print """readonly {var}={value}""".format(var = k, value = pipes.quote(str(v)))
|
||||
print """export {var}""".format(var = k)
|
||||
print("""readonly {var}={value}""".format(var = k, value = pipes.quote(str(v))))
|
||||
print("""export {var}""".format(var = k))
|
||||
' < """${kube_env_yaml}""")"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user