Change CRD domain to 'kustomize.toolkit.fluxcd.io'
Due to required domain changes for the helm-controller so that it can co-exist in a cluster with the Helm Operator, other Toolkit components are moving to a *.toolklit.fluxcd.io domain too.
This commit is contained in:
		
							parent
							
								
									f61016f15a
								
							
						
					
					
						commit
						5905f3a85f
					
				
							
								
								
									
										14
									
								
								CHANGELOG.md
								
								
								
								
							
							
						
						
									
										14
									
								
								CHANGELOG.md
								
								
								
								
							|  | @ -70,7 +70,7 @@ and can prune resources safely without hitting Kubernetes API rate limits. | |||
| ## 0.0.1-alpha.6 (2020-05-03) | ||||
| 
 | ||||
| This alpha release comes with | ||||
| [role-based access control](https://github.com/fluxcd/kustomize-controller/blob/master/docs/spec/v1alpha1/kustomization.md#role-based-access-control) | ||||
| [role-based access control](https://github.com/fluxcd/kustomize-controller/blob/v0.0.1-alpha.6/docs/spec/v1alpha1/kustomization.md#role-based-access-control) | ||||
| for restricting the execution of a kustomization apply to a specific service account. | ||||
| 
 | ||||
| ## 0.0.1-alpha.5 (2020-04-27) | ||||
|  | @ -82,19 +82,19 @@ This allows waiting for an on-demand sync to complete. | |||
| ## 0.0.1-alpha.4 (2020-04-24) | ||||
| 
 | ||||
| This alpha release introduces a new status field for recording the | ||||
| [last applied source revision](https://github.com/fluxcd/kustomize-controller/blob/master/docs/spec/v1alpha1/kustomization.md#status). | ||||
| [last applied source revision](https://github.com/fluxcd/kustomize-controller/blob/v0.0.1-alpha.4/docs/spec/v1alpha1/kustomization.md#status). | ||||
| 
 | ||||
| Feature comparison with Flux has been added to | ||||
| [docs/spec](https://github.com/fluxcd/kustomize-controller/blob/master/docs/spec/README.md#backward-compatibility). | ||||
| [docs/spec](https://github.com/fluxcd/kustomize-controller/blob/v0.0.1-alpha.4/docs/spec/README.md#backward-compatibility). | ||||
| 
 | ||||
| ## 0.0.1-alpha.3 (2020-04-23) | ||||
| 
 | ||||
| This alpha release introduces the option to tell the controller to | ||||
| [automatically generate](https://github.com/fluxcd/kustomize-controller/blob/master/docs/spec/v1alpha1/kustomization.md#generate-kustomizationyaml) | ||||
| [automatically generate](https://github.com/fluxcd/kustomize-controller/blob/v0.0.1-alpha.3/docs/spec/v1alpha1/kustomization.md#generate-kustomizationyaml) | ||||
| the `kustomization.yaml` for repositories that contain plain Kubernetes manifests. | ||||
| 
 | ||||
| The controller design and motivation can be found at | ||||
| [docs/spec](https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec). | ||||
| [docs/spec](https://github.com/fluxcd/kustomize-controller/tree/v0.0.1-alpha.3/docs/spec). | ||||
| 
 | ||||
| ## 0.0.1-alpha.2 (2020-04-21) | ||||
| 
 | ||||
|  | @ -104,10 +104,10 @@ that allows grouping | |||
| [Kustomization](https://github.com/fluxcd/kustomize-controller/blob/master/docs/spec/v1alpha1/kustomization.md) | ||||
| objects and defining a common behavior for them. | ||||
| The v1alpha1 profiles can be used for | ||||
| [configuring Slack and Discord alerting](https://github.com/fluxcd/kustomize-controller/tree/master#configure-alerting). | ||||
| [configuring Slack and Discord alerting](https://github.com/fluxcd/kustomize-controller/tree/v0.0.1-alpha.2#configure-alerting). | ||||
| 
 | ||||
| ## 0.0.1-alpha.1 (2020-04-20) | ||||
| 
 | ||||
| This is the first alpha release of kustomize controller. | ||||
| The controller is an implementation of the | ||||
| [kustomize.fluxcd.io/v1alpha1](https://github.com/fluxcd/kustomize-controller/tree/master/docs/spec/v1alpha1) API. | ||||
| [kustomize.fluxcd.io/v1alpha1](https://github.com/fluxcd/kustomize-controller/tree/v0.0.1-alpha.1/docs/spec/v1alpha1) API. | ||||
|  |  | |||
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								Makefile
								
								
								
								
							|  | @ -26,7 +26,7 @@ run: generate fmt vet manifests | |||
| 	go run ./main.go | ||||
| 
 | ||||
| download-crd-deps: | ||||
| 	curl -s https://raw.githubusercontent.com/fluxcd/source-controller/${SOURCE_VER}/config/crd/bases/source.fluxcd.io_gitrepositories.yaml > config/crd/bases/gitrepositories.yaml | ||||
| 	curl -s https://raw.githubusercontent.com/fluxcd/source-controller/${SOURCE_VER}/config/crd/bases/source.toolkit.fluxcd.io_gitrepositories.yaml > config/crd/bases/gitrepositories.yaml | ||||
| 
 | ||||
| # Install CRDs into a cluster
 | ||||
| install: manifests | ||||
|  |  | |||
							
								
								
									
										2
									
								
								PROJECT
								
								
								
								
							
							
						
						
									
										2
									
								
								PROJECT
								
								
								
								
							|  | @ -1,4 +1,4 @@ | |||
| domain: fluxcd.io | ||||
| domain: toolkit.fluxcd.io | ||||
| repo: github.com/fluxcd/kustomize-controller | ||||
| resources: | ||||
| - group: kustomize | ||||
|  |  | |||
							
								
								
									
										12
									
								
								README.md
								
								
								
								
							
							
						
						
									
										12
									
								
								README.md
								
								
								
								
							|  | @ -53,7 +53,7 @@ tk install | |||
| Create a source object that points to a Git repository containing Kubernetes and Kustomize manifests: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: podinfo | ||||
|  | @ -86,7 +86,7 @@ kubectl -n gitops-system annotate --overwrite gitrepository/podinfo fluxcd.io/re | |||
| Create a kustomization object that uses the git repository defined above: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: podinfo-dev | ||||
|  | @ -193,7 +193,7 @@ When combined with health assessment, a kustomization will run after all its dep | |||
| For example, a service mesh proxy injector should be running before deploying applications inside the mesh: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: istio | ||||
|  | @ -210,7 +210,7 @@ spec: | |||
|       namespace: istio-system | ||||
|   timeout: 2m | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: podinfo-dev | ||||
|  | @ -231,7 +231,7 @@ spec: | |||
| For production deployments, instead of synchronizing with a branch you can use a semver range to target stable releases: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: podinfo-releases | ||||
|  | @ -249,7 +249,7 @@ that matches the semver range. | |||
| Create a production kustomization and reference the git source that follows the latest semver release: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: podinfo-production | ||||
|  |  | |||
|  | @ -16,5 +16,5 @@ limitations under the License. | |||
| 
 | ||||
| // Package v1alpha1 contains API Schema definitions for the kustomize v1alpha1 API group
 | ||||
| // +kubebuilder:object:generate=true
 | ||||
| // +groupName=kustomize.fluxcd.io
 | ||||
| // +groupName=kustomize.toolkit.fluxcd.io
 | ||||
| package v1alpha1 | ||||
|  |  | |||
|  | @ -23,7 +23,7 @@ import ( | |||
| 
 | ||||
| var ( | ||||
| 	// GroupVersion is group version used to register these objects
 | ||||
| 	GroupVersion = schema.GroupVersion{Group: "kustomize.fluxcd.io", Version: "v1alpha1"} | ||||
| 	GroupVersion = schema.GroupVersion{Group: "kustomize.toolkit.fluxcd.io", Version: "v1alpha1"} | ||||
| 
 | ||||
| 	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
 | ||||
| 	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} | ||||
|  |  | |||
|  | @ -6,9 +6,9 @@ metadata: | |||
|   annotations: | ||||
|     controller-gen.kubebuilder.io/version: v0.3.0 | ||||
|   creationTimestamp: null | ||||
|   name: kustomizations.kustomize.fluxcd.io | ||||
|   name: kustomizations.kustomize.toolkit.fluxcd.io | ||||
| spec: | ||||
|   group: kustomize.fluxcd.io | ||||
|   group: kustomize.toolkit.fluxcd.io | ||||
|   names: | ||||
|     kind: Kustomization | ||||
|     listKind: KustomizationList | ||||
|  | @ -1,6 +1,6 @@ | |||
| apiVersion: kustomize.config.k8s.io/v1beta1 | ||||
| kind: Kustomization | ||||
| resources: | ||||
| - bases/kustomize.fluxcd.io_kustomizations.yaml | ||||
| - bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml | ||||
| # +kubebuilder:scaffold:crdkustomizeresource | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ metadata: | |||
|   name: kustomization-editor-role | ||||
| rules: | ||||
| - apiGroups: | ||||
|   - kustomize.fluxcd.io | ||||
|   - kustomize.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - kustomizations | ||||
|   verbs: | ||||
|  | @ -17,7 +17,7 @@ rules: | |||
|   - update | ||||
|   - watch | ||||
| - apiGroups: | ||||
|   - kustomize.fluxcd.io | ||||
|   - kustomize.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - kustomizations/status | ||||
|   verbs: | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ metadata: | |||
|   name: kustomization-viewer-role | ||||
| rules: | ||||
| - apiGroups: | ||||
|   - kustomize.fluxcd.io | ||||
|   - kustomize.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - kustomizations | ||||
|   verbs: | ||||
|  | @ -13,7 +13,7 @@ rules: | |||
|   - list | ||||
|   - watch | ||||
| - apiGroups: | ||||
|   - kustomize.fluxcd.io | ||||
|   - kustomize.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - kustomizations/status | ||||
|   verbs: | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ metadata: | |||
|   name: manager-role | ||||
| rules: | ||||
| - apiGroups: | ||||
|   - kustomize.fluxcd.io | ||||
|   - kustomize.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - kustomizations | ||||
|   verbs: | ||||
|  | @ -19,7 +19,7 @@ rules: | |||
|   - update | ||||
|   - watch | ||||
| - apiGroups: | ||||
|   - kustomize.fluxcd.io | ||||
|   - kustomize.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - kustomizations/status | ||||
|   verbs: | ||||
|  | @ -27,7 +27,7 @@ rules: | |||
|   - patch | ||||
|   - update | ||||
| - apiGroups: | ||||
|   - source.fluxcd.io | ||||
|   - source.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - gitrepositories | ||||
|   verbs: | ||||
|  | @ -35,7 +35,7 @@ rules: | |||
|   - list | ||||
|   - watch | ||||
| - apiGroups: | ||||
|   - source.fluxcd.io | ||||
|   - source.toolkit.fluxcd.io | ||||
|   resources: | ||||
|   - gitrepositories/status | ||||
|   verbs: | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: webapp-dev | ||||
|  | @ -19,7 +19,7 @@ spec: | |||
|       namespace: webapp | ||||
|   timeout: 2m | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: webapp-production | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: webapp-latest | ||||
|  | @ -8,7 +8,7 @@ spec: | |||
|   ref: | ||||
|     branch: master | ||||
| --- | ||||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: webapp-releases | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: backend | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: common | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: frontend | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: webapp | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: webapp-production | ||||
|  | @ -19,7 +19,7 @@ spec: | |||
|       namespace: production | ||||
|   timeout: 2m | ||||
| --- | ||||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: webapp-releases | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: webapp-staging | ||||
|  | @ -19,7 +19,7 @@ spec: | |||
|       namespace: staging | ||||
|   timeout: 2m | ||||
| --- | ||||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: webapp-latest | ||||
|  |  | |||
|  | @ -42,8 +42,8 @@ type GitRepositoryWatcher struct { | |||
| 	Scheme *runtime.Scheme | ||||
| } | ||||
| 
 | ||||
| // +kubebuilder:rbac:groups=source.fluxcd.io,resources=gitrepositories,verbs=get;list;watch
 | ||||
| // +kubebuilder:rbac:groups=source.fluxcd.io,resources=gitrepositories/status,verbs=get
 | ||||
| // +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=gitrepositories,verbs=get;list;watch
 | ||||
| // +kubebuilder:rbac:groups=source.toolkit.fluxcd.io,resources=gitrepositories/status,verbs=get
 | ||||
| 
 | ||||
| func (r *GitRepositoryWatcher) Reconcile(req ctrl.Request) (ctrl.Result, error) { | ||||
| 	ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second) | ||||
|  |  | |||
|  | @ -60,8 +60,8 @@ type KustomizationReconciler struct { | |||
| 	ExternalEventRecorder *recorder.EventRecorder | ||||
| } | ||||
| 
 | ||||
| // +kubebuilder:rbac:groups=kustomize.fluxcd.io,resources=kustomizations,verbs=get;list;watch;create;update;patch;delete
 | ||||
| // +kubebuilder:rbac:groups=kustomize.fluxcd.io,resources=kustomizations/status,verbs=get;update;patch
 | ||||
| // +kubebuilder:rbac:groups=kustomize.toolkit.fluxcd.io,resources=kustomizations,verbs=get;list;watch;create;update;patch;delete
 | ||||
| // +kubebuilder:rbac:groups=kustomize.toolkit.fluxcd.io,resources=kustomizations/status,verbs=get;update;patch
 | ||||
| 
 | ||||
| func (r *KustomizationReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) { | ||||
| 	ctx := context.Background() | ||||
|  |  | |||
|  | @ -2,16 +2,16 @@ | |||
| <p>Packages:</p> | ||||
| <ul class="simple"> | ||||
| <li> | ||||
| <a href="#kustomize.fluxcd.io%2fv1alpha1">kustomize.fluxcd.io/v1alpha1</a> | ||||
| <a href="#kustomize.toolkit.fluxcd.io%2fv1alpha1">kustomize.toolkit.fluxcd.io/v1alpha1</a> | ||||
| </li> | ||||
| </ul> | ||||
| <h2 id="kustomize.fluxcd.io/v1alpha1">kustomize.fluxcd.io/v1alpha1</h2> | ||||
| <h2 id="kustomize.toolkit.fluxcd.io/v1alpha1">kustomize.toolkit.fluxcd.io/v1alpha1</h2> | ||||
| <p>Package v1alpha1 contains API Schema definitions for the kustomize v1alpha1 API group</p> | ||||
| Resource Types: | ||||
| <ul class="simple"><li> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.Kustomization">Kustomization</a> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Kustomization">Kustomization</a> | ||||
| </li></ul> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.Kustomization">Kustomization | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Kustomization">Kustomization | ||||
| </h3> | ||||
| <p>Kustomization is the Schema for the kustomizations API.</p> | ||||
| <div class="md-typeset__scrollwrap"> | ||||
|  | @ -29,7 +29,7 @@ Resource Types: | |||
| <code>apiVersion</code><br> | ||||
| string</td> | ||||
| <td> | ||||
| <code>kustomize.fluxcd.io/v1alpha1</code> | ||||
| <code>kustomize.toolkit.fluxcd.io/v1alpha1</code> | ||||
| </td> | ||||
| </tr> | ||||
| <tr> | ||||
|  | @ -59,7 +59,7 @@ Refer to the Kubernetes API documentation for the fields of the | |||
| <td> | ||||
| <code>spec</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.KustomizationSpec"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationSpec"> | ||||
| KustomizationSpec | ||||
| </a> | ||||
| </em> | ||||
|  | @ -120,7 +120,7 @@ bool | |||
| <td> | ||||
| <code>healthChecks</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.WorkloadReference"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.WorkloadReference"> | ||||
| []WorkloadReference | ||||
| </a> | ||||
| </em> | ||||
|  | @ -135,7 +135,7 @@ to be included in the health assessment.</p> | |||
| <td> | ||||
| <code>serviceAccount</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.ServiceAccount"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.ServiceAccount"> | ||||
| ServiceAccount | ||||
| </a> | ||||
| </em> | ||||
|  | @ -149,7 +149,7 @@ ServiceAccount | |||
| <td> | ||||
| <code>sourceRef</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.CrossNamespaceObjectReference"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.CrossNamespaceObjectReference"> | ||||
| CrossNamespaceObjectReference | ||||
| </a> | ||||
| </em> | ||||
|  | @ -206,7 +206,7 @@ The validation strategy can be ‘client’ (local dry-run) or ‘se | |||
| <td> | ||||
| <code>status</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.KustomizationStatus"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationStatus"> | ||||
| KustomizationStatus | ||||
| </a> | ||||
| </em> | ||||
|  | @ -218,11 +218,11 @@ KustomizationStatus | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.Condition">Condition | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Condition">Condition | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus</a>) | ||||
| </p> | ||||
| <p>Condition contains condition information for a kustomization.</p> | ||||
| <div class="md-typeset__scrollwrap"> | ||||
|  | @ -302,11 +302,11 @@ transition, complementing reason.</p> | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">CrossNamespaceObjectReference | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">CrossNamespaceObjectReference | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec</a>) | ||||
| </p> | ||||
| <p>CrossNamespaceObjectReference contains enough information to let you locate the | ||||
| typed referenced object at cluster level</p> | ||||
|  | @ -370,11 +370,11 @@ string | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.Kustomization">Kustomization</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Kustomization">Kustomization</a>) | ||||
| </p> | ||||
| <p>KustomizationSpec defines the desired state of a kustomization.</p> | ||||
| <div class="md-typeset__scrollwrap"> | ||||
|  | @ -439,7 +439,7 @@ bool | |||
| <td> | ||||
| <code>healthChecks</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.WorkloadReference"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.WorkloadReference"> | ||||
| []WorkloadReference | ||||
| </a> | ||||
| </em> | ||||
|  | @ -454,7 +454,7 @@ to be included in the health assessment.</p> | |||
| <td> | ||||
| <code>serviceAccount</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.ServiceAccount"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.ServiceAccount"> | ||||
| ServiceAccount | ||||
| </a> | ||||
| </em> | ||||
|  | @ -468,7 +468,7 @@ ServiceAccount | |||
| <td> | ||||
| <code>sourceRef</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.CrossNamespaceObjectReference"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.CrossNamespaceObjectReference"> | ||||
| CrossNamespaceObjectReference | ||||
| </a> | ||||
| </em> | ||||
|  | @ -522,11 +522,11 @@ The validation strategy can be ‘client’ (local dry-run) or ‘se | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.Kustomization">Kustomization</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Kustomization">Kustomization</a>) | ||||
| </p> | ||||
| <p>KustomizationStatus defines the observed state of a kustomization.</p> | ||||
| <div class="md-typeset__scrollwrap"> | ||||
|  | @ -555,7 +555,7 @@ int64 | |||
| <td> | ||||
| <code>conditions</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.Condition"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Condition"> | ||||
| []Condition | ||||
| </a> | ||||
| </em> | ||||
|  | @ -593,7 +593,7 @@ string | |||
| <td> | ||||
| <code>snapshot</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.Snapshot"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Snapshot"> | ||||
| Snapshot | ||||
| </a> | ||||
| </em> | ||||
|  | @ -607,11 +607,11 @@ Snapshot | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.ServiceAccount">ServiceAccount | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.ServiceAccount">ServiceAccount | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec</a>) | ||||
| </p> | ||||
| <p>ServiceAccount defines a reference to a Kubernetes service account.</p> | ||||
| <div class="md-typeset__scrollwrap"> | ||||
|  | @ -650,11 +650,11 @@ string | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.Snapshot">Snapshot | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Snapshot">Snapshot | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus</a>) | ||||
| </p> | ||||
| <p>Snapshot holds the metadata of the Kubernetes objects | ||||
| generated for a source revision</p> | ||||
|  | @ -683,7 +683,7 @@ string | |||
| <td> | ||||
| <code>entries</code><br> | ||||
| <em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.SnapshotEntry"> | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.SnapshotEntry"> | ||||
| []SnapshotEntry | ||||
| </a> | ||||
| </em> | ||||
|  | @ -696,11 +696,11 @@ string | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.SnapshotEntry">SnapshotEntry | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.SnapshotEntry">SnapshotEntry | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.Snapshot">Snapshot</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Snapshot">Snapshot</a>) | ||||
| </p> | ||||
| <p>Snapshot holds the metadata of namespaced | ||||
| Kubernetes objects</p> | ||||
|  | @ -741,13 +741,13 @@ map[string]string | |||
| </table> | ||||
| </div> | ||||
| </div> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.Unsortable">Unsortable | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Unsortable">Unsortable | ||||
| (<code>[][]string</code> alias)</h3> | ||||
| <h3 id="kustomize.fluxcd.io/v1alpha1.WorkloadReference">WorkloadReference | ||||
| <h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.WorkloadReference">WorkloadReference | ||||
| </h3> | ||||
| <p> | ||||
| (<em>Appears on:</em> | ||||
| <a href="#kustomize.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec</a>) | ||||
| <a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec</a>) | ||||
| </p> | ||||
| <p>WorkloadReference defines a reference to a Deployment, DaemonSet or StatefulSet.</p> | ||||
| <div class="md-typeset__scrollwrap"> | ||||
|  |  | |||
|  | @ -66,7 +66,7 @@ Deleting a suspended pipeline does not trigger garbage collection. | |||
| Alerting can be configured with a Kubernetes custom resource | ||||
| that specifies a webhook address, and a group of pipelines to be monitored. | ||||
| 
 | ||||
| The API design of the controller can be found at [kustomize.fluxcd.io/v1alpha1](v1alpha1/README.md). | ||||
| The API design of the controller can be found at [kustomize.toolkit.fluxcd.io/v1alpha1](v1alpha1/README.md). | ||||
| 
 | ||||
| ## Backward compatibility | ||||
| 
 | ||||
|  | @ -94,7 +94,7 @@ Create a source that points to where the Istio control plane manifests are, | |||
| and a kustomization for installing/upgrading Istio: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: istio | ||||
|  | @ -105,7 +105,7 @@ spec: | |||
|   ref: | ||||
|     branch: master | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: istio | ||||
|  | @ -126,7 +126,7 @@ spec: | |||
| Create a source for the app repo, a kustomization for each service defining depends-on relationships: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: source.fluxcd.io/v1alpha1 | ||||
| apiVersion: source.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: GitRepository | ||||
| metadata: | ||||
|   name: webapp | ||||
|  | @ -137,7 +137,7 @@ spec: | |||
|   ref: | ||||
|     branch: master | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: webapp-common | ||||
|  | @ -153,7 +153,7 @@ spec: | |||
|     name: webapp | ||||
|   validation: client | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: webapp-backend | ||||
|  | @ -173,7 +173,7 @@ spec: | |||
|       name: backend | ||||
|       namespace: webapp | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: webapp-frontend | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| # kustomize.fluxcd.io/v1alpha1 | ||||
| # kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| 
 | ||||
| This is the v1alpha1 API specification for defining continuous delivery pipelines | ||||
| of Kubernetes objects generated with Kustomize. | ||||
|  |  | |||
|  | @ -205,7 +205,7 @@ Assuming the kustomization source contains a Kubernetes Deployment named `backen | |||
| a health check can be defined as follows: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: backend | ||||
|  | @ -247,7 +247,7 @@ Assuming two kustomizations: | |||
| You can instruct the controller to apply the `common` kustomization before `backend`: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: common | ||||
|  | @ -259,7 +259,7 @@ spec: | |||
|     kind: GitRepository | ||||
|     name: webapp | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: backend | ||||
|  | @ -278,7 +278,7 @@ When combined with health assessment, a kustomization will run after all its dep | |||
| For example, a service mesh proxy injector should be running before deploying applications inside the mesh. | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: istio | ||||
|  | @ -294,7 +294,7 @@ spec: | |||
|       namespace: istio-system | ||||
|   timeout: 2m | ||||
| --- | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: backend | ||||
|  | @ -368,7 +368,7 @@ subjects: | |||
| Create a kustomization that prevents altering the cluster state outside of the `webapp` namespace: | ||||
| 
 | ||||
| ```yaml | ||||
| apiVersion: kustomize.fluxcd.io/v1alpha1 | ||||
| apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1 | ||||
| kind: Kustomization | ||||
| metadata: | ||||
|   name: backend | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue