apisix-helm-chart icon indicating copy to clipboard operation
apisix-helm-chart copied to clipboard

[feature]Generate random admin/view key when use `helm install`

Open anjia0532 opened this issue 3 years ago • 6 comments

helm template string function: randAlphaNum, randAlpha, randNumeric, and randAscii

Auto generate password/admin-view key when that is default value.

Print password when it successed by helm NOTES.txt https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix-dashboard/templates/NOTES.txt

https://github.com/apache/apisix-helm-chart/blob/c9a2679c76433ec5784aaeb910a8f8e1a360d52c/charts/apisix-dashboard/values.yaml#L76-L81

https://github.com/apache/apisix-helm-chart/blob/c9a2679c76433ec5784aaeb910a8f8e1a360d52c/charts/apisix/values.yaml#L158-L160

anjia0532 avatar Mar 22 '22 01:03 anjia0532

@anjia0532 Agree with you, that would be safer.

tokers avatar Mar 22 '22 01:03 tokers

Agree +1

zaunist avatar Mar 22 '22 01:03 zaunist

Agree +1

Gallardot avatar Mar 22 '22 01:03 Gallardot

LGTM

PRs are welcome

tao12345666333 avatar Mar 22 '22 02:03 tao12345666333

WeOpen Star

I'd like to work on this issue.

mangoGoForward avatar May 12 '22 08:05 mangoGoForward

@mangoGoForward Assigned, thanks

tao12345666333 avatar May 12 '22 08:05 tao12345666333