blocked by getACMEDomainForApps
try figure out another way to get acmeDomainForApps
@@ -49,21 +49,19 @@ func (r *KalmOperatorConfigReconciler) reconcileBYOCMode() error {
if baseAppDomain != "" {
applyForWildcardCert := baseDNSDomain != ""
- postponeCertReconcile := false
- if r.config.Spec.BYOCModeConfig != nil {
- byocStatus := r.config.Status.BYOCModeStatus
- if byocStatus == nil || !byocStatus.ClusterInfoHasSendToKalmCloud {
- postponeCertReconcile = true
- }
- }
+ // postponeCertReconcile := false
+ // if r.config.Spec.BYOCModeConfig != nil {
+ // byocStatus := r.config.Status.BYOCModeStatus
+ // if byocStatus == nil || !byocStatus.ClusterInfoHasSendToKalmCloud {
+ // postponeCertReconcile = true
+ // }
+ // }
- if !postponeCertReconcile {
if err := r.reconcileHttpsCertForDomain(baseAppDomain, applyForWildcardCert); err != nil {
r.Log.Info("reconcileHttpsCertForDomain fail", "error", err)
return err
}
}
- }
if err := r.reconcileRootAccessTokenForBYOC(); err != nil {
r.Log.Info("reconcileRootAccessTokenForBYOC fail", "error", err)
