开发者社区 > 云原生 > 微服务 > 正文

如果想debug higress pilot sds这块的逻辑是需要重新生成pilot镜像并部署吧?

5261d402466f4e421646eb751b5d79f6.png
数据平面能看到sds相关配置, 我本来是想在pilot中debug这个secret(kubernetes-ingress://Kubernetes/default/testsecret-tls) 如何在sds.go中使用以及如何转换成envoy的sds配置的。func (s SecretGen) Generate(proxy model.Proxy, push model.PushContext, w model.WatchedResource, req *model.PushRequest) (model.Resources, model.XdsLogDetails, error) { if proxy.VerifiedIdentity == nil { log.Warnf("proxy %v is not authorized to receive credscontroller. Ensure you are connecting over TLS port and are authenticated.", proxy.ID) return nil, model.DefaultXdsLogDetails, nil } res := toEnvoyKeyCertSecret(sr.ResourceName, key, cert)。。。}现在如果想debug higress pilot sds这块的逻辑是需要重新生成pilot镜像并部署是吧?

展开
收起
三分钟热度的鱼 2024-04-10 19:36:10 20 0
1 条回答
写回答
取消 提交回答
  • 这块暂时不行。此回答整理自钉群“Higress 社区交流 2 群”

    2024-04-10 20:52:01
    赞同 5 展开评论 打赏

为微服务建设降本增效,为微服务落地保驾护航。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载