feat(vmuser): use secret instead of hardcoded value for authentication
This commit is contained in:
parent
2eab9bd80b
commit
47c16eeafd
2 changed files with 4 additions and 11 deletions
|
|
@ -1,9 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: simple-user-secret
|
|
||||||
namespace: observability
|
|
||||||
type: Opaque
|
|
||||||
stringData:
|
|
||||||
username: simple-user
|
|
||||||
password: simple-password
|
|
||||||
|
|
@ -5,7 +5,9 @@ metadata:
|
||||||
namespace: observability
|
namespace: observability
|
||||||
spec:
|
spec:
|
||||||
username: simple-user
|
username: simple-user
|
||||||
password: simple-password
|
passwordRef:
|
||||||
|
key: password
|
||||||
|
name: simple-user-secret
|
||||||
targetRefs:
|
targetRefs:
|
||||||
- static:
|
- static:
|
||||||
url: http://vmsingle-o12y:8429
|
url: http://vmsingle-o12y:8429
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue