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

     1  apiVersion: v1
     2  data:
     3    ca.crt: <...>
     4    namespace: a3ViZS1zeXN0ZW0=
     5    token: <...>
     6    # no endpoint are required
     7  kind: Secret
     8  metadata:
     9    labels:
    10      cluster.core.oam.dev/cluster-credential-type: ServiceAccountToken
    11      cluster.core.oam.dev/cluster-endpoint-type: Const
    12    name: foo1
    13    namespace: open-cluster-management-credentials
    14  type: Opaque