add labels and annotations
ssh private key authentication seems to require labels, and annotations are very helpful
This commit is contained in:
parent
588cc36bc6
commit
e1c61fe37a
|
|
@ -190,6 +190,10 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: k8s-ssh
|
name: k8s-ssh
|
||||||
|
labels:
|
||||||
|
"jenkins.io/credentials-type": "basicSSHUserPrivateKey"
|
||||||
|
annotations:
|
||||||
|
"jenkins.io/credentials-description" : "ssh github.com:jenkinsci/kubernetes-operator"
|
||||||
stringData:
|
stringData:
|
||||||
privateKey: |
|
privateKey: |
|
||||||
-----BEGIN RSA PRIVATE KEY-----
|
-----BEGIN RSA PRIVATE KEY-----
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue