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

Remove Helm operator from codebase #2329

Merged
merged 12 commits into from
Aug 15, 2019
Merged

Remove Helm operator from codebase #2329

merged 12 commits into from
Aug 15, 2019

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Aug 6, 2019

The new Helm operator home is fluxcd/helm-operator.

  • remove code and changed imports to github.com/fluxcd/helm-operator
  • remove code-generator elements
  • remove Helm operator Dockerfile
  • update CircleCI config
  • update e2e tests
  • update Makefile
  • update README.md
  • remove Helm operator docs
  • add support for HelmRelease v1 resources

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiddeco hiddeco force-pushed the helm/remove branch 4 times, most recently from c06a2ef to 26eb6ca Compare August 13, 2019 10:58
hiddeco added a commit that referenced this pull request Aug 13, 2019
This commit has overlap with work done in #2329. We do however need
to disable the push of images before we actually remove the code, to
be able to safely switch to `master` in the `fluxcd/helm-operator`
repository. As otherwise the prerelease images will have builds from
mixed origins.
@hiddeco hiddeco force-pushed the helm/remove branch 3 times, most recently from 8efdb51 to a9f8b0a Compare August 15, 2019 10:46
@hiddeco hiddeco marked this pull request as ready for review August 15, 2019 10:46
@hiddeco hiddeco force-pushed the helm/remove branch 5 times, most recently from ac5fcc3 to badb6fb Compare August 15, 2019 12:19
Or to be more specific:

- removed `integrations/`
- removed `cmd/helm-operator`
- changed existing imports to `github.com/fluxcd/helm-operator`
But still install it during the end to end tests (from the latest
official release), as Flux has some features (e.g. image updates)
that work with `HelmRelease` objects.
And reference to this file in `CHANGELOG.md`.
They are now managed as a child project in RTD, and the docs reside
in the Helm operator repository.
This commit adds support for HelmRelease v1 resources with backwards
compatability for v1beta1 resources, it also reintroduces some of
the removed `integrations/` packages, as those resources have been
removed from the Helm operator.

The v1 resource is prioritized over v1beta1 resources, as Flux is
only aware of the resource kind and not the api version. The
prioritization means that if there are two resources with the same
namespace and name, Flux will only see the v1 resource. The fallback
is based on returned errors from the API, this comes at a cost, as
errors during the first try may actually be relevant.

The version of `github.com/fluxcd/helm-operator` has been pinpointed
on `1.0.0-rc1`.
@hiddeco hiddeco merged commit 6e3a245 into master Aug 15, 2019
@hiddeco hiddeco deleted the helm/remove branch August 15, 2019 12:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants