Add create oci secret command

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere 2022-07-18 15:54:41 +01:00 committed by Stefan Prodan
parent 70d30fd52e
commit 4c576bf599
No known key found for this signature in database
GPG key ID: 3299AEB0E4085BAF
6 changed files with 241 additions and 2 deletions

View 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