From 8af50d72df2ea3838c4890d6c68b9a0710e795a6 Mon Sep 17 00:00:00 2001 From: James Ringer <67252279+jameshearttech@users.noreply.github.com> Date: Thu, 16 Mar 2023 20:27:40 -1000 Subject: [PATCH] Add Kustomize (#58) * Add kustomization.yaml * Add kustomize deploy to README.md --- README.md | 11 +++++++++++ kustomization.yaml | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 kustomization.yaml diff --git a/README.md b/README.md index 71a8584..973ba3b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/kustomization.yaml b/kustomization.yaml new file mode 100644 index 0000000..ac61b98 --- /dev/null +++ b/kustomization.yaml @@ -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