mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-22 03:25:44 +00:00
Add create oci secret command
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
parent
70d30fd52e
commit
4c576bf599
6 changed files with 241 additions and 2 deletions
10
cmd/flux/testdata/create_secret/oci/create-secret.yaml
vendored
Normal file
10
cmd/flux/testdata/create_secret/oci/create-secret.yaml
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: ghcr
|
||||
namespace: my-namespace
|
||||
stringData:
|
||||
.dockerconfigjson: '{"auths":{"ghcr.io":{"username":"stefanprodan","password":"password","auth":"c3RlZmFucHJvZGFuOnBhc3N3b3Jk"}}}'
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue