From e1c61fe37afbd8df644af69cd8a2be08832cacb3 Mon Sep 17 00:00:00 2001 From: Steve Molin Date: Wed, 8 Jul 2020 08:08:12 -0700 Subject: [PATCH] add labels and annotations ssh private key authentication seems to require labels, and annotations are very helpful --- .../content/en/docs/Getting Started/latest/configuration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/content/en/docs/Getting Started/latest/configuration.md b/website/content/en/docs/Getting Started/latest/configuration.md index c50d5d57d..26b7b5737 100644 --- a/website/content/en/docs/Getting Started/latest/configuration.md +++ b/website/content/en/docs/Getting Started/latest/configuration.md @@ -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-----