Generic README instructions related to the repo (#12792)

* Generic README instructions related to the repo

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Change repo in more commands

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Minor changes

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

* Revert URL removal

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>

Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Carlos Rodríguez Hernández
2022-10-05 10:25:55 +02:00
committed by GitHub
parent 5c6213dfa0
commit 3cf6b10e10
122 changed files with 794 additions and 791 deletions

View File

@@ -7,12 +7,12 @@ Jenkins is an open source Continuous Integration and Continuous Delivery (CI/CD)
[Overview of Jenkins](http://jenkins-ci.org/)
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
## TL;DR
```console
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install my-release bitnami/jenkins
helm repo add my-repo https://charts.bitnami.com/bitnami
helm install my-release my-repo/jenkins
```
## Introduction
@@ -33,8 +33,8 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.dev/) for deployment
To install the chart with the release name `my-release`:
```console
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install my-release bitnami/jenkins
helm repo add my-repo https://charts.bitnami.com/bitnami
helm install my-release my-repo/jenkins
```
These commands deploy Jenkins on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation.
@@ -229,7 +229,7 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
$ helm install my-release \
--set jenkinsUser=admin \
--set jenkinsPassword=password \
bitnami/jenkins
my-repo/jenkins
```
The above command sets the Jenkins administrator account username and password to `admin` and `password` respectively.
@@ -239,7 +239,7 @@ The above command sets the Jenkins administrator account username and password t
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
```console
helm install my-release -f values.yaml bitnami/jenkins
helm install my-release -f values.yaml my-repo/jenkins
```
> **Tip**: You can use the default [values.yaml](values.yaml)
@@ -336,7 +336,7 @@ $ kubectl delete deployments.apps jenkins
- Upgrade your release and delete data that should not be persisted anymore:
```console
$ helm upgrade jenkins bitnami/jenkins --set jenkinsPassword=$JENKINS_PASSWORD --set jenkinsHome=/bitnami/jenkins/jenkins_home
$ helm upgrade jenkins my-repo/jenkins --set jenkinsPassword=$JENKINS_PASSWORD --set jenkinsHome=/bitnami/jenkins/jenkins_home
$ kubectl exec -it $(kubectl get pod -l app.kubernetes.io/instance=jenkins,app.kubernetes.io/name=jenkins -o jsonpath="{.items[0].metadata.name}") -- find /bitnami/jenkins -mindepth 1 -maxdepth 1 -not -name jenkins_home -exec rm -rf {} \;
```
@@ -351,7 +351,7 @@ Consequences:
```console
$ export JENKINS_PASSWORD=$(kubectl get secret --namespace default jenkins -o jsonpath="{.data.jenkins-password}" | base64 -d)
$ kubectl delete deployments.apps jenkins
$ helm upgrade jenkins bitnami/jenkins --set jenkinsPassword=$JENKINS_PASSWORD
$ helm upgrade jenkins my-repo/jenkins --set jenkinsPassword=$JENKINS_PASSWORD
```
### To 6.1.0