fix: drop legacy /etc/encapic/encapic.conf
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful

This commit is contained in:
2026-11-09 07:17:49 +11:00
parent 027f1453d7
commit aa8b74dcf0
7 changed files with 13 additions and 37 deletions
+3 -5
View File
@@ -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
-4
View File
@@ -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