From 78ca71235de13831f76ebab32aaf6bb001483718 Mon Sep 17 00:00:00 2001 From: jcgl17 Date: Thu, 13 Jun 2024 01:10:05 -0500 Subject: [PATCH] Add documentation for KUBERNETES_SERVICE_HOST in Agent (#3747) Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com> --- docs/docs/30-administration/22-backends/40-kubernetes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs/30-administration/22-backends/40-kubernetes.md b/docs/docs/30-administration/22-backends/40-kubernetes.md index ca19fe451..48f4a622d 100644 --- a/docs/docs/30-administration/22-backends/40-kubernetes.md +++ b/docs/docs/30-administration/22-backends/40-kubernetes.md @@ -228,6 +228,12 @@ workspace: See [this issue](https://github.com/woodpecker-ci/woodpecker/issues/2510) for more details. +### `KUBERNETES_SERVICE_HOST` environment variable + +Like the below env vars used for configuration, this can be set in the environment fonfiguration of the agent. It configures the address of the Kubernetes API server to connect to. + +If running the agent within Kubernetes, this will already be set and you don't have to add it manually. + ## Configuration These env vars can be set in the `env:` sections of the agent.