---
apiVersion: v1
kind: ConfigMap
metadata:
  name: kubeconfig
data:
  admin.conf: |
    apiVersion: v1
    clusters:
    - cluster:
        certificate-authority: /pki/kubeconfig/ca.crt
        server: https://kube-apiserver-svc:6443
      name: default-cluster
    contexts:
    - context:
        cluster: default-cluster
        namespace: default
        user: default-auth
      name: default-context
    current-context: default-context
    kind: Config
    preferences: {}
    users:
    - name: default-auth
      user:
        client-certificate: /pki/kubeconfig/tls.crt
        client-key: /pki/kubeconfig/tls.key