nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/cluster/addons/addon-manager/kube-addons-main.sh b/cluster/addons/addon-manager/kube-addons-main.sh
2index 849973470d1..e4fef30eaea 100755
3--- a/cluster/addons/addon-manager/kube-addons-main.sh
4+++ b/cluster/addons/addon-manager/kube-addons-main.sh
5@@ -17,17 +17,7 @@
6 # Import required functions. The addon manager is installed to /opt in
7 # production use (see the Dockerfile)
8 # Disabling shellcheck following files as the full path would be required.
9-if [ -f "kube-addons.sh" ]; then
10- # shellcheck disable=SC1091
11- source "kube-addons.sh"
12-elif [ -f "/opt/kube-addons.sh" ]; then
13- # shellcheck disable=SC1091
14- source "/opt/kube-addons.sh"
15-else
16- # If the required source is missing, we have to fail.
17- log ERR "== Could not find kube-addons.sh (not in working directory or /opt) at $(date -Is) =="
18- exit 1
19-fi
20+source "@out@/bin/kube-addons-lib.sh"
21
22 # The business logic for whether a given object should be created
23 # was already enforced by salt, and /etc/kubernetes/addons is the