This page comes from sighupio/distribution: docs/schemas/immutable-kfd-v1alpha2.md (v1.36.1). To change it, change the source.
Immutable: .spec.distribution.modules.utilities
This page is part of the Immutable schema reference.
.spec.distribution.modules.utilities
Properties
| Property | Type | Required |
|---|---|---|
| headlamp | object | Required |
Description
Configuration for the Utilities module.
.spec.distribution.modules.utilities.headlamp
Properties
| Property | Type | Required |
|---|---|---|
| clusterRole | string | Optional |
| oidcGroup | string | Optional |
| type | string | Required |
Description
Configuration for Headlamp.
.spec.distribution.modules.utilities.headlamp.clusterRole
Description
The name of an existing ClusterRole to bind to the Headlamp ServiceAccount, used only when type is token-auth. Anyone with the ServiceAccount token will have the permissions of this ClusterRole. Example: view.
Constraints
minimum length: the minimum number of characters for this string is: 1
.spec.distribution.modules.utilities.headlamp.oidcGroup
Description
The name of the OIDC group, without the prefix, to bind to the role that Headlamp needs. Required when type is sso, and used only in that case. The group will only be able to get and watch the headlamp/sd-spec ConfigMap, the distribution summary that the SD plugins read. To let the group see other resources in Headlamp, bind it to other roles, for example the view ClusterRole. The OIDC groups prefix of the API server (.spec.kubernetes.advanced.oidc.groups_prefix, default oidc:) is added automatically, so do not include it. Example: authors becomes oidc:authors.
Constraints
minimum length: the minimum number of characters for this string is: 1
.spec.distribution.modules.utilities.headlamp.type
Description
The type of authentication for Headlamp, options are:
none: will disable Headlamp.token-auth: will expose Headlamp atdashboard.<baseDomain>, users log in with a Kubernetes token.sso: will expose Headlamp atdashboard.<baseDomain>protected by Pomerium, users log in with SSO. Requires.spec.distribution.modules.auth.provider.typeto besso. Pomerium's sign-out redirect URL is also set to Headlamp, so signing out of any application protected by Pomerium lands on Headlamp's login flow.
Default is none.
Constraints
enum: the value of this property must be equal to one of the following string values:
| Value |
|---|
"none" |
"token-auth" |
"sso" |