---
apiVersion: v1
kind: ConfigMap
metadata:
  name: kubeconfig-configmap
data:
  config: |
    apiVersion: v1
    clusters:
      - cluster:
          certificate-authority-data: ${CERTIFICATE_AUTHORITY_DATA}
          server: https://kubernetes.docker.internal:6443
        name: docker-desktop
    contexts:
      - context:
          cluster: docker-desktop
          namespace: tekton-pipelines
          user: docker-desktop
        name: docker-desktop
    current-context: docker-desktop
    kind: Config
    preferences: {}
    users:
      - name: docker-desktop
        user:
          client-certificate-data: ${CLIENT_CERTIFICATE_DATA}
          client-key-data: ${CLIENT_KEY_DATA}