Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Support kustomize #55

Open
nstogner opened this issue Jun 10, 2020 · 2 comments
Open

Support kustomize #55

nstogner opened this issue Jun 10, 2020 · 2 comments

Comments

@nstogner
Copy link

nstogner commented Jun 10, 2020

Kustomize is a popular tool for deploying to kubernetes. It could be supported by adding a kustomization.yaml file into the deploy/ dir:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- 00-roles.yaml
- 01-config.yaml
- 02-deployment.yaml

To make the namespace customizable, it would be nice to split the Namespace object definition out to another file (00-namespace.yaml - not included in the .resources array above).

A user's kustomization.yaml might look like:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- github.com/opsgenie/kubernetes-event-exporter//deploy?ref=v0.8
@nstogner
Copy link
Author

Happy to submit the PR

@mustafaakin
Copy link
Contributor

Sure, We don't use it but happy to merge it a PR is raised.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants