Skip to main content

Module access_request_crd

Module access_request_crd 

Source
Expand description

White-labeled naming for the access-request custom resource.

The operator manifest (alien-helm) and the operator runtime (alien-access-request-crd-loop) BOTH derive the CRD’s group/kind/plural from the deployment’s branding domain here, so the resource the manifest registers is exactly the one the operator creates and watches — they can’t drift.

For a vendor whose branded domain is acme.dev, the access-request CRD is:

group:  accessrequests.acme.dev
kind:   AcmeAccessRequest
plural: acmeaccessrequests
short:  acmear

When no branding domain is set it falls back to the Alien defaults (accessrequests.alien.dev / AlienAccessRequest).

Structs§

AccessRequestCrdNames
Derived, white-labeled names for the access-request custom resource.

Constants§

ACCESS_REQUEST_CRD_VERSION
The CRD version served (single alpha version for now).
DEFAULT_LABEL_DOMAIN
The default (unbranded) DNS domain the access-request CRD lives under.

Functions§

access_request_crd_names
Derive the access-request-CRD names from a branding domain (e.g. Some("acme.dev")). None/empty → the Alien defaults.