Documentation
¶
Index ¶
- func DeployOperatorIntoCluster(ctx context.Context) error
- func EnsureACRTokenIsValid(ctx context.Context) error
- func EnsureAPIServerIsUp(ctx context.Context) error
- func EnsureAPIServerServingCertificateConfiguration(ctx context.Context) error
- func EnsureClusterMsiCertificate(ctx context.Context) error
- func EnsureIngressServingCertificateConfiguration(ctx context.Context) error
- func FixSSHStep(ctx context.Context) error
- func MigrateInternalLoadBalancerZonesStep(ctx context.Context) error
- func ResetOperatorVersion(ctx context.Context) error
- func RotateManagedCertificates(ctx context.Context) error
- func SetOperatorFlagInClusterDoc(ctx context.Context, flagName string, flagValue string) error
- func SyncClusterObject(ctx context.Context) error
- func UpdateClusterOperatorFlags(ctx context.Context) error
- func WaitForAROOperatorReady(ctx context.Context) (bool, error)
- func WaitForAROOperatorRunningDesiredVersion(ctx context.Context) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployOperatorIntoCluster ¶
Deploy the Operator into the cluster, similar to how an AdminUpdate would. Does not sync the Cluster resource, see SyncClusterObject for that.
func EnsureACRTokenIsValid ¶
EnsureACRTokenIsValid checks the expiry date of the Azure Container Registry (ACR) Token from the RegistryProfile. It returns an error if the expiry date is past the date now or if there is no registry profile found.
func EnsureAPIServerIsUp ¶
func FixSSHStep ¶
func ResetOperatorVersion ¶
Reset the Operator Version setting in CosmosDB to blank (= Operator version matches version of RP deploying). Does not directly update the Operator in-cluster.
func SetOperatorFlagInClusterDoc ¶
Set an Operator flag in a cluster doc. Does not apply it to the cluster (see UpdateClusterOperatorFlags for that).
func SyncClusterObject ¶
Syncs the Cluster object in the cluster with the data stored in CosmosDB.
func UpdateClusterOperatorFlags ¶
UpdateClusterOperatorFlags updates the OperatorFlags object in the ARO Cluster custom resource.
func WaitForAROOperatorReady ¶
Check whether the ARO Operator is ready.
Types ¶
This section is empty.