Merge pull request #435 from smolin/patch-1
add labels and annotations to example of ssh private key configuration
This commit is contained in:
commit
96522e3760
|
|
@ -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