Skip to content

Commit 8af50d7

Browse files
Add Kustomize (#58)
* Add kustomization.yaml * Add kustomize deploy to README.md
1 parent 32a64cc commit 8af50d7

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Diff for: README.md

+11
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ observability or alerting purposes. You won't believe what you are missing.
1313
Head on to `deploy/` folder and apply the YAMLs in the given filename order. Do not forget to modify the
1414
`deploy/01-config.yaml` file to your configuration needs. The additional information for configuration is as follows:
1515

16+
### Kustomize
17+
18+
Deploy with Kustomize by Git ref (i.e., commit sha, tag, or branch).
19+
20+
```yaml
21+
apiVersion: kustomize.config.k8s.io/v1beta1
22+
kind: Kustomization
23+
resources:
24+
- https://github.com/resmoio/kubernetes-event-exporter?ref=master
25+
```
26+
1627
## Configuration
1728
1829
Configuration is done via a YAML file, when run in Kubernetes, ConfigMap. The tool watches all the events and

Diff for: kustomization.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- deploy/00-roles.yaml
5+
- deploy/01-config.yaml
6+
- deploy/02-deployment.yaml

0 commit comments

Comments
 (0)