operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

[meta] change ansible-/helm-operator binary and image names

Open estroz opened this issue 4 years ago • 7 comments

Feature Request

Describe the problem you need a feature to resolve.

The base "operators" (both binaries and images) for Ansible and Helm projects are currently called ansible-operator and helm-operator, respectively. This naming can be confusing because operator-sdk init --plugins=<ansible|helm> creates Ansible/Helm operator projects.

Describe the solution you'd like.

These base operators could be renamed to something more obvious. Some initial ideas, where "ansible" is used as the example language target:

  • ansible-operator-base
  • ansible-controller-manager (for an explanation of "controller-manager", see https://github.com/operator-framework/operator-sdk/issues/4823#issuecomment-827046143)

Renaming will likely happen prior to v2.0 and be published alongside the current naming scheme, but a hard switch to a new name format would happen at v2.0 release time.

Would love input from Ansible and Helm folks!

/language ansible /language helm /kind feature

estroz avatar Apr 26 '21 18:04 estroz

/cc @tima

fabianvf avatar Apr 26 '21 18:04 fabianvf

Another alternative would be dropping the base image builds and instead using multi-stage dockerfiles where the user pulls in the relevant binaries (or builds from source but that seems more error prone)

fabianvf avatar Apr 26 '21 18:04 fabianvf

@fabianvf can you give an example of what a multi-stage Dockerfile would look like, assuming the ansible-operator binary and python deps are present in some new image quay.io/operator-framework/ansible-controller-manager:latest?

estroz avatar Apr 26 '21 19:04 estroz

That naming is OK with me. I'm not sold on the multi-stage Dockerfile approach though. That seems inconsistent with the direction the Ansible community is heading with its efforts like ansible builder and execution environments.

tima avatar Apr 26 '21 23:04 tima

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot avatar Jul 26 '21 02:07 openshift-bot

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

openshift-bot avatar Aug 25 '21 06:08 openshift-bot

/lifecycle frozen

estroz avatar Aug 30 '21 15:08 estroz