EKS Anywhere cluster yaml specification OIDC reference
EKS Anywhere can create clusters that support api server OIDC authentication.
vSphere | Bare Metal | Nutanix | CloudStack | Snow | |
---|---|---|---|---|---|
Supported? | ✓ | ✓ | ✓ | ✓ | ✓ |
In order to add OIDC support, you need to configure your cluster by updating the configuration file to include the details below. The OIDC configuration can be added at cluster creation time, or introduced via a cluster upgrade in VMware and CloudStack.
This is a generic template with detailed descriptions below for reference:
apiVersion: anywhere.eks.amazonaws.com/v1alpha1 kind: Cluster metadata: name: my-cluster-name spec: ... # OIDC support identityProviderRefs: - kind: OIDCConfig name: my-cluster-name --- apiVersion: anywhere.eks.amazonaws.com/v1alpha1 kind: OIDCConfig metadata: name: my-cluster-name spec: clientId: "" groupsClaim: "" groupsPrefix: "" issuerUrl: "https://x" requiredClaims: - claim: "" value: "" usernameClaim: "" usernamePrefix: ""
List of identity providers you want configured for the Cluster. This would include a reference to the OIDCConfig
object with the configuration below.
List of RequiredClaim objects listed below. Only one is supported at this time.
ncG1vNJzZmiZnq7EqbHRnmWeo6Njrq6t2ailmq%2BjY7CwuY6dppyrX5yytcDIp55mq6SWv7Wxw2imqayZpLuiuI6ooJ2bXw%3D%3D