Documentation ¶
Index ¶
Constants ¶
const ManifestPath = "./data"
ManifestPath is the path to the manifest templates
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new NetworkAddonsConfig Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func IsMonitoringAvailable ¶ added in v0.58.0
func IsMonitoringAvailable(c kubernetes.Interface) (bool, error)
isMonitoringAvailable checks if we can deploy the monitoring component
Types ¶
type ReconcileNetworkAddonsConfig ¶
type ReconcileNetworkAddonsConfig struct {
// contains filtered or unexported fields
}
ReconcileNetworkAddonsConfig reconciles a NetworkAddonsConfig object
func (*ReconcileNetworkAddonsConfig) ConvertNetworkAddonsConfigV1ToShared ¶ added in v0.41.0
func (r *ReconcileNetworkAddonsConfig) ConvertNetworkAddonsConfigV1ToShared(networkAddonsConfig *cnaov1.NetworkAddonsConfig) (*cnao.NetworkAddonsConfig, error)
Convert NetworkAddonsConfig to shared type
func (*ReconcileNetworkAddonsConfig) Reconcile ¶
func (r *ReconcileNetworkAddonsConfig) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a NetworkAddonsConfig object and makes changes based on the state read and what is in the NetworkAddonsConfig.Spec
type ReconcilePods ¶ added in v0.3.0
type ReconcilePods struct {
// contains filtered or unexported fields
}
ReconcilePods watches for updates to specified resources and then updates its StatusManager
func (*ReconcilePods) Reconcile ¶ added in v0.3.0
func (r *ReconcilePods) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile updates the NetworkAddonsConfig.Status to match the current state of the watched Deployments/DaemonSets
func (*ReconcilePods) SetResources ¶ added in v0.3.0
func (r *ReconcilePods) SetResources(resources []types.NamespacedName)
SetResources updates context's resources