Update docs

This commit is contained in:
antoniaklja 2019-01-10 23:26:54 +01:00
parent 80c5730763
commit 039ee41e33
2 changed files with 9 additions and 2 deletions

View File

@ -16,7 +16,8 @@ spec:
serviceAccountName: jenkins-operator
containers:
- name: jenkins-operator
# Replace this with the built image name
# replace this with the built or official image
# image: virtuslab/jenkins-operator:latest
image: REPLACE_IMAGE
ports:
- containerPort: 60000

View File

@ -1,6 +1,7 @@
# Installation
This document describes installation procedure for **jenkins-operator**.
All container images can be found at [virtuslab/jenkins-operator](https://hub.docker.com/r/virtuslab/jenkins-operator)
## Requirements
@ -18,12 +19,17 @@ kubectl create -f deploy/crds/virtuslab_v1alpha1_jenkins_crd.yaml
## Deploy jenkins-operator
Deploy **jenkins-operator** with RBAC (it may take some time):
Create Service Account and RBAC roles:
```bash
kubectl create -f deploy/service_account.yaml
kubectl create -f deploy/role.yaml
kubectl create -f deploy/role_binding.yaml
```
Update container image to **virtuslab/jenkins-operator:<version>** in `deploy/operator.yaml` and deploy **jenkins-operator**:
```bash
kubectl create -f deploy/operator.yaml
```