Create migration.md for 0.3.x (#241)

Create migration.md
This commit is contained in:
Paweł Prażak 2020-01-04 18:11:47 +01:00 committed by Tomasz Sęk
parent 74f70aef76
commit 82f058a7e7
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
---
title: "Migration from v0.2.x"
linkTitle: "Migration from v0.2.x"
weight: 10
date: 2020-01-03
description: >
How to migrate from v0.2.x to v0.3.x
---
### Changes
- new Jenkins Custom Resource Definition version `jenkins.io/v1alpha2`:
- `spec.master.masterAnnotations` was deprecated, use `spec.master.annotations`
- added `spec.notifications`
- added `spec.master.tolerations` (in v0.3.1)
- added `spec.master.disableCSRFProtection`
### Migration
- adjust the operator image version, e.g. `image: virtuslab/jenkins-operator:v0.3.1`
- migrate your Jenkins Custom Resources to `apiVersion: jenkins.io/v1alpha2`, adjust content if necessary
The v0.3.x should work fine with `jenkins.io/v1alpha1`, but we recommend using `jenkins.io/v1alpha2`.