Commit 61c9949f authored by qiuqunfeng's avatar qiuqunfeng
Browse files

commit

parent 07c304c3
......@@ -52,9 +52,10 @@ func (s *wafService) GetWaf(ctx context.Context, regionCode, namespace, gatewayN
func (s *wafService) CreateWaf(ctx context.Context, req *CreateWafReq) (*WafService, error) {
// Create the WAF service resource
name := fmt.Sprintf("%s-%d", req.GatewayName, req.Port)
service := &v1alpha1.Service{
ObjectMeta: metav1.ObjectMeta{
Name: req.GatewayName,
Name: name,
Namespace: req.Namespace,
},
Spec: v1alpha1.ServiceSpec{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment