You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use operator-controller SA by default, make SA field optional
Changes the ClusterExtension API field spec.ServiceAccount to be
optional. Operator-controller will use its own service account by
default unless the spec.ServiceAccount field is set. RBAC
PreAuthorization only happens if the optional SA field is set, as well.
Give operator-controller's SA cluster-admin by default.
// ServiceAccountReference identifies the serviceAccount used fo install a ClusterExtension.
377
+
// ServiceAccountReference identifies the serviceAccount used to install a ClusterExtension.
378
378
typeServiceAccountReferencestruct {
379
379
// name is a required, immutable reference to the name of the ServiceAccount
380
380
// to be used for installation and management of the content for the package
@@ -403,7 +403,7 @@ type ServiceAccountReference struct {
403
403
// +kubebuilder:validation:MaxLength:=253
404
404
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="name is immutable"
405
405
// +kubebuilder:validation:XValidation:rule="self.matches(\"^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$\")",message="name must be a valid DNS1123 subdomain. It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.), start and end with an alphanumeric character, and be no longer than 253 characters"
0 commit comments