mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Support kube-registry-proxy addon in trusty nodes
This commit is contained in:
parent
6e194c938b
commit
9f28e784dc
@ -358,13 +358,18 @@ script
|
||||
|
||||
# Configuration files are located at /etc/saltbase.
|
||||
. /etc/kube-env
|
||||
if [ "${ENABLE_NODE_LOGGING}" = "true" ]; then
|
||||
if [ "${LOGGING_DESTINATION}" = "gcp" ]; then
|
||||
# Fluentd
|
||||
if [ "${ENABLE_NODE_LOGGING:-}" = "true" ]; then
|
||||
if [ "${LOGGING_DESTINATION:-}" = "gcp" ]; then
|
||||
cp /etc/saltbase/kubernetes/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml /etc/kubernetes/manifests/
|
||||
elif [ "${LOGGING_DESTINATION}" = "elasticsearch" ]; then
|
||||
elif [ "${LOGGING_DESTINATION:-}" = "elasticsearch" ]; then
|
||||
cp /etc/saltbase/kubernetes/saltbase/salt/fluentd-es/fluentd-es.yaml /etc/kubernetes/manifests/
|
||||
fi
|
||||
fi
|
||||
# Kube-registry-proxy
|
||||
if [ "${ENABLE_CLUSTER_REGISTRY:-}" = "true" ]; then
|
||||
cp /etc/saltbase/kubernetes/saltbase/salt/kube-registry-proxy/kube-registry-proxy.yaml /etc/kubernetes/manifests/
|
||||
fi
|
||||
end script
|
||||
|
||||
--===============6024533374511606659==--
|
||||
|
Loading…
Reference in New Issue
Block a user