diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 99be636f..9d67650b 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -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 diff --git a/docs/installation.md b/docs/installation.md index dd9c916c..31d7f237 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -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:** in `deploy/operator.yaml` and deploy **jenkins-operator**: + +```bash kubectl create -f deploy/operator.yaml ```