wayne
wayne copied to clipboard
Kubernetes multi-cluster management and publishing platform
dockerhub上后台的镜像应该是和代码同步的,前端的镜像还是3个月之前的。 现在登陆的参数都改成从body里传过去了,最新的前端镜像还是放在链接里的,根本没法登陆。
前端构建报错
``` $ make build-frontend-image version: v1.8.6-67-ga140498 docker build --no-cache -t 360cloud/wayne-frontend:v1.8.6-67-ga140498 -f hack/build/frontend/Dockerfile . Sending build context to Docker daemon 31.11MB Step 1/7 : FROM 360cloud/wayne-ui-builder:v1.0.2 as frontend ---> 49fcfc1e7962...
https://github.com/Qihoo360/wayne/blob/98197fc02bc52e4b45e6b90acb9496d24c72f9c9/src/backend/controllers/app/app.go#L47-L49
下面代码意图是可以在url query里使用类似`filter=deleted=true`查询删除掉的对象 https://github.com/Qihoo360/wayne/blob/620d4a025020e8d17e41a36b7f717d74b0aa1829/src/backend/controllers/base/parambuilder.go#L37-L46 但是我增加用户然后删除后看到数据库里记录被删除了,看了下是强删除 https://github.com/Qihoo360/wayne/blob/620d4a025020e8d17e41a36b7f717d74b0aa1829/src/backend/models/user.go#L271-L278 而不是把User的deleted字段 set为 true
**Describe the bug** 对于分页查询,可以在 sortby 这个 query 参数上注入危险查询语句,从而实现 SQL 注入漏洞。 **To Reproduce** Steps to reproduce the behavior: 1. 分页查询 2. 通过 sortby 字段实现 SQL 注入: `xxx?pageNo=1&pageSize=10&sortBy=-id+asc,(select+sleep(5))+desc...` **Expected behavior** 禁止通过 sortby...
你好: 在使用wayne 1.6.1 版本,请教您权限问题。 在查看权限体系好像除了管理员有进入后台查看 K8S node资源,给其他创建权限好像都是部署、创建权限,能问下子账号有授权 查看 POD 的日志或进入 容器的权限体系? 麻烦您了。  类似这样的。 
在配置的时候限制的内存是0.1Gi,但是通过API更新后变成了53687091200m,如果使用手动是不会有这个问题的 
参考文档[staging-an-update]( https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#staging-an-update) 发布的时候可以指定partition,例如,一个test服务有4个pod,我可以今天只更新test-3, 观察没问题明天再继续发test-2,如此重复,实现Canary Deployment的功能。
Hi, it would be great that if we can specify the cpu request and limit for a pod freely not limited by the cpuRequestLimitPercent. Could you add a config option...