include crd def. in kustomization
This commit is contained in:
parent
9e54b70227
commit
734a334736
|
|
@ -56,8 +56,8 @@ kubectl create -f manifests/postgres-operator.yaml # deployment
|
||||||
```
|
```
|
||||||
|
|
||||||
There is a [Kustomization](https://github.com/kubernetes-sigs/kustomize)
|
There is a [Kustomization](https://github.com/kubernetes-sigs/kustomize)
|
||||||
manifest that [combines the mentioned resources](../manifests/kustomization.yaml)
|
manifest that [combines the mentioned resources](../manifests/kustomization.yaml).
|
||||||
(except for the CRD) - it can be used with kubectl 1.14 or newer as easy as:
|
It can be used with kubectl 1.14 or newer as easy as:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -k github.com/zalando/postgres-operator/manifests
|
kubectl apply -k github.com/zalando/postgres-operator/manifests
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
|
- operatorconfiguration.crd.yaml
|
||||||
- postgresql-operator-default-configuration.yaml
|
- postgresql-operator-default-configuration.yaml
|
||||||
- operator-service-account-rbac.yaml
|
- operator-service-account-rbac.yaml
|
||||||
- postgres-operator.yaml
|
- postgres-operator.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue