# SPDX-FileCopyrightText: 2021 SAP SE or an SAP affiliate company and Gardener contributors # # SPDX-License-Identifier: Apache-2.0 # supported with kubectl version v1.11.0 onwards apiVersion: v1 kind: Config clusters: - name: shoot--myproject--mycluster cluster: server: https://api.mycluster.myproject.example.com certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCi4uLgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t contexts: - name: shoot--myproject--mycluster context: cluster: shoot--myproject--mycluster user: shoot--myproject--mycluster current-context: shoot--myproject--mycluster users: - name: shoot--myproject--mycluster user: exec: apiVersion: client.authentication.k8s.io/v1beta1 command: kubectl args: - gardenlogin - get-client-certificate - --garden-cluster-identity=landscape-dev - --name=mycluster - --namespace=garden-myproject