如果想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 66 分享 版权
1 条回答
写回答
取消 提交回答
  • 这块暂时不行。此回答整理自钉群“Higress 社区交流 2 群”

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

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

还有其他疑问?
咨询AI助理