Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=core.openmcp.cloud
Index ¶
Constants ¶
const (
// DefaultOIDCProviderName is the identifier for the default OIDC provider.
DefaultOIDCProviderName = "default"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.openmcp.cloud", Version: "v2alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type IAMConfig ¶
type IAMConfig struct { // RoleBindings is a list of subjects with (cluster) role bindings that should be created for them. // These bindings refer to the standard OIDC provider. If empty, the standard OIDC provider is disabled. // Note that the username prefix is added automatically to the subjects' names, it must not be explicitly specified here. // +optional RoleBindings []commonapi.RoleBindings `json:"roleBindings,omitempty"` // OIDCProviders is a list of OIDC providers that should be configured for the ManagedControlPlaneV2. // They are independent of the standard OIDC provider and in addition to it, unless it has been disabled by not specifying any role bindings. // +kubebuilder:validation:items:XValidation:rule="self.name != 'default'", message="OIDC provider name must not be 'default' as this is reserved for the standard OIDC provider" // +optional OIDCProviders []*commonapi.OIDCProviderConfig `json:"oidcProviders,omitempty"` }
func (*IAMConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMConfig.
func (*IAMConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedControlPlaneV2 ¶
type ManagedControlPlaneV2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedControlPlaneV2Spec `json:"spec,omitempty"` Status ManagedControlPlaneV2Status `json:"status,omitempty"` }
func (*ManagedControlPlaneV2) DeepCopy ¶
func (in *ManagedControlPlaneV2) DeepCopy() *ManagedControlPlaneV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedControlPlaneV2.
func (*ManagedControlPlaneV2) DeepCopyInto ¶
func (in *ManagedControlPlaneV2) DeepCopyInto(out *ManagedControlPlaneV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedControlPlaneV2) DeepCopyObject ¶
func (in *ManagedControlPlaneV2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedControlPlaneV2List ¶
type ManagedControlPlaneV2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagedControlPlaneV2 `json:"items"` }
func (*ManagedControlPlaneV2List) DeepCopy ¶
func (in *ManagedControlPlaneV2List) DeepCopy() *ManagedControlPlaneV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedControlPlaneV2List.
func (*ManagedControlPlaneV2List) DeepCopyInto ¶
func (in *ManagedControlPlaneV2List) DeepCopyInto(out *ManagedControlPlaneV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedControlPlaneV2List) DeepCopyObject ¶
func (in *ManagedControlPlaneV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedControlPlaneV2Spec ¶
type ManagedControlPlaneV2Spec struct { // IAM contains the access management configuration for the ManagedControlPlaneV2. IAM IAMConfig `json:"iam"` }
func (*ManagedControlPlaneV2Spec) DeepCopy ¶
func (in *ManagedControlPlaneV2Spec) DeepCopy() *ManagedControlPlaneV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedControlPlaneV2Spec.
func (*ManagedControlPlaneV2Spec) DeepCopyInto ¶
func (in *ManagedControlPlaneV2Spec) DeepCopyInto(out *ManagedControlPlaneV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedControlPlaneV2Status ¶
type ManagedControlPlaneV2Status struct { commonapi.Status `json:",inline"` // Access is a mapping from OIDC provider names to secret references. // Each referenced secret is expected to contain a 'kubeconfig' key with the kubeconfig that was generated for the respective OIDC provider for the ManagedControlPlaneV2. // The default OIDC provider, if configured, uses the name "default" in this mapping. // The "default" key is also used if the ClusterProvider does not support OIDC-based access and created a serviceaccount with a token instead. Access map[string]commonapi.LocalObjectReference `json:"access"` }
func (*ManagedControlPlaneV2Status) DeepCopy ¶
func (in *ManagedControlPlaneV2Status) DeepCopy() *ManagedControlPlaneV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedControlPlaneV2Status.
func (*ManagedControlPlaneV2Status) DeepCopyInto ¶
func (in *ManagedControlPlaneV2Status) DeepCopyInto(out *ManagedControlPlaneV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.