mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-08-01 06:48:04 +00:00
14 lines
331 B
YAML
14 lines
331 B
YAML
# To create an encoded user:password pair, the following command can be used:
|
|
# htpasswd -nb user password | base64
|
|
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: kube-explorer
|
|
namespace: kube-system
|
|
labels:
|
|
app: kube-explorer
|
|
data:
|
|
auth: bml1c21hbGxuYW46JGFwcjEkbDdUZjJOdWskbmNXajYubHYvMGNkcXM0NFoyelVQLgoK
|
|
type: Opaque
|