Skip to main content
Version: 1.35.2

This page comes from sighupio/distribution: docs/schemas/ekscluster-kfd-v1alpha2.md (v1.35.2). To change it, change the source.

EKSCluster: .spec.distribution.modules.auth

This page is part of the EKSCluster schema reference.

.spec.distribution.modules.auth​

Properties​

PropertyTypeRequired
baseDomainstringOptional
dexobjectOptional
oidcTrustedCAstringOptional
overridesobjectOptional
pomeriumobjectOptional
providerobjectRequired

Description​

Configuration for the Auth module.

.spec.distribution.modules.auth.baseDomain​

Description​

The base domain for the ingresses created by the Auth module (Gangplank, Pomerium, Dex). Notice that when the ingress module type is dual, these will use the external ingress class.

.spec.distribution.modules.auth.dex​

Properties​

PropertyTypeRequired
additionalStaticClientsarrayOptional
connectorsarrayRequired
expiryobjectOptional
overridesobjectOptional

Description​

Configuration for the Dex package.

.spec.distribution.modules.auth.dex.additionalStaticClients​

Description​

Additional static clients defitions that will be added to the default clients included with the distribution in Dex's configuration. Example:

additionalStaticClients:
- id: my-custom-client
name: "A custom additional static client"
redirectURIs:
- "https://myapp.tld/redirect"
- "https://alias.tld/oidc-callback"
secret: supersecretpassword

Reference: https://dexidp.io/docs/connectors/local/

.spec.distribution.modules.auth.dex.connectors​

Description​

A list with each item defining a Dex connector. Follows Dex connectors configuration format: https://dexidp.io/docs/connectors/

.spec.distribution.modules.auth.dex.expiry​

Properties​

PropertyTypeRequired
idTokensstringOptional
signingKeysstringOptional

.spec.distribution.modules.auth.dex.expiry.idTokens​

Description​

Dex ID tokens expiration time duration (default 24h).

.spec.distribution.modules.auth.dex.expiry.signingKeys​

Description​

Dex signing key expiration time duration (default 6h).

.spec.distribution.modules.auth.dex.overrides​

Properties​

PropertyTypeRequired
nodeSelectorobjectOptional
tolerationsarrayOptional

.spec.distribution.modules.auth.dex.overrides.nodeSelector​

Description​

Set to override the node selector used to place the pods of the package.

.spec.distribution.modules.auth.dex.overrides.tolerations​

Properties​

PropertyTypeRequired
effectstringRequired
keystringRequired
operatorstringOptional
valuestringOptional

Description​

Set to override the tolerations that will be added to the pods of the package.

.spec.distribution.modules.auth.dex.overrides.tolerations.effect​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"NoSchedule"
"PreferNoSchedule"
"NoExecute"

.spec.distribution.modules.auth.dex.overrides.tolerations.key​

Description​

The key of the toleration

.spec.distribution.modules.auth.dex.overrides.tolerations.operator​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"Exists"
"Equal"

.spec.distribution.modules.auth.dex.overrides.tolerations.value​

Description​

The value of the toleration

.spec.distribution.modules.auth.oidcTrustedCA​

Description​

The Certificate Authority certificate file's content to trust for self-signed certificates at the OAuth2 URL. You can use the "{file://<path>}" notation to get the content from a file.

.spec.distribution.modules.auth.overrides​

Properties​

PropertyTypeRequired
ingressesobjectOptional
nodeSelectorobjectOptional
tolerationsarrayOptional

Description​

Override the common configuration with a particular configuration for the Auth module.

.spec.distribution.modules.auth.overrides.ingresses​

Properties​

PropertyTypeRequired
dexobjectOptional
gangplankobjectOptional
pomeriumobjectOptional

Description​

Override the definition of the Auth module ingresses.

.spec.distribution.modules.auth.overrides.ingresses.dex​

Properties​

PropertyTypeRequired
hoststringRequired
ingressClassstringRequired

.spec.distribution.modules.auth.overrides.ingresses.dex.host​

Description​

Use this host for the ingress instead of the default one.

.spec.distribution.modules.auth.overrides.ingresses.dex.ingressClass​

Description​

Use this ingress class for the ingress instead of the default one.

.spec.distribution.modules.auth.overrides.ingresses.gangplank​

Properties​

PropertyTypeRequired
hoststringRequired
ingressClassstringRequired

.spec.distribution.modules.auth.overrides.ingresses.gangplank.host​

Description​

Use this host for the ingress instead of the default one.

.spec.distribution.modules.auth.overrides.ingresses.gangplank.ingressClass​

Description​

Use this ingress class for the ingress instead of the default one.

.spec.distribution.modules.auth.overrides.ingresses.pomerium​

Properties​

PropertyTypeRequired
hoststringRequired
ingressClassstringRequired

.spec.distribution.modules.auth.overrides.ingresses.pomerium.host​

Description​

Use this host for the ingress instead of the default one.

.spec.distribution.modules.auth.overrides.ingresses.pomerium.ingressClass​

Description​

Use this ingress class for the ingress instead of the default one.

.spec.distribution.modules.auth.overrides.nodeSelector​

Description​

Set to override the node selector used to place the pods of the Auth module.

.spec.distribution.modules.auth.overrides.tolerations​

Properties​

PropertyTypeRequired
effectstringRequired
keystringRequired
operatorstringOptional
valuestringOptional

Description​

Set to override the tolerations that will be added to the pods of the Auth module.

.spec.distribution.modules.auth.overrides.tolerations.effect​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"NoSchedule"
"PreferNoSchedule"
"NoExecute"

.spec.distribution.modules.auth.overrides.tolerations.key​

Description​

The key of the toleration

.spec.distribution.modules.auth.overrides.tolerations.operator​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"Exists"
"Equal"

.spec.distribution.modules.auth.overrides.tolerations.value​

Description​

The value of the toleration

.spec.distribution.modules.auth.pomerium​

Properties​

PropertyTypeRequired
defaultRoutesPolicyobjectOptional
overridesobjectOptional
policystringOptional
routesarrayOptional
secretsobjectRequired

Description​

Configuration for Pomerium, an identity-aware reverse proxy used for SSO.

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy​

Properties​

PropertyTypeRequired
gatekeeperPolicyManagerarrayOptional
hubbleUiarrayOptional
ingressForecastlearrayOptional
loggingMinioConsolearrayOptional
loggingOpensearchDashboardsarrayOptional
monitoringAlertmanagerarrayOptional
monitoringGrafanaarrayOptional
monitoringMinioConsolearrayOptional
monitoringPrometheusarrayOptional
tracingMinioConsolearrayOptional
whiskerarrayOptional

Description​

override default routes for SD components

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.gatekeeperPolicyManager​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.hubbleUi​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.ingressForecastle​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.loggingMinioConsole​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.loggingOpensearchDashboards​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.monitoringAlertmanager​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.monitoringGrafana​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.monitoringMinioConsole​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.monitoringPrometheus​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.tracingMinioConsole​

.spec.distribution.modules.auth.pomerium.defaultRoutesPolicy.whisker​

.spec.distribution.modules.auth.pomerium.overrides​

Properties​

PropertyTypeRequired
nodeSelectorobjectOptional
tolerationsarrayOptional

.spec.distribution.modules.auth.pomerium.overrides.nodeSelector​

.spec.distribution.modules.auth.pomerium.overrides.tolerations​

Properties​

PropertyTypeRequired
effectstringRequired
keystringRequired
operatorstringOptional
valuestringRequired

.spec.distribution.modules.auth.pomerium.overrides.tolerations.effect​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"NoSchedule"
"PreferNoSchedule"
"NoExecute"

.spec.distribution.modules.auth.pomerium.overrides.tolerations.key​

.spec.distribution.modules.auth.pomerium.overrides.tolerations.operator​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"Exists"
"Equal"

.spec.distribution.modules.auth.pomerium.overrides.tolerations.value​

.spec.distribution.modules.auth.pomerium.policy​

Description​

DEPRECATED: Use defaultRoutesPolicy and/or routes

.spec.distribution.modules.auth.pomerium.routes​

Description​

Additional routes configuration for Pomerium. Follows Pomerium's route format: https://www.pomerium.com/docs/reference/routes

.spec.distribution.modules.auth.pomerium.secrets​

Properties​

PropertyTypeRequired
COOKIE_SECRETstringRequired
IDP_CLIENT_SECRETstringRequired
SHARED_SECRETstringRequired
SIGNING_KEYstringRequired

Description​

Pomerium needs some user-provided secrets to be fully configured. These secrets should be unique between clusters.

.spec.distribution.modules.auth.pomerium.secrets.COOKIE_SECRET​

Description​

Cookie Secret is the secret used to encrypt and sign session cookies.

To generate a random key, run the following command: head -c32 /dev/urandom | base64

.spec.distribution.modules.auth.pomerium.secrets.IDP_CLIENT_SECRET​

Description​

Identity Provider Client Secret is the OAuth 2.0 Secret Identifier. When auth type is SSO, this value will be the secret used to authenticate Pomerium with Dex, use a strong random value.

.spec.distribution.modules.auth.pomerium.secrets.SHARED_SECRET​

Description​

Shared Secret is the base64-encoded, 256-bit key used to mutually authenticate requests between Pomerium services. It's critical that secret keys are random, and stored safely.

To generate a key, run the following command: head -c32 /dev/urandom | base64

.spec.distribution.modules.auth.pomerium.secrets.SIGNING_KEY​

Description​

Signing Key is the base64 representation of one or more PEM-encoded private keys used to sign a user's attestation JWT, which can be consumed by upstream applications to pass along identifying user information like username, id, and groups.

To generates an P-256 (ES256) signing key:

openssl ecparam -genkey -name prime256v1 -noout -out ec_private.pem
# careful! this will output your private key in terminal
cat ec_private.pem | base64

.spec.distribution.modules.auth.provider​

Properties​

PropertyTypeRequired
basicAuthobjectOptional
typestringRequired

.spec.distribution.modules.auth.provider.basicAuth​

Properties​

PropertyTypeRequired
passwordstringRequired
usernamestringRequired

Description​

Configuration for the HTTP Basic Auth provider.

.spec.distribution.modules.auth.provider.basicAuth.password​

Description​

The password for logging in with the HTTP basic authentication.

.spec.distribution.modules.auth.provider.basicAuth.username​

Description​

The username for logging in with the HTTP basic authentication.

.spec.distribution.modules.auth.provider.type​

Description​

The type of the Auth provider, options are:

  • none: will disable authentication in the infrastructural ingresses.
  • sso: will protect the infrastructural ingresses with Pomerium and Dex (SSO) and require authentication before accessing them.
  • basicAuth: will protect the infrastructural ingresses with HTTP basic auth (username and password) authentication.

Default is none.

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"none"
"basicAuth"
"sso"