Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Properties ¶
type Properties struct { IsOpenShift bool // True if we are running on OpenShift HasSCCRestrictedV2 bool // True if the SecurityContextConstraints "restricted-v2" exists }
Properties contains properties about the environment in which we are running
func GetProperties ¶
func GetProperties(ctx context.Context, client client.Client, logger logr.Logger) (Properties, error)
Retrieves properties of the running cluster
Click to show internal directories.
Click to hide internal directories.