Open nstogner opened 4 years ago
Kustomize is a popular tool for deploying to kubernetes. It could be supported by adding a kustomization.yaml file into the deploy/ dir:
kustomization.yaml
deploy/
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).
Namespace
00-namespace.yaml
.resources
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
Happy to submit the PR
Sure, We don't use it but happy to merge it a PR is raised.
Kustomize is a popular tool for deploying to kubernetes. It could be supported by adding a
kustomization.yaml
file into thedeploy/
dir: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: