Make username optional for create secret git
Git authentication with basic auth doesn't necessarily require a username to be present. Signed-off-by: talife <gilletvincent@gmail.com> Signed-off-by: Max Jonas Werner <mail@makk.es>
This commit is contained in:
committed by
Max Jonas Werner
parent
525bd21cd1
commit
a6cb5930f8
9
cmd/flux/testdata/create_secret/git/secret-git-only-pwd.yaml
vendored
Normal file
9
cmd/flux/testdata/create_secret/git/secret-git-only-pwd.yaml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: podinfo-auth
|
||||
namespace: my-namespace
|
||||
stringData:
|
||||
password: my-password
|
||||
|
||||
Reference in New Issue
Block a user