Skip to content

Commit 6f0c598

Browse files
authored
Allow setting shootAdminKubeconfigMaxExpiration in Garden resource. (#519)
1 parent b8f0829 commit 6f0c598

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

control-plane/roles/gardener-operator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Here are the steps for the migration:
6767
| gardener_operator_virtual_garden_public_dns | | The domain on which the virtual garden istio ingress is exposed |
6868
| gardener_operator_virtual_garden_etcd_storage_class | | The storage class used by the virtual garden etcd |
6969
| gardener_virtual_garden_api_server_version | | The kubernetes version of the virtual garden |
70+
| gardener_operator_shoot_admin_kubeconfig_max_expiration | | The max expiration for admin kubeconfigs |
7071
| gardener_operator_virtual_garden_oidc_issuer_url | | [Corresponds to the `--oidc-issuer-url` flag](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#oidc-issuer-url) in the Kubernetes API server configuration. |
7172
| gardener_operator_virtual_garden_oidc_client_id | | [Corresponds to the `--oidc-client-id` flag](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#oidc-client-id) in the Kubernetes API server configuration. |
7273
| gardener_operator_virtual_garden_oidc_username_claim | | [Corresponds to the `--oidc-username-claim` flag](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#oidc-username-claim) in the Kubernetes API server configuration. |

control-plane/roles/gardener-operator/defaults/main/operator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ gardener_operator_image_vector_overwrite:
3737
gardener_operator_component_image_vector_overwrite:
3838

3939
gardener_operator_helm_chart_tag: "{{ gardener_operator_image_tag }}"
40+
41+
gardener_operator_shoot_admin_kubeconfig_max_expiration: "24h"

control-plane/roles/gardener-operator/templates/garden.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ spec:
188188
gardenerAPIServer:
189189
admissionPlugins:
190190
- name: ShootVPAEnabledByDefault
191+
shootAdminKubeconfigMaxExpiration: "{{ gardener_operator_shoot_admin_kubeconfig_max_expiration }}"
191192
# - name: ShootDNSRewriting
192193
# disabled: false
193194
# config:

0 commit comments

Comments
 (0)