You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/13 16:10:35 UTC

[GitHub] [apisix-ingress-controller] Phoebus888 opened a new issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Phoebus888 opened a new issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865


   ### Issue description
   
   ApisixTls创建  Apisix后台不会自动创建证书
   apiVersion: apisix.apache.org/v1
   kind: ApisixTls
   metadata:
     name: lylb1
     namespace: test
   spec:
     hosts:
       - lylbnew.01lb.vip
     secret:
       name: lylb1
       namespace: test
   
   
   web后台不会自动创建  需要手动填写和上传证书
   ![image](https://user-images.githubusercontent.com/45359605/153761900-a07a1ed5-8631-492b-b718-1c07ec0077c3.png)
   
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   
   apisix2.12.0
   apisix-dashboard2.10.1
   ingress-apisix1.4.0
   
   ### Minimal test code / Steps to reproduce
   
   1
   
   ### Actual result
   
   1
   
   ### Error log
   
   E0214 00:06:00.392554 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.22.4/tools/cache/reflector.go:167: 未能观看 *v2beta3.ApisixTls: 未能列出 *v2beta3.ApisixTls:服务器找不到请求的资源(get apisixtlses.apisix.apache.org)
   
   ![image](https://user-images.githubusercontent.com/45359605/153761938-15aec356-4769-4a5c-8316-124976e2a9e8.png)
   
   
   ### Expected result
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038867593


   > how to update crd?
   
   you can just using this CRD.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 edited a comment on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 edited a comment on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038867593


   > how to update crd?
   
   you can just using this CRD. https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix-ingress-controller/crds/customresourcedefinitions.yaml
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1039951709


   Unfortunately, Helm currently does not have the ability to upgrade CRDs. For details, see 
   https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-1-let-helm-do-it-for-you
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 closed issue #865: question: ApisixTls resource not syncing due to not upgrade CRD

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038542803


   Can you run ` kubectl api-resources --api-group=apisix.apache.org` ?
   
   In v1.4, the API version used by the ApisixTls resource is v2beta3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038542803






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 edited a comment on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 edited a comment on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038867593






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 edited a comment on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 edited a comment on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038542803


   Can you run ` kubectl api-resources --api-group=apisix.apache.org` ?
   
   ```
   tao@moelove:~$ kubectl api-resources --api-group=apisix.apache.org
   NAME                   SHORTNAMES   APIVERSION                  NAMESPACED   KIND
   apisixclusterconfigs   acc          apisix.apache.org/v2beta3   false        ApisixClusterConfig
   apisixconsumers        ac           apisix.apache.org/v2beta3   true         ApisixConsumer
   apisixpluginconfigs    apc          apisix.apache.org/v2beta3   true         ApisixPluginConfig
   apisixroutes           ar           apisix.apache.org/v2beta3   true         ApisixRoute
   apisixtlses            atls         apisix.apache.org/v2beta3   true         ApisixTls
   apisixupstreams        au           apisix.apache.org/v2beta3   true         ApisixUpstream
   ```
   
   In v1.4, the API version used by the ApisixTls resource is v2beta3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] Phoebus888 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
Phoebus888 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038223442


   ![image](https://user-images.githubusercontent.com/45359605/153762043-95b69cd5-748d-4d0b-8c46-e64927432190.png)
    证书也已经上传了   使用的命令是kubectl create secret generic server-secret --from-file=cert=tls.crt --from-file=key=tls.key   -n test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038552401


   How did you install the APISIX Ingress controller? Or you can update the CRD.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] Phoebus888 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
Phoebus888 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038223442






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] Phoebus888 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
Phoebus888 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038576620


   大佬  我重新找了一个k8s集群安装   新安装的APIGROUP都是apisix.apache.org  不是apisix.apache.org/v2beta3


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1039951709


   Unfortunately, Helm currently does not have the ability to upgrade CRDs. For details, see 
   https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-1-let-helm-do-it-for-you
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #865: question: ApisixTls resource not syncing due to not upgrade CRD

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1041149509


   I will close this issue. Feel free to reopen it if you have any question.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 edited a comment on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 edited a comment on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038542803


   Can you run ` kubectl api-resources --api-group=apisix.apache.org` ?
   
   ```
   tao@moelove:~$ kubectl api-resources --api-group=apisix.apache.org
   NAME                   SHORTNAMES   APIVERSION                  NAMESPACED   KIND
   apisixclusterconfigs   acc          apisix.apache.org/v2beta3   false        ApisixClusterConfig
   apisixconsumers        ac           apisix.apache.org/v2beta3   true         ApisixConsumer
   apisixpluginconfigs    apc          apisix.apache.org/v2beta3   true         ApisixPluginConfig
   apisixroutes           ar           apisix.apache.org/v2beta3   true         ApisixRoute
   apisixtlses            atls         apisix.apache.org/v2beta3   true         ApisixTls
   apisixupstreams        au           apisix.apache.org/v2beta3   true         ApisixUpstream
   ```
   
   In v1.4, the API version used by the ApisixTls resource is v2beta3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038518584


   @Phoebus888 After you created the Secret, is the certificate created also?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038518584


   @Phoebus888 After you created the Secret, is the certificate created also?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] Phoebus888 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
Phoebus888 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1038550259


   [root@k8s-mast1 apisix-ingress]# kubectl api-resources --api-group=apisix.apache.org
   NAME                   SHORTNAMES   APIGROUP            NAMESPACED   KIND
   apisixclusterconfigs   acc          apisix.apache.org   false        ApisixClusterConfig
   apisixconsumers        ac           apisix.apache.org   true         ApisixConsumer
   apisixpluginconfigs    apc          apisix.apache.org   true         ApisixPluginConfig
   apisixroutes           ar           apisix.apache.org   true         ApisixRoute
   apisixtlses            atls         apisix.apache.org   true         ApisixTls
   apisixupstreams        au           apisix.apache.org   true         ApisixUpstream
   
   我的是这个  和你的不一样


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] Phoebus888 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
Phoebus888 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1039869670


   > > 如何更新crd?
   > 
   > 你可以只使用这个 CRD。https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix-ingress-controller/crds/customresourcedefinitions.yaml
   
   没问题了  使用新的crd就可以了    helm包安装后面是不是要改一下  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 edited a comment on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
tao12345666333 edited a comment on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1039951709


   Unfortunately, Helm currently does not have the ability to upgrade CRDs. For details, see 
   https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-1-let-helm-do-it-for-you
   
   @Phoebus888 If your issue has been resolved, we can close this issue :cat: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] Phoebus888 commented on issue #865: bug: ApisixTls创建 Apisix后台不会自动创建证书

Posted by GitBox <gi...@apache.org>.
Phoebus888 commented on issue #865:
URL: https://github.com/apache/apisix-ingress-controller/issues/865#issuecomment-1039869670


   > > 如何更新crd?
   > 
   > 你可以只使用这个 CRD。https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix-ingress-controller/crds/customresourcedefinitions.yaml
   
   没问题了  使用新的crd就可以了    helm包安装后面是不是要改一下  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org