fix: drop legacy /etc/encapic/encapic.conf
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
# environment, so the encapi URL cannot be inherited; source it here instead.
|
||||
set -eu
|
||||
|
||||
for conf in /etc/encapic/encapic.conf /etc/encapi/encapic.conf; do
|
||||
if [ -r "$conf" ]; then
|
||||
. "$conf"
|
||||
fi
|
||||
done
|
||||
if [ -r /etc/encapi/encapic.conf ]; then
|
||||
. /etc/encapi/encapic.conf
|
||||
fi
|
||||
if [ -n "${ENCAPI_URL:-}" ]; then
|
||||
export ENCAPI_URL
|
||||
fi
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Base URL of the encapi service, read by encapic and /usr/bin/encapic-enc.
|
||||
# The binary's compiled-in default is the in-cluster address, which VM puppet
|
||||
# masters cannot resolve.
|
||||
ENCAPI_URL=https://encapi.k8s.syd1.au.unkin.net
|
||||
Reference in New Issue
Block a user