From d15704b0ae0ea887789f8e4e5bec37498b8a3474 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 26 Jun 2019 01:49:15 +0800 Subject: [PATCH] feat(server): Authentication Controller configuration --- templates/drone-server.env.j2 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/drone-server.env.j2 b/templates/drone-server.env.j2 index f05ce96..0c10140 100644 --- a/templates/drone-server.env.j2 +++ b/templates/drone-server.env.j2 @@ -79,7 +79,6 @@ DRONE_KUBERNETES_SERVICE_ACCOUNT={{ drone_kubernetes_service_account }} DRONE_KUBERNETES_IMAGE_PULL={{ drone_kubernetes_image_pull }} DRONE_KUBERNETES_IMAGE={{ drone_kubernetes_image }} {% endif %} - {% if drone_cookie_secret is defined %} DRONE_COOKIE_SECRET={{ drone_cookie_secret }} {% endif %} @@ -92,3 +91,12 @@ DRONE_LEGACY_TOKEN_MAPPING_FILE={{ drone_legacy_token_mapping_file }} {% if drone_cookie_timeout is defined %} DRONE_COOKIE_TIMEOUT={{ drone_cookie_timeout }} {% endif %} +{% if drone_authentication_endpoint is defined %} +DRONE_AUTHENTICATION_ENDPOINT={{ drone_authentication_endpoint }} +{% endif %} +{% if drone_authentication_token is defined %} +DRONE_AUTHENTICATION_TOKEN={{ drone_authentication_token }} +{% endif %} +{% if drone_authentication_skip_verify is defined %} +DRONE_AUTHENTICATION_SKIP_VERIFY=true +{% endif %}