Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kong] make it possible to only install CRDs in a Helm release #135

Closed
hbagdi opened this issue May 14, 2020 · 1 comment
Closed

[kong] make it possible to only install CRDs in a Helm release #135

hbagdi opened this issue May 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@hbagdi
Copy link
Member

hbagdi commented May 14, 2020

If Kong is being installed multiple times in a single k8s cluster, it should be possible to install CRDs as a release and then install all Kong releases without CRDs.

Associated CRDs with any of the releases results in all other releases to be broken when the release that includes CRDs is removed.

@hbagdi hbagdi added the enhancement New feature or request label May 14, 2020
@rainest
Copy link
Contributor

rainest commented Sep 29, 2020

This is now effectively supported, but clunky: if you enable CRD installation and disable both the controller and Kong Pods, the chart does install the CRDs as a managed part of the release, and nothing else.

CRD management is inherently annoying because of the "delete CRD, delete all resources of that type footgun", which is kinda why Helm 3 takes a more hands-off approach (create CRDs if needed, but do not manage them along with the release) by default. That comes with its own problems related to CRD changes, but working within it is complicated so long as we support Helm 2 and Helm 3 both.

As-is, this is implemented, so closing this. We should revisit CRD management after removing Helm 2 support. #93 for that and related CRD discussion.

@rainest rainest closed this as completed Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants