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)
|
## 0.0.1-alpha.6 (2020-05-03)
|
||||||
|
|
||||||
This alpha release comes with
|
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.
|
for restricting the execution of a kustomization apply to a specific service account.
|
||||||
|
|
||||||
## 0.0.1-alpha.5 (2020-04-27)
|
## 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)
|
## 0.0.1-alpha.4 (2020-04-24)
|
||||||
|
|
||||||
This alpha release introduces a new status field for recording the
|
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
|
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)
|
## 0.0.1-alpha.3 (2020-04-23)
|
||||||
|
|
||||||
This alpha release introduces the option to tell the controller to
|
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 `kustomization.yaml` for repositories that contain plain Kubernetes manifests.
|
||||||
|
|
||||||
The controller design and motivation can be found at
|
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)
|
## 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)
|
[Kustomization](https://github.com/fluxcd/kustomize-controller/blob/master/docs/spec/v1alpha1/kustomization.md)
|
||||||
objects and defining a common behavior for them.
|
objects and defining a common behavior for them.
|
||||||
The v1alpha1 profiles can be used for
|
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)
|
## 0.0.1-alpha.1 (2020-04-20)
|
||||||
|
|
||||||
This is the first alpha release of kustomize controller.
|
This is the first alpha release of kustomize controller.
|
||||||
The controller is an implementation of the
|
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
|
go run ./main.go
|
||||||
|
|
||||||
download-crd-deps:
|
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 CRDs into a cluster
|
||||||
install: manifests
|
install: manifests
|
||||||
|
|
|
||||||
2
PROJECT
2
PROJECT
|
|
@ -1,4 +1,4 @@
|
||||||
domain: fluxcd.io
|
domain: toolkit.fluxcd.io
|
||||||
repo: github.com/fluxcd/kustomize-controller
|
repo: github.com/fluxcd/kustomize-controller
|
||||||
resources:
|
resources:
|
||||||
- group: kustomize
|
- 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:
|
Create a source object that points to a Git repository containing Kubernetes and Kustomize manifests:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: podinfo
|
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:
|
Create a kustomization object that uses the git repository defined above:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: podinfo-dev
|
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:
|
For example, a service mesh proxy injector should be running before deploying applications inside the mesh:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: istio
|
name: istio
|
||||||
|
|
@ -210,7 +210,7 @@ spec:
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
timeout: 2m
|
timeout: 2m
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: podinfo-dev
|
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:
|
For production deployments, instead of synchronizing with a branch you can use a semver range to target stable releases:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: podinfo-releases
|
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:
|
Create a production kustomization and reference the git source that follows the latest semver release:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: podinfo-production
|
name: podinfo-production
|
||||||
|
|
|
||||||
|
|
@ -16,5 +16,5 @@ limitations under the License.
|
||||||
|
|
||||||
// Package v1alpha1 contains API Schema definitions for the kustomize v1alpha1 API group
|
// Package v1alpha1 contains API Schema definitions for the kustomize v1alpha1 API group
|
||||||
// +kubebuilder:object:generate=true
|
// +kubebuilder:object:generate=true
|
||||||
// +groupName=kustomize.fluxcd.io
|
// +groupName=kustomize.toolkit.fluxcd.io
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// GroupVersion is group version used to register these objects
|
// 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 is used to add go types to the GroupVersionKind scheme
|
||||||
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ metadata:
|
||||||
annotations:
|
annotations:
|
||||||
controller-gen.kubebuilder.io/version: v0.3.0
|
controller-gen.kubebuilder.io/version: v0.3.0
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: kustomizations.kustomize.fluxcd.io
|
name: kustomizations.kustomize.toolkit.fluxcd.io
|
||||||
spec:
|
spec:
|
||||||
group: kustomize.fluxcd.io
|
group: kustomize.toolkit.fluxcd.io
|
||||||
names:
|
names:
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
listKind: KustomizationList
|
listKind: KustomizationList
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- bases/kustomize.fluxcd.io_kustomizations.yaml
|
- bases/kustomize.toolkit.fluxcd.io_kustomizations.yaml
|
||||||
# +kubebuilder:scaffold:crdkustomizeresource
|
# +kubebuilder:scaffold:crdkustomizeresource
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: kustomization-editor-role
|
name: kustomization-editor-role
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- kustomize.fluxcd.io
|
- kustomize.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- kustomizations
|
- kustomizations
|
||||||
verbs:
|
verbs:
|
||||||
|
|
@ -17,7 +17,7 @@ rules:
|
||||||
- update
|
- update
|
||||||
- watch
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- kustomize.fluxcd.io
|
- kustomize.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- kustomizations/status
|
- kustomizations/status
|
||||||
verbs:
|
verbs:
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: kustomization-viewer-role
|
name: kustomization-viewer-role
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- kustomize.fluxcd.io
|
- kustomize.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- kustomizations
|
- kustomizations
|
||||||
verbs:
|
verbs:
|
||||||
|
|
@ -13,7 +13,7 @@ rules:
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- kustomize.fluxcd.io
|
- kustomize.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- kustomizations/status
|
- kustomizations/status
|
||||||
verbs:
|
verbs:
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
name: manager-role
|
name: manager-role
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- kustomize.fluxcd.io
|
- kustomize.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- kustomizations
|
- kustomizations
|
||||||
verbs:
|
verbs:
|
||||||
|
|
@ -19,7 +19,7 @@ rules:
|
||||||
- update
|
- update
|
||||||
- watch
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- kustomize.fluxcd.io
|
- kustomize.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- kustomizations/status
|
- kustomizations/status
|
||||||
verbs:
|
verbs:
|
||||||
|
|
@ -27,7 +27,7 @@ rules:
|
||||||
- patch
|
- patch
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- source.fluxcd.io
|
- source.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- gitrepositories
|
- gitrepositories
|
||||||
verbs:
|
verbs:
|
||||||
|
|
@ -35,7 +35,7 @@ rules:
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- source.fluxcd.io
|
- source.toolkit.fluxcd.io
|
||||||
resources:
|
resources:
|
||||||
- gitrepositories/status
|
- gitrepositories/status
|
||||||
verbs:
|
verbs:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-dev
|
name: webapp-dev
|
||||||
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
namespace: webapp
|
namespace: webapp
|
||||||
timeout: 2m
|
timeout: 2m
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-production
|
name: webapp-production
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-latest
|
name: webapp-latest
|
||||||
|
|
@ -8,7 +8,7 @@ spec:
|
||||||
ref:
|
ref:
|
||||||
branch: master
|
branch: master
|
||||||
---
|
---
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-releases
|
name: webapp-releases
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: backend
|
name: backend
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: common
|
name: common
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: frontend
|
name: frontend
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp
|
name: webapp
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-production
|
name: webapp-production
|
||||||
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
namespace: production
|
namespace: production
|
||||||
timeout: 2m
|
timeout: 2m
|
||||||
---
|
---
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-releases
|
name: webapp-releases
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-staging
|
name: webapp-staging
|
||||||
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
namespace: staging
|
namespace: staging
|
||||||
timeout: 2m
|
timeout: 2m
|
||||||
---
|
---
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-latest
|
name: webapp-latest
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,8 @@ type GitRepositoryWatcher struct {
|
||||||
Scheme *runtime.Scheme
|
Scheme *runtime.Scheme
|
||||||
}
|
}
|
||||||
|
|
||||||
// +kubebuilder:rbac:groups=source.fluxcd.io,resources=gitrepositories,verbs=get;list;watch
|
// +kubebuilder:rbac:groups=source.toolkit.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/status,verbs=get
|
||||||
|
|
||||||
func (r *GitRepositoryWatcher) Reconcile(req ctrl.Request) (ctrl.Result, error) {
|
func (r *GitRepositoryWatcher) Reconcile(req ctrl.Request) (ctrl.Result, error) {
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,8 @@ type KustomizationReconciler struct {
|
||||||
ExternalEventRecorder *recorder.EventRecorder
|
ExternalEventRecorder *recorder.EventRecorder
|
||||||
}
|
}
|
||||||
|
|
||||||
// +kubebuilder:rbac:groups=kustomize.fluxcd.io,resources=kustomizations,verbs=get;list;watch;create;update;patch;delete
|
// +kubebuilder:rbac:groups=kustomize.toolkit.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/status,verbs=get;update;patch
|
||||||
|
|
||||||
func (r *KustomizationReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
|
func (r *KustomizationReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,16 @@
|
||||||
<p>Packages:</p>
|
<p>Packages:</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>
|
<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>
|
</li>
|
||||||
</ul>
|
</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>
|
<p>Package v1alpha1 contains API Schema definitions for the kustomize v1alpha1 API group</p>
|
||||||
Resource Types:
|
Resource Types:
|
||||||
<ul class="simple"><li>
|
<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>
|
</li></ul>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.Kustomization">Kustomization
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Kustomization">Kustomization
|
||||||
</h3>
|
</h3>
|
||||||
<p>Kustomization is the Schema for the kustomizations API.</p>
|
<p>Kustomization is the Schema for the kustomizations API.</p>
|
||||||
<div class="md-typeset__scrollwrap">
|
<div class="md-typeset__scrollwrap">
|
||||||
|
|
@ -29,7 +29,7 @@ Resource Types:
|
||||||
<code>apiVersion</code><br>
|
<code>apiVersion</code><br>
|
||||||
string</td>
|
string</td>
|
||||||
<td>
|
<td>
|
||||||
<code>kustomize.fluxcd.io/v1alpha1</code>
|
<code>kustomize.toolkit.fluxcd.io/v1alpha1</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -59,7 +59,7 @@ Refer to the Kubernetes API documentation for the fields of the
|
||||||
<td>
|
<td>
|
||||||
<code>spec</code><br>
|
<code>spec</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.KustomizationSpec">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationSpec">
|
||||||
KustomizationSpec
|
KustomizationSpec
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -120,7 +120,7 @@ bool
|
||||||
<td>
|
<td>
|
||||||
<code>healthChecks</code><br>
|
<code>healthChecks</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.WorkloadReference">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.WorkloadReference">
|
||||||
[]WorkloadReference
|
[]WorkloadReference
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -135,7 +135,7 @@ to be included in the health assessment.</p>
|
||||||
<td>
|
<td>
|
||||||
<code>serviceAccount</code><br>
|
<code>serviceAccount</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.ServiceAccount">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.ServiceAccount">
|
||||||
ServiceAccount
|
ServiceAccount
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -149,7 +149,7 @@ ServiceAccount
|
||||||
<td>
|
<td>
|
||||||
<code>sourceRef</code><br>
|
<code>sourceRef</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">
|
||||||
CrossNamespaceObjectReference
|
CrossNamespaceObjectReference
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -206,7 +206,7 @@ The validation strategy can be ‘client’ (local dry-run) or ‘se
|
||||||
<td>
|
<td>
|
||||||
<code>status</code><br>
|
<code>status</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.KustomizationStatus">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationStatus">
|
||||||
KustomizationStatus
|
KustomizationStatus
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -218,11 +218,11 @@ KustomizationStatus
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.Condition">Condition
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Condition">Condition
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>Condition contains condition information for a kustomization.</p>
|
<p>Condition contains condition information for a kustomization.</p>
|
||||||
<div class="md-typeset__scrollwrap">
|
<div class="md-typeset__scrollwrap">
|
||||||
|
|
@ -302,11 +302,11 @@ transition, complementing reason.</p>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">CrossNamespaceObjectReference
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">CrossNamespaceObjectReference
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>CrossNamespaceObjectReference contains enough information to let you locate the
|
<p>CrossNamespaceObjectReference contains enough information to let you locate the
|
||||||
typed referenced object at cluster level</p>
|
typed referenced object at cluster level</p>
|
||||||
|
|
@ -370,11 +370,11 @@ string
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationSpec">KustomizationSpec
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>KustomizationSpec defines the desired state of a kustomization.</p>
|
<p>KustomizationSpec defines the desired state of a kustomization.</p>
|
||||||
<div class="md-typeset__scrollwrap">
|
<div class="md-typeset__scrollwrap">
|
||||||
|
|
@ -439,7 +439,7 @@ bool
|
||||||
<td>
|
<td>
|
||||||
<code>healthChecks</code><br>
|
<code>healthChecks</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.WorkloadReference">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.WorkloadReference">
|
||||||
[]WorkloadReference
|
[]WorkloadReference
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -454,7 +454,7 @@ to be included in the health assessment.</p>
|
||||||
<td>
|
<td>
|
||||||
<code>serviceAccount</code><br>
|
<code>serviceAccount</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.ServiceAccount">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.ServiceAccount">
|
||||||
ServiceAccount
|
ServiceAccount
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -468,7 +468,7 @@ ServiceAccount
|
||||||
<td>
|
<td>
|
||||||
<code>sourceRef</code><br>
|
<code>sourceRef</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.CrossNamespaceObjectReference">
|
||||||
CrossNamespaceObjectReference
|
CrossNamespaceObjectReference
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -522,11 +522,11 @@ The validation strategy can be ‘client’ (local dry-run) or ‘se
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.KustomizationStatus">KustomizationStatus
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>KustomizationStatus defines the observed state of a kustomization.</p>
|
<p>KustomizationStatus defines the observed state of a kustomization.</p>
|
||||||
<div class="md-typeset__scrollwrap">
|
<div class="md-typeset__scrollwrap">
|
||||||
|
|
@ -555,7 +555,7 @@ int64
|
||||||
<td>
|
<td>
|
||||||
<code>conditions</code><br>
|
<code>conditions</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.Condition">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Condition">
|
||||||
[]Condition
|
[]Condition
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -593,7 +593,7 @@ string
|
||||||
<td>
|
<td>
|
||||||
<code>snapshot</code><br>
|
<code>snapshot</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.Snapshot">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.Snapshot">
|
||||||
Snapshot
|
Snapshot
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -607,11 +607,11 @@ Snapshot
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.ServiceAccount">ServiceAccount
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.ServiceAccount">ServiceAccount
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>ServiceAccount defines a reference to a Kubernetes service account.</p>
|
<p>ServiceAccount defines a reference to a Kubernetes service account.</p>
|
||||||
<div class="md-typeset__scrollwrap">
|
<div class="md-typeset__scrollwrap">
|
||||||
|
|
@ -650,11 +650,11 @@ string
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.Snapshot">Snapshot
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Snapshot">Snapshot
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>Snapshot holds the metadata of the Kubernetes objects
|
<p>Snapshot holds the metadata of the Kubernetes objects
|
||||||
generated for a source revision</p>
|
generated for a source revision</p>
|
||||||
|
|
@ -683,7 +683,7 @@ string
|
||||||
<td>
|
<td>
|
||||||
<code>entries</code><br>
|
<code>entries</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="#kustomize.fluxcd.io/v1alpha1.SnapshotEntry">
|
<a href="#kustomize.toolkit.fluxcd.io/v1alpha1.SnapshotEntry">
|
||||||
[]SnapshotEntry
|
[]SnapshotEntry
|
||||||
</a>
|
</a>
|
||||||
</em>
|
</em>
|
||||||
|
|
@ -696,11 +696,11 @@ string
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.SnapshotEntry">SnapshotEntry
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.SnapshotEntry">SnapshotEntry
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>Snapshot holds the metadata of namespaced
|
<p>Snapshot holds the metadata of namespaced
|
||||||
Kubernetes objects</p>
|
Kubernetes objects</p>
|
||||||
|
|
@ -741,13 +741,13 @@ map[string]string
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.Unsortable">Unsortable
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.Unsortable">Unsortable
|
||||||
(<code>[][]string</code> alias)</h3>
|
(<code>[][]string</code> alias)</h3>
|
||||||
<h3 id="kustomize.fluxcd.io/v1alpha1.WorkloadReference">WorkloadReference
|
<h3 id="kustomize.toolkit.fluxcd.io/v1alpha1.WorkloadReference">WorkloadReference
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<p>
|
||||||
(<em>Appears on:</em>
|
(<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>
|
||||||
<p>WorkloadReference defines a reference to a Deployment, DaemonSet or StatefulSet.</p>
|
<p>WorkloadReference defines a reference to a Deployment, DaemonSet or StatefulSet.</p>
|
||||||
<div class="md-typeset__scrollwrap">
|
<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
|
Alerting can be configured with a Kubernetes custom resource
|
||||||
that specifies a webhook address, and a group of pipelines to be monitored.
|
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
|
## 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:
|
and a kustomization for installing/upgrading Istio:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: istio
|
name: istio
|
||||||
|
|
@ -105,7 +105,7 @@ spec:
|
||||||
ref:
|
ref:
|
||||||
branch: master
|
branch: master
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: istio
|
name: istio
|
||||||
|
|
@ -126,7 +126,7 @@ spec:
|
||||||
Create a source for the app repo, a kustomization for each service defining depends-on relationships:
|
Create a source for the app repo, a kustomization for each service defining depends-on relationships:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: source.fluxcd.io/v1alpha1
|
apiVersion: source.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp
|
name: webapp
|
||||||
|
|
@ -137,7 +137,7 @@ spec:
|
||||||
ref:
|
ref:
|
||||||
branch: master
|
branch: master
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-common
|
name: webapp-common
|
||||||
|
|
@ -153,7 +153,7 @@ spec:
|
||||||
name: webapp
|
name: webapp
|
||||||
validation: client
|
validation: client
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-backend
|
name: webapp-backend
|
||||||
|
|
@ -173,7 +173,7 @@ spec:
|
||||||
name: backend
|
name: backend
|
||||||
namespace: webapp
|
namespace: webapp
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: webapp-frontend
|
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
|
This is the v1alpha1 API specification for defining continuous delivery pipelines
|
||||||
of Kubernetes objects generated with Kustomize.
|
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:
|
a health check can be defined as follows:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: backend
|
name: backend
|
||||||
|
|
@ -247,7 +247,7 @@ Assuming two kustomizations:
|
||||||
You can instruct the controller to apply the `common` kustomization before `backend`:
|
You can instruct the controller to apply the `common` kustomization before `backend`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: common
|
name: common
|
||||||
|
|
@ -259,7 +259,7 @@ spec:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: webapp
|
name: webapp
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: backend
|
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.
|
For example, a service mesh proxy injector should be running before deploying applications inside the mesh.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: istio
|
name: istio
|
||||||
|
|
@ -294,7 +294,7 @@ spec:
|
||||||
namespace: istio-system
|
namespace: istio-system
|
||||||
timeout: 2m
|
timeout: 2m
|
||||||
---
|
---
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: backend
|
name: backend
|
||||||
|
|
@ -368,7 +368,7 @@ subjects:
|
||||||
Create a kustomization that prevents altering the cluster state outside of the `webapp` namespace:
|
Create a kustomization that prevents altering the cluster state outside of the `webapp` namespace:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kustomize.fluxcd.io/v1alpha1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: backend
|
name: backend
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue