1000 lines
		
	
	
		
			32 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			1000 lines
		
	
	
		
			32 KiB
		
	
	
	
		
			HTML
		
	
	
	
| <!doctype html>
 | |
| <html lang="en" class="no-js">
 | |
|   <head>
 | |
|     <meta charset="utf-8">
 | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 | |
| <meta name="generator" content="Hugo 0.62.2" />
 | |
| 
 | |
| <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
 | |
| 
 | |
| 
 | |
| 
 | |
| <link rel="shortcut icon" href="/favicons/favicon.ico" >
 | |
| <link rel="apple-touch-icon" href="/kubernetes-operator/favicons/apple-touch-icon-180x180.png" sizes="180x180">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/favicon-16x16.png" sizes="16x16">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/favicon-32x32.png" sizes="32x32">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/android-36x36.png" sizes="36x36">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/android-48x48.png" sizes="48x48">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/android-72x72.png" sizes="72x72">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/android-96x196.png" sizes="96x196">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/android-144x144.png" sizes="144x144">
 | |
| <link rel="icon" type="image/png" href="/kubernetes-operator/favicons/android-192x192.png"sizes="192x192">
 | |
| 
 | |
| <title>Migration from v0.2.x | Jenkins Operator</title><meta property="og:title" content="Migration from v0.2.x" />
 | |
| <meta property="og:description" content="How to migrate from v0.2.x to v0.3.x
 | |
| " />
 | |
| <meta property="og:type" content="article" />
 | |
| <meta property="og:url" content="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/migration/" />
 | |
| <meta property="article:published_time" content="2020-01-03T00:00:00+00:00" />
 | |
| <meta property="article:modified_time" content="2020-01-03T00:00:00+00:00" /><meta property="og:site_name" content="Jenkins Operator" />
 | |
| <meta itemprop="name" content="Migration from v0.2.x">
 | |
| <meta itemprop="description" content="How to migrate from v0.2.x to v0.3.x
 | |
| ">
 | |
| <meta itemprop="datePublished" content="2020-01-03T00:00:00+00:00" />
 | |
| <meta itemprop="dateModified" content="2020-01-03T00:00:00+00:00" />
 | |
| <meta itemprop="wordCount" content="54">
 | |
| 
 | |
| 
 | |
| 
 | |
| <meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
 | |
| <meta name="twitter:title" content="Migration from v0.2.x"/>
 | |
| <meta name="twitter:description" content="How to migrate from v0.2.x to v0.3.x
 | |
| "/>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <link rel="preload" href="/kubernetes-operator/scss/main.min.6c58fba96b88d035ce071c346f084a9dc4dedee4e80eb3724fe530520541a4ec.css" as="style">
 | |
| <link href="/kubernetes-operator/scss/main.min.6c58fba96b88d035ce071c346f084a9dc4dedee4e80eb3724fe530520541a4ec.css" rel="stylesheet" integrity="">
 | |
| 
 | |
| <script
 | |
|   src="https://code.jquery.com/jquery-3.3.1.min.js"
 | |
|   integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
 | |
|   crossorigin="anonymous"></script>
 | |
| 
 | |
| 
 | |
|     <title>Migration from v0.2.x | Jenkins Operator</title>
 | |
|   </head>
 | |
|   <body class="td-page">
 | |
|     <header>
 | |
|       
 | |
| <nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar">
 | |
| 	<a class="navbar-brand" href="/kubernetes-operator/">
 | |
| 		<img style="width: 32px; height: 32px; margin-right: 7.5px;" src="/kubernetes-operator/img/logo.svg"></img><span class="text-uppercase font-weight-bold">Jenkins Operator</span>
 | |
| 	</a>
 | |
| 	<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
 | |
| 		<ul class="navbar-nav mt-2 mt-lg-0">
 | |
| 			<li class="nav-item mr-4 mb-2 mb-lg-0">
 | |
| 				<a class="nav-link" href="/kubernetes-operator/about"><span>What's the Jenkins Operator?</span></a>
 | |
|             </li>
 | |
|             <li class="nav-item mr-4 mb-2 mb-lg-0">
 | |
|                 <a class="nav-link" href="/kubernetes-operator/docs"><span>Documentation</span></a>
 | |
|             </li>
 | |
| 			
 | |
| 		</ul>
 | |
| 	</div>
 | |
| 	<div class="navbar-nav d-none d-lg-block">
 | |
|  <input type="search" class="form-control td-search-input" placeholder=" Search this site…" aria-label="Search this site…" autocomplete="off">
 | |
| </div>
 | |
| </nav>
 | |
| 
 | |
|     </header>
 | |
|     <div class="container-fluid td-outer">
 | |
|       <div class="td-main">
 | |
|         <div class="row flex-xl-nowrap">
 | |
|           <div class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none">
 | |
|             
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <div id="td-sidebar-menu" class="td-sidebar__inner">
 | |
|   
 | |
|   <form class="td-sidebar__search d-flex align-items-center">
 | |
|     
 | |
|  <input type="search" class="form-control td-search-input" placeholder=" Search this site…" aria-label="Search this site…" autocomplete="off">
 | |
| 
 | |
|     <button class="btn btn-link td-sidebar__toggle d-md-none p-0 ml-3 fas fa-bars" type="button" data-toggle="collapse" data-target="#td-section-nav" aria-controls="td-docs-nav" aria-expanded="false" aria-label="Toggle section navigation">
 | |
|     </button>
 | |
|   </form>
 | |
|   
 | |
|   <nav class="collapse td-sidebar-nav pt-2 pl-4" id="td-section-nav">
 | |
|     
 | |
|     
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">Documentation</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse show" id="kubernetes-operator-docs">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/how-it-works/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">How it works</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-how-it-works">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-how-it-works-architecture-and-design" href="/kubernetes-operator/docs/how-it-works/architecture-and-design/">Architecture and design</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-how-it-works-jenkins-docker-images" href="/kubernetes-operator/docs/how-it-works/jenkins-docker-images/">Jenkins Docker Images</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">Getting Started</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse show" id="kubernetes-operator-docs-getting-started">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/latest/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">Latest (v0.7.x)</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-getting-started-latest">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-installing-the-operator" href="/kubernetes-operator/docs/getting-started/latest/installing-the-operator/">Installing the Operator</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-deploying-jenkins" href="/kubernetes-operator/docs/getting-started/latest/deploying-jenkins/">Deploying Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-customizing-jenkins" href="/kubernetes-operator/docs/getting-started/latest/customizing-jenkins/">Customizing Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-configuring-seed-jobs-and-pipelines" href="/kubernetes-operator/docs/getting-started/latest/configuring-seed-jobs-and-pipelines/">Configuring Seed Jobs and Pipelines</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-configuring-backup-and-restore" href="/kubernetes-operator/docs/getting-started/latest/configuring-backup-and-restore/">Configuring backup and restore</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-separate-namespaces" href="/kubernetes-operator/docs/getting-started/latest/separate-namespaces/">Separate namespaces for Jenkins and Operator</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-custom-backup-and-restore" href="/kubernetes-operator/docs/getting-started/latest/custom-backup-and-restore/">Custom backup and restore providers</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-aks" href="/kubernetes-operator/docs/getting-started/latest/aks/">AKS</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-ldap" href="/kubernetes-operator/docs/getting-started/latest/ldap/">LDAP</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-openshift" href="/kubernetes-operator/docs/getting-started/latest/openshift/">OpenShift</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-latest-schema" href="/kubernetes-operator/docs/getting-started/latest/schema/">Schema</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/v0.6.x/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">v0.6.x</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-getting-started-v0-6-x">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-installing-the-operator" href="/kubernetes-operator/docs/getting-started/v0.6.x/installing-the-operator/">Installing the Operator</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-deploying-jenkins" href="/kubernetes-operator/docs/getting-started/v0.6.x/deploying-jenkins/">Deploying Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-customizing-jenkins" href="/kubernetes-operator/docs/getting-started/v0.6.x/customizing-jenkins/">Customizing Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-configuring-seed-jobs-and-pipelines" href="/kubernetes-operator/docs/getting-started/v0.6.x/configuring-seed-jobs-and-pipelines/">Configuring Seed Jobs and Pipelines</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-configuring-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.6.x/configuring-backup-and-restore/">Configuring backup and restore</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-separate-namespaces" href="/kubernetes-operator/docs/getting-started/v0.6.x/separate-namespaces/">Separate namespaces for Jenkins and Operator</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-custom-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.6.x/custom-backup-and-restore/">Custom backup and restore providers</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-aks" href="/kubernetes-operator/docs/getting-started/v0.6.x/aks/">AKS</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-ldap" href="/kubernetes-operator/docs/getting-started/v0.6.x/ldap/">LDAP</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-openshift" href="/kubernetes-operator/docs/getting-started/v0.6.x/openshift/">OpenShift</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-6-x-schema" href="/kubernetes-operator/docs/getting-started/v0.6.x/schema/">Schema</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/v0.5.x/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">v0.5.x</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-getting-started-v0-5-x">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-deploy-jenkins" href="/kubernetes-operator/docs/getting-started/v0.5.x/deploy-jenkins/">Deploy Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-configuration" href="/kubernetes-operator/docs/getting-started/v0.5.x/configuration/">Configuration</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-customization" href="/kubernetes-operator/docs/getting-started/v0.5.x/customization/">Customization</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-configure-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.5.x/configure-backup-and-restore/">Configure backup and restore</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-aks" href="/kubernetes-operator/docs/getting-started/v0.5.x/aks/">AKS</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-custom-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.5.x/custom-backup-and-restore/">Custom Backup and Restore Providers</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.5.x/notifications/">Notifications</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-openshift" href="/kubernetes-operator/docs/getting-started/v0.5.x/openshift/">OpenShift</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-diagnostics" href="/kubernetes-operator/docs/getting-started/v0.5.x/diagnostics/">Diagnostics</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-5-x-schema" href="/kubernetes-operator/docs/getting-started/v0.5.x/schema/">Schema</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/v0.4.x/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">v0.4.x</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-getting-started-v0-4-x">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-deploy-jenkins" href="/kubernetes-operator/docs/getting-started/v0.4.x/deploy-jenkins/">Deploy Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-configuration" href="/kubernetes-operator/docs/getting-started/v0.4.x/configuration/">Configuration</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-customization" href="/kubernetes-operator/docs/getting-started/v0.4.x/customization/">Customization</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-aks" href="/kubernetes-operator/docs/getting-started/v0.4.x/aks/">AKS</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-configure-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.4.x/configure-backup-and-restore/">Configure backup and restore</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-custom-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.4.x/custom-backup-and-restore/">Custom Backup and Restore Providers</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.4.x/notifications/">Notifications</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-openshift" href="/kubernetes-operator/docs/getting-started/v0.4.x/openshift/">OpenShift</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-diagnostics" href="/kubernetes-operator/docs/getting-started/v0.4.x/diagnostics/">Diagnostics</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-4-x-schema" href="/kubernetes-operator/docs/getting-started/v0.4.x/schema/">Schema</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/v0.3.x/" class="align-left pl-0 pr-2 active td-sidebar-link td-sidebar-link__section">v0.3.x</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse show" id="kubernetes-operator-docs-getting-started-v0-3-x">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-deploy-jenkins" href="/kubernetes-operator/docs/getting-started/v0.3.x/deploy-jenkins/">Deploy Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-configuration" href="/kubernetes-operator/docs/getting-started/v0.3.x/configuration/">Configuration</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-customization" href="/kubernetes-operator/docs/getting-started/v0.3.x/customization/">Customization</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page  active" id="m-kubernetes-operator-docs-getting-started-v0-3-x-migration" href="/kubernetes-operator/docs/getting-started/v0.3.x/migration/">Migration from v0.2.x</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-aks" href="/kubernetes-operator/docs/getting-started/v0.3.x/aks/">AKS</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-configure-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.3.x/configure-backup-and-restore/">Configure backup and restore</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-custom-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.3.x/custom-backup-and-restore/">Custom Backup and Restore Providers</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-diagnostics" href="/kubernetes-operator/docs/getting-started/v0.3.x/diagnostics/">Diagnostics</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-schema" href="/kubernetes-operator/docs/getting-started/v0.3.x/schema/">Schema</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/v0.2.x/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">v0.2.x</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-getting-started-v0-2-x">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-deploy-jenkins" href="/kubernetes-operator/docs/getting-started/v0.2.x/deploy-jenkins/">Deploy Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-configuration" href="/kubernetes-operator/docs/getting-started/v0.2.x/configuration/">Configuration</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-customization" href="/kubernetes-operator/docs/getting-started/v0.2.x/customization/">Customization</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-aks" href="/kubernetes-operator/docs/getting-started/v0.2.x/aks/">AKS</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-configure-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.2.x/configure-backup-and-restore/">Configure backup and restore</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-custom-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.2.x/custom-backup-and-restore/">Custom Backup and Restore Providers</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-migration" href="/kubernetes-operator/docs/getting-started/v0.2.x/migration/">Migration from v0.1.x</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-diagnostics" href="/kubernetes-operator/docs/getting-started/v0.2.x/diagnostics/">Diagnostics</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-2-x-schema" href="/kubernetes-operator/docs/getting-started/v0.2.x/schema/">Schema</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/getting-started/v0.1.x/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">v0.1.x</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-getting-started-v0-1-x">
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-deploy-jenkins" href="/kubernetes-operator/docs/getting-started/v0.1.x/deploy-jenkins/">Deploy Jenkins</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-configuration" href="/kubernetes-operator/docs/getting-started/v0.1.x/configuration/">Configuration</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-customization" href="/kubernetes-operator/docs/getting-started/v0.1.x/customization/">Customization</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-aks" href="/kubernetes-operator/docs/getting-started/v0.1.x/aks/">AKS</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-configure-backup-and-restore" href="/kubernetes-operator/docs/getting-started/v0.1.x/configure-backup-and-restore/">Configure backup and restore</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-diagnostics" href="/kubernetes-operator/docs/getting-started/v0.1.x/diagnostics/">Diagnostics</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-scheme" href="/kubernetes-operator/docs/getting-started/v0.1.x/scheme/">Scheme</a>
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
|       <a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-1-x-migration-guide-v1alpha1-to-v1alpha2" href="/kubernetes-operator/docs/getting-started/v0.1.x/migration-guide-v1alpha1-to-v1alpha2/">Migration guide from v1alpha1 to v1alpha2</a>
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/security/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">Security</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-security">
 | |
|       
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/troubleshooting/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">Troubleshooting</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-troubleshooting">
 | |
|       
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/developer-guide/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">Developer Guide</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-developer-guide">
 | |
|       
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|       
 | |
|       
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <ul class="td-sidebar-nav__section pr-md-3">
 | |
|   <li class="td-sidebar-nav__section-title">
 | |
|     <a  href="/kubernetes-operator/docs/faq/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">FAQ</a>
 | |
|   </li>
 | |
|   <ul>
 | |
|     <li class="collapse " id="kubernetes-operator-docs-faq">
 | |
|       
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|       
 | |
|       
 | |
|     </li>
 | |
|   </ul>
 | |
| </ul>
 | |
| 
 | |
|   </nav>
 | |
| </div>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|           </div>
 | |
|           <div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
 | |
|             
 | |
|     
 | |
|     
 | |
|     
 | |
|       <div class="td-page-meta ml-2 pb-1 pt-2 mb-0">
 | |
|           
 | |
|           
 | |
|           
 | |
|         <a href="https://github.com/jenkinsci/kubernetes-operator/edit/master/website/content/en/docs/Getting%20Started/v0.3.x/migration.md" target="_blank"><i class="fa fa-edit fa-fw"></i> Edit this page</a>
 | |
|         <a href="https://github.com/jenkinsci/kubernetes-operator/issues/new?labels=documentation&template=documentation.md&title=Migration%20from%20v0.2.x" target="_blank"><i class="fab fa-github fa-fw"></i> Create documentation issue</a>
 | |
|           
 | |
|               
 | |
|               <a href="https://github.com/jenkinsci/kubernetes-operator/issues/new/choose" target="_blank"><i class="fas fa-tasks fa-fw"></i> Create project issue</a>
 | |
|           
 | |
|       </div>
 | |
|     
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|           </div>
 | |
|           <main class="col-12 col-md-9 col-xl-8 pl-md-5" role="main">
 | |
|             <nav aria-label="breadcrumb" class="d-none d-md-block d-print-none">
 | |
| 	<ol class="breadcrumb spb-1">
 | |
| 		
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <li class="breadcrumb-item" >
 | |
| 	<a href="https://jenkinsci.github.io/kubernetes-operator/docs/">Documentation</a>
 | |
| </li>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <li class="breadcrumb-item" >
 | |
| 	<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/">Getting Started</a>
 | |
| </li>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <li class="breadcrumb-item" >
 | |
| 	<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/">v0.3.x</a>
 | |
| </li>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <li class="breadcrumb-item active" aria-current="page">
 | |
| 	<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/migration/">Migration from v0.2.x</a>
 | |
| </li>
 | |
| 
 | |
| 	</ol>
 | |
| </nav	>
 | |
| 
 | |
|             
 | |
| <div class="td-content">
 | |
| 	<h1>Migration from v0.2.x</h1>
 | |
| 	<div class="lead">How to migrate from v0.2.x to v0.3.x</div>
 | |
| 	
 | |
| 
 | |
| <h3 id="changes">Changes</h3>
 | |
| 
 | |
| <ul>
 | |
| <li>new Jenkins Custom Resource Definition version <code>jenkins.io/v1alpha2</code>:
 | |
| 
 | |
| <ul>
 | |
| <li><code>spec.master.masterAnnotations</code> was deprecated, use <code>spec.master.annotations</code></li>
 | |
| <li>added <code>spec.notifications</code></li>
 | |
| <li>added <code>spec.master.tolerations</code> (in v0.3.1)</li>
 | |
| <li>added <code>spec.master.disableCSRFProtection</code></li>
 | |
| </ul></li>
 | |
| </ul>
 | |
| 
 | |
| <h3 id="migration">Migration</h3>
 | |
| 
 | |
| <ul>
 | |
| <li>adjust the operator image version, e.g. <code>image: virtuslab/jenkins-operator:v0.3.1</code></li>
 | |
| <li>migrate your Jenkins Custom Resources to <code>apiVersion: jenkins.io/v1alpha2</code>, adjust content if necessary</li>
 | |
| </ul>
 | |
| 
 | |
| <p>The v0.3.x should work fine with <code>jenkins.io/v1alpha1</code>, but we recommend using <code>jenkins.io/v1alpha2</code>.</p>
 | |
| 
 | |
| 	
 | |
| 	
 | |
| 	<div class="text-muted mt-5 pt-3 border-top">Last modified January 3, 2020
 | |
| </div>
 | |
| </div>
 | |
| 
 | |
| 
 | |
|           </main>
 | |
|         </div>
 | |
|       </div>
 | |
|       
 | |
| <footer class="bg-dark py-5 row d-print-none">
 | |
|   <div class="bg-dark container-fluid trademark-bigger">
 | |
|     <div class="row">
 | |
|       <div class="col-6 col-sm-4 text-xs-center order-sm-2">
 | |
|         
 | |
|       </div>
 | |
|       <div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
 | |
|         
 | |
|       </div>
 | |
|       <div class="col-12 col-sm-12 text-center py-4 order-sm-2">
 | |
|         <small class="text-white">© 2022 Jenkins Operator is created by VirtusLab. Source is available under Apache License Version 2 and website content under Creative Commons Attribution-ShareAlike 4.0.</small><br>
 | |
|         <small class="text-white">Jenkins® is a registered trademark of Software in the Public Interest, Inc.</small>
 | |
| 	
 | |
| 		<p class="mt-2"><a href="/kubernetes-operator/about/">What's the Jenkins Operator?</a></p>
 | |
| 	
 | |
|       </div>
 | |
|     </div>
 | |
|   </div>
 | |
| </footer>
 | |
| 
 | |
| 
 | |
|     </div>
 | |
|     
 | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
 | |
| <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <script src="/kubernetes-operator/js/main.min.b0e99aac17991fa76812dd47914049168ac469a1faa0939560f0b370565becab.js" integrity="sha256-sOmarBeZH6doEt1HkUBJForEaaH6oJOVYPCzcFZb7Ks="></script>
 | |
| 
 | |
| 
 | |
| 
 | |
|   </body>
 | |
| </html> |