23 lines
558 B
YAML
23 lines
558 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: basic-auth-secret
|
|
namespace: default
|
|
type: kubernetes.io/basic-auth
|
|
data:
|
|
username: dXNlcg== # username: user
|
|
password: cGFzc3dvcmQ= # password: password
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: auth-secret
|
|
namespace: default
|
|
|
|
data:
|
|
# test:test -> test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/
|
|
# test2:test2 -> test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0
|
|
users: |2
|
|
dGVzdDokYXByMSRINnVza2trVyRJZ1hMUDZld1RyU3VCa1RycUU4d2ovCnRlc3QyOiRhcHIxJGQ5
|
|
aHI5SEJCJDRIeHdnVWlyM0hQNEVzZ2dQL1FObzAK
|