Kustomization (#608)
Add ability to install the operator via kustomization.
This commit is contained in:
		
							parent
							
								
									d5c3a284c9
								
							
						
					
					
						commit
						8ec3fa1ec8
					
				|  | @ -54,9 +54,13 @@ kubectl create -f manifests/operator-service-account-rbac.yaml  # identity and p | ||||||
| kubectl create -f manifests/postgres-operator.yaml  # deployment | kubectl create -f manifests/postgres-operator.yaml  # deployment | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| When using kubectl 1.14 or newer the mentioned manifests could be also be | There is a [Kustomization](https://github.com/kubernetes-sigs/kustomize) | ||||||
| bundled in one [Kustomization](https://github.com/kubernetes-sigs/kustomize) | manifest that [combines the mentioned resources](../manifests/kustomization.yaml) -  | ||||||
| manifest. | it can be used with kubectl 1.14 or newer as easy as: | ||||||
|  | 
 | ||||||
|  | ```bash | ||||||
|  | kubectl apply -k github.com/zalando/postgres-operator/manifests | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| For convenience, we have automated starting the operator with minikube using the | For convenience, we have automated starting the operator with minikube using the | ||||||
| `run_operator_locally` script. It applies the [`acid-minimal-cluster`](../manifests/minimal-postgres-manifest). | `run_operator_locally` script. It applies the [`acid-minimal-cluster`](../manifests/minimal-postgres-manifest). | ||||||
|  |  | ||||||
|  | @ -0,0 +1,6 @@ | ||||||
|  | apiVersion: kustomize.config.k8s.io/v1beta1 | ||||||
|  | kind: Kustomization | ||||||
|  | resources: | ||||||
|  | - configmap.yaml | ||||||
|  | - operator-service-account-rbac.yaml | ||||||
|  | - postgres-operator.yaml | ||||||
		Loading…
	
		Reference in New Issue