feat(server): Authentication Controller configuration

This commit is contained in:
Bo-Yi Wu 2019-06-26 01:49:15 +08:00
parent a4b8112dcd
commit d15704b0ae

View File

@ -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 %}