From 0c3f0737bea859e158ddedc9a814ac7545c0525d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pra=C5=BCak?= Date: Fri, 25 Oct 2019 11:53:43 +0200 Subject: [PATCH] Update configuration.md --- .../en/docs/Getting Started/latest/configuration.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/website/content/en/docs/Getting Started/latest/configuration.md b/website/content/en/docs/Getting Started/latest/configuration.md index da490c3f..ef8086b1 100644 --- a/website/content/en/docs/Getting Started/latest/configuration.md +++ b/website/content/en/docs/Getting Started/latest/configuration.md @@ -24,7 +24,7 @@ cicd/ └── build.jenkins ``` -**cicd/jobs/build.jenkins** is a job definition: +**`cicd/jobs/build.jenkins`** is a job definition: ``` #!/usr/bin/env groovy @@ -49,7 +49,7 @@ pipelineJob('build-jenkins-operator') { } ``` -**cicd/pipelines/build.jenkins** is an actual Jenkins pipeline: +**`cicd/pipelines/build.jenkins`** is an actual Jenkins pipeline: ``` #!/usr/bin/env groovy @@ -233,7 +233,7 @@ stringData: ## HTTP Proxy for downloading plugins -To use forwarding proxy with an operator to download plugins you need to add the following environment variable to Jenkins CR, for e.g.: +To use forwarding proxy with an operator to download plugins you need to add the following environment variable to Jenkins Custom Resource (CR), e.g.: ```yaml spec: @@ -245,9 +245,10 @@ spec: value: -L -x ``` -In `CURL_OPTIONS` var you can set additional arguments to curl command. +In `CURL_OPTIONS` var you can set additional arguments to `curl` command. ## Pulling Docker images from private repositories + To pull a Docker Image from private repository you can use `imagePullSecrets`. Please follow the instructions on [creating a secret with a docker config](https://kubernetes.io/docs/concepts/containers/images/?origin_team=T42NTAGHM#creating-a-secret-with-a-docker-config). @@ -262,7 +263,7 @@ kubectl -n edit secret The `.dockerconfigjson` key's value needs to be replaced with a modified version. -After modifications, it needs to be encoded as a Base64 value before setting the `.dockerconfigjson` key:q. +After modifications, it needs to be encoded as a Base64 value before setting the `.dockerconfigjson` key. Example config file to modify and use: ``` @@ -321,4 +322,4 @@ Example config file to modify and use: ``` [job-dsl]:https://github.com/jenkinsci/job-dsl-plugin -[kubernetes-credentials-provider]:https://jenkinsci.github.io/kubernetes-credentials-provider-plugin/ \ No newline at end of file +[kubernetes-credentials-provider]:https://jenkinsci.github.io/kubernetes-credentials-provider-plugin/