add support for service-account-lookup parameter (#8781)

* feat: add variable to manage service-account-lookup on kube-apiserver

* docs: add documentation about service-account-lookup variable
This commit is contained in:
Alessio Greggi
2022-05-06 09:39:07 +02:00
committed by GitHub
parent 3e52a0db95
commit e7df4d3dd9
3 changed files with 10 additions and 0 deletions

View File

@@ -146,6 +146,9 @@ apiServer:
{% if kube_token_auth|default(true) %}
token-auth-file: {{ kube_token_dir }}/known_tokens.csv
{% endif %}
{% if kube_apiserver_service_account_lookup %}
service-account-lookup: "{{ kube_apiserver_service_account_lookup }}"
{% endif %}
{% if kube_oidc_auth|default(false) and kube_oidc_url is defined and kube_oidc_client_id is defined %}
oidc-issuer-url: "{{ kube_oidc_url }}"
oidc-client-id: "{{ kube_oidc_client_id }}"