Skip to main content
Version: 1.36.1

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

OnPremises: .spec.distribution.modules.utilities

This page is part of the OnPremises schema reference.

.spec.distribution.modules.utilities​

Properties​

PropertyTypeRequired
headlampobjectRequired

Description​

Configuration for the Utilities module.

.spec.distribution.modules.utilities.headlamp​

Properties​

PropertyTypeRequired
clusterRolestringOptional
oidcGroupstringOptional
typestringRequired

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 at dashboard.<baseDomain>, users log in with a Kubernetes token.
  • sso: will expose Headlamp at dashboard.<baseDomain> protected by Pomerium, users log in with SSO. Requires .spec.distribution.modules.auth.provider.type to be sso. 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"