Skip to content

There is a js error when secret contains chinese character #193

@liqiangno1

Description

@liqiangno1

Describe the bug
当secret中含有中文,发布时js报错,但页面没有任何提示。
我测试过直接在K8S中添加含有中文得secret,可以添加成功,dashboard后台显示乱码,我本地通过api读取到自己解码是没问题得。所以最好支持一下吧

To Reproduce
Steps to reproduce the behavior:

  1. 添加secret模板
  2. 任意添加一个含有中文得项
  3. 点击发布

Expected behavior
支持中文编码

Screenshots
image

Desktop (please complete the following information):

  • OS: windows10
  • Browser chrome

Server Version

- Kubernetes version: 1.12.1
- Wayne version: 1.1

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.sig/frontendCategorizes an issue or PR as relevant to sig-frontend.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions