Add Kustomize (#58)

* Add kustomization.yaml

* Add kustomize deploy to README.md
This commit is contained in:
James Ringer
2023-03-16 20:27:40 -10:00
committed by GitHub
parent 32a64cc965
commit 8af50d72df
2 changed files with 17 additions and 0 deletions

View File

@@ -13,6 +13,17 @@ observability or alerting purposes. You won't believe what you are missing.
Head on to `deploy/` folder and apply the YAMLs in the given filename order. Do not forget to modify the
`deploy/01-config.yaml` file to your configuration needs. The additional information for configuration is as follows:
### Kustomize
Deploy with Kustomize by Git ref (i.e., commit sha, tag, or branch).
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/resmoio/kubernetes-event-exporter?ref=master
```
## Configuration
Configuration is done via a YAML file, when run in Kubernetes, ConfigMap. The tool watches all the events and

6
kustomization.yaml Normal file
View File

@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deploy/00-roles.yaml
- deploy/01-config.yaml
- deploy/02-deployment.yaml