* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/files/
@ 2022-07-28 20:13 William Hubbs
0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs @ 2022-07-28 20:13 UTC (permalink / raw
To: gentoo-commits
commit: 37327358a8701680c926e62265c29b248eff50ad
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 20:11:17 2022 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 20:11:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37327358
sys-cluster/kube-router: make service script POSIX compatible
Closes: https://bugs.gentoo.org/852080
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
sys-cluster/kube-router/files/kube-router.confd | 3 ++-
sys-cluster/kube-router/files/kube-router.initd | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/kube-router/files/kube-router.confd b/sys-cluster/kube-router/files/kube-router.confd
index a5f20a581c4c..601368deaf1e 100644
--- a/sys-cluster/kube-router/files/kube-router.confd
+++ b/sys-cluster/kube-router/files/kube-router.confd
@@ -2,7 +2,8 @@
# KUBECONFIG=/etc/kubernetes/kube-router.kubeconfig
# Leave empty to autodetect:
-# HOSTNAME=
+# HOSTNAME is a bashism, so change to HOSTNAME_OVERRIDE
+# HOSTNAME_OVERRIDE=
# RUN_PROXY=true
# RUN_FIREWALL=true
diff --git a/sys-cluster/kube-router/files/kube-router.initd b/sys-cluster/kube-router/files/kube-router.initd
index 9b96ec024f66..de39cd76de9b 100644
--- a/sys-cluster/kube-router/files/kube-router.initd
+++ b/sys-cluster/kube-router/files/kube-router.initd
@@ -12,7 +12,7 @@ command_args="--master=${K8S_APISERVER} --kubeconfig=${KUBECONFIG} \
--run-service-proxy=${RUN_PROXY:-false} \
--run-firewall=${RUN_FIREWALL:-false} \
--run-router=${RUN_ROUTER:-false} \
- ${HOSTNAME:+--hostname-override=}${HOSTNAME} \
+ ${HOSTNAME_OVERRIDE:+--hostname-override=}${HOSTNAME_OVERRIDE} \
${EXTRA_ARGS}"
extra_commands="clear"
@@ -21,7 +21,7 @@ clear() {
"${command}" --cleanup-config
}
-if [[ -n "${KUBE_ROUTER_HEALTHCHECK_URI}" ]]; then
+if [ -n "${KUBE_ROUTER_HEALTHCHECK_URI}" ]; then
healthcheck_delay=60
healthcheck_timer=30
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/files/
@ 2022-07-28 20:13 William Hubbs
0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs @ 2022-07-28 20:13 UTC (permalink / raw
To: gentoo-commits
commit: c6199b11cf6cef290f30adcbae491e1180567998
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 20:11:18 2022 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 20:11:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6199b11
sys-cluster/kube-router:fix quoting in service script
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
sys-cluster/kube-router/files/kube-router.initd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-cluster/kube-router/files/kube-router.initd b/sys-cluster/kube-router/files/kube-router.initd
index de39cd76de9b..11645e0abc5d 100644
--- a/sys-cluster/kube-router/files/kube-router.initd
+++ b/sys-cluster/kube-router/files/kube-router.initd
@@ -5,7 +5,7 @@
description="Kubernetes routing engine"
supervisor=supervise-daemon
command="/usr/bin/kube-router"
-error_log='/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log'
+error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
pidfile="${pidfile:-/run/${RC_SVCNAME}.pid}"
command_args="--master=${K8S_APISERVER} --kubeconfig=${KUBECONFIG} \
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-28 20:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-28 20:13 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kube-router/files/ William Hubbs
-- strict thread matches above, loose matches on Subject: below --
2022-07-28 20:13 William Hubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox