mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Adjust kube-env.py to use third_party PyYAML
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
filedir = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(
|
||||
0, os.path.normpath(os.path.join(filedir, "../../third_party/PyYAML/lib")))
|
||||
import yaml
|
||||
|
||||
def mutate_env(path, var, value):
|
||||
|
Reference in New Issue
Block a user