Skip to content

Commit

Permalink
rm ingressClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
刘宁 committed Apr 25, 2024
1 parent f618ac2 commit bb13230
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions domain/handler/ingress_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ func (h *ingressHandler) CreateOrUpdateForSqbapplication() error {
},
}
ingress.Spec.Rules = []v1.IngressRule{rule}
ingress.Spec.IngressClassName = &domain.Class
ingress.Labels = util.MergeStringMap(ingress.Labels, map[string]string{
entity.AppKey: h.sqbapplication.Name,
entity.GroupKey: h.sqbapplication.Labels[entity.GroupKey],
Expand Down Expand Up @@ -203,7 +202,6 @@ func (h *ingressHandler) CreateOrUpdateForSqbdeployment() error {
},
}
ingress.Spec.Rules = []v1.IngressRule{rule}
ingress.Spec.IngressClassName = &ingressClass
return CreateOrUpdate(h.ctx, ingress)
}

Expand Down

0 comments on commit bb13230

Please sign in to comment.