github.com/oam-dev/cluster-gateway@v1.9.0/hack/samples/cluster-gateway-secret-x509.yaml (about)

     1  apiVersion: v1
     2  kind: Secret
     3  metadata:
     4    labels:
     5      cluster.core.oam.dev/cluster-credential-type: X509Certificate
     6      cluster.core.oam.dev/cluster-endpoint-type: Const
     7    name: foo1
     8    namespace: open-cluster-management-credentials
     9  type: Opaque
    10  data:
    11    ca.crt: <...>
    12    tls.crt: <...>
    13    tls.key: <...>
    14    endpoint: "https://127.0.0.1:6443" # Optional upon ClusterProxy endpoint type