Merge pull request #435 from smolin/patch-1

add labels and annotations to example of ssh private key configuration
This commit is contained in:
Tomasz Sęk 2020-07-13 16:39:24 +02:00 committed by GitHub
commit 96522e3760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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-----