Update installation.md

This commit is contained in:
Tomasz Sęk 2019-06-02 19:03:27 +02:00 committed by GitHub
parent 1e4efe0efc
commit 51a49c9cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ To run **jenkins-operator**, you will need:
Install Jenkins Custom Resource Definition:
```bash
kubectl apply -f deploy/crds/jenkinsio_v1alpha1_jenkins_crd.yaml
kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/deploy/crds/jenkinsio_v1alpha1_jenkins_crd.yaml
```
## Deploy jenkins-operator
@ -22,10 +22,10 @@ kubectl apply -f deploy/crds/jenkinsio_v1alpha1_jenkins_crd.yaml
Apply Service Account and RBAC roles:
```bash
kubectl apply -f deploy/service_account.yaml
kubectl apply -f deploy/role.yaml
kubectl apply -f deploy/role_binding.yaml
kubectl apply -f deploy/operator.yaml
kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/deploy/service_account.yaml
kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/deploy/role.yaml
kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/deploy/role_binding.yaml
kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/deploy/operator.yaml
```
Watch **jenkins-operator** instance being created: