# Functions

FilterToUsersAndGroups returns a subset of the provided subjects that are only Users and Groups i.e.
GetCommonLabels returns all common labels added to all generated resources.
GetDefaultClusterRoles returns the default ClusterRoles that this operator was started with.
GetHelmResourceLabels returns the labels to be added to all generated Helm resources (HelmCharts, HelmReleases).
GetProjectNamespaceAnnotations returns the annotations to be added to all Project Namespaces Note: annotations allow integration with Rancher Projects since they handle importing namespaces into Projects.
GetProjectNamespaceLabels returns the labels to be added to all Project Namespaces.
HasCleanupLabel returns whether a ProjectHelmChart has the cleanup label.
HasHelmProjectOperatedLabel returns whether a ProjectHelmChart has the Helm Project Operated label.
IsDefaultClusterRoleRef returns whether the provided name is a default ClusterRole ref that this operator was started with (e.g.
LoadHardeningOptionsFromFile unmarshalls the struct found at the file to YAML and reads it into memory.
LoadValuesOverrideFromFile unmarshalls the struct found at the file to YAML and reads it into memory.

# Constants

HelmProjectOperatedCleanupLabel is a label attached to ProjectHelmCharts to facilitate cleanup; all ProjectHelmCharts with this label will have their HelmCharts and HelmReleases cleaned up until the next time the Operator is deployed; on redeploying the operator, this label will automatically be removed from all ProjectHelmCharts deployed in the cluster.
HelmProjectOperatedLabel marks all HelmCharts, HelmReleases, and namespaces created by this operator.
HelmProjectOperatedNamespaceOrphanedLabel marks all auto-generated namespaces that no longer have resources tracked by this operator; if a namespace has this label, it is safe to delete.
HelmProjectOperatorDashboardValuesConfigMapLabel is a label that identifies a ConfigMap that should be merged into status.dashboardValues when available The value of this label will be the release name of the Helm chart, which will be used to identify which ProjectHelmChart's status needs to be updated.
HelmProjectOperatorHelmAPIVersionLabel is a label that identifies the HelmAPIVersion that a HelmChart or HelmRelease is tied to This is used to identify whether a HelmChart or HelmRelease should be deleted from the cluster on uninstall.
HelmProjectOperatorProjectHelmChartRoleAggregateFromLabel is a label that identifies which subjects should be bound to the Project Helm Chart Role The value of this label will be the name of the default k8s ClusterRoles (cluster-admin, admin, edit, view).
HelmProjectOperatorProjectHelmChartRoleBindingLabel is a label that identifies a RoleBinding as one that has been created in response to a ProjectHelmChart role The value of this label will be the release name of the Helm chart, which will be used to identify which ProjectHelmChart's enqueue should resynchronize this.
HelmProjectOperatorProjectHelmChartRoleLabel is a label that identifies a Role as one that needs RoleBindings to be managed by the Helm Project Operator The value of this label will be the release name of the Helm chart, which will be used to identify which ProjectHelmChart's enqueue should resynchronize this.
HelmProjectOperatorProjectLabel is applied to the Project Registration Namespace, the ProjectReleaseNamespace, and (only if both ProjectLabel and ProjectReleaseLabelValue are provided) to all Project namespaces If ProjectLabel and ProjectReleaseLabelValue are supplied, this label will be supplied to the global.cattle.projectNamespaceSelector to identify all namespaces tied to a given project.
ProjectRegistrationNamespaceFmt is the format used in order to create project registration namespaces if ProjectLabel is provided If SystemProjectLabel is also provided, the project release namespace will be this namespace with `-<ReleaseName>` suffixed, where ReleaseName is provided by the Project Operator that implements Helm Project Operator.

# Structs

DefaultServiceAccountOptions represents the overrides to be supplied to the default Service Account's fields Note: the values of these fields is identical to what is defined on the corev1.ServiceAccount object.
HardeningOptions are options that can be provided to override the default hardening resources applied to all namespaces created by this Project Operator.
OperatorOptions are options provided by an operator that is implementing Helm Project Operator.
Options defines options that can be set on initializing the HelmProjectOperator.
No description provided by the author

# Type aliases

DefaultNetworkPolicyOptions is the NetworkPolicySpec specified for generated NetworkPolicy created by the hardening controller.