package
2.7.0-nightly
Repository: https://github.com/apache/camel-k.git
Documentation: pkg.go.dev

# Functions

AddToScheme adds OpenShift types to the scheme.
GetOpenshiftPodSecurityContextRestricted return the PodSecurityContext (https://docs.openshift.com/container-platform/4.12/authentication/managing-security-context-constraints.html): FsGroup set to the minimum value in the "openshift.io/sa.scc.supplemental-groups" annotation if exists, else falls back to minimum value "openshift.io/sa.scc.uid-range" annotation.
GetOpenshiftSecurityContextRestricted return the PodSecurityContext (https://docs.openshift.com/container-platform/4.12/authentication/managing-security-context-constraints.html): User set to the minimum value in the "openshift.io/sa.scc.uid-range" annotation.
GetOpenshiftUser return the UserId (https://docs.openshift.com/container-platform/4.12/authentication/managing-security-context-constraints.html): User set to the minimum value in the "openshift.io/sa.scc.uid-range" annotation.
IsOpenShift returns true if we are connected to a OpenShift cluster.