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
|
||||
metadata:
|
||||
name: k8s-ssh
|
||||
labels:
|
||||
"jenkins.io/credentials-type": "basicSSHUserPrivateKey"
|
||||
annotations:
|
||||
"jenkins.io/credentials-description" : "ssh github.com:jenkinsci/kubernetes-operator"
|
||||
stringData:
|
||||
privateKey: |
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
|
|
|
|||
Loading…
Reference in New Issue