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

Combine helm subcharts into single chart #2052

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

danail-branekov
Copy link
Member

Is there a related GitHub Issue?

#1904

What is this change about?

Use a single controllers deployment that runs all Korifi reconcilers instead
of having multiple deployments

  • Have a single helm chart (no subcharts) to deploy Korifi
  • The helm chart consist of api, controllers statefulset-runner,
    job-task-runner, kpack-image-builder components that can be switched off
    via the helm values file. If a component is disabled, the related templates
    are simply not rendered.
  • The binaries and Dockerfiles for statefulset-runner, job-task-runner,
    kpack-image-builder are no longer needed and are therefore deleted

Does this PR introduce a breaking change?

Yes, "top-level" values are now camel-cased instead of snake-cased:

  • statefulset-runner -> statefulsetRunner
  • kpack-image-builder -> kpackImageBuilder
  • job-task-runner -> jobTaskRunner

Acceptance Steps

  • Deploy Korifi
  • See there are just two Korifi deployments - api and controllers
  • Green tests

Tag your pair, your PM, and/or team

@georgethebeatle @gcapizzi @kieron-dev

@georgethebeatle georgethebeatle enabled auto-merge (rebase) January 10, 2023 13:49
@danail-branekov danail-branekov force-pushed the issues/1904-single-controller-deployment branch 2 times, most recently from d62253f to 70cfe05 Compare January 11, 2023 10:24
Issue: #1904

Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Co-authored-by: Giuseppe Capizzi <gcapizzi@vmware.com>
Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
@danail-branekov danail-branekov force-pushed the issues/1904-single-controller-deployment branch from 70cfe05 to f9b39c8 Compare January 11, 2023 10:30
@georgethebeatle georgethebeatle merged commit 01bfef3 into main Jan 11, 2023
@georgethebeatle georgethebeatle deleted the issues/1904-single-controller-deployment branch January 11, 2023 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants