github.com/oam-dev/cluster-gateway@v1.9.0/examples/client-identity-exchanger/config.yaml (about)

     1  apiVersion: cluster.core.oam.dev/v1alpha1
     2  kind: ClusterGatewayProxyConfiguration
     3  spec:
     4    clientIdentityExchanger:
     5      rules:
     6        - name: super-user
     7          source:
     8            group: sudoer
     9          type: PrivilegedIdentityExchanger
    10        - name: mapping
    11          source:
    12            user: user-12345
    13            cluster: cluster-34567
    14          target:
    15            user: user-34567
    16          type: StaticMappingIdentityExchanger