github.com/oam-dev/cluster-gateway@v1.9.0/hack/samples/cluster-gateway-secret-serviceaccount-token.yaml (about) 1 apiVersion: v1 2 kind: Secret 3 metadata: 4 labels: 5 cluster.core.oam.dev/cluster-credential-type: ServiceAccountToken 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 token: <...> 13 endpoint: "https://127.0.0.1:6443" # Optional upon ClusterProxy endpoint type