Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Remove fullname from helm chart since nothing uses it - #2242

Merged
harshavardhana merged 1 commit into
minio:masterfrom
dvaldivia:update-helm
Sep 19, 2024
Merged

harshavardhana merged 1 commit into
minio:masterfrom
dvaldivia:update-helm

Conversation

@dvaldivia

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
@ramondeklein
ramondeklein self-requested a review July 26, 2024 08:37

@ramondeklein ramondeklein left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I checked the code if we really need this name to be fixed, but there are not a lot of places where we need this name to be fixed. The controller.getOperatorDeploymentName() function looks like this (source):

func getOperatorDeploymentName() string {
        // NOTE: constants expanded for clarity in this PR
	return env.Get("MINIO_OPERATOR_DEPLOYMENT_NAME", "minio-operator")
}

I don't think this name needs to be fixed, if we also set the MINIO_OPERATOR_DEPLOYMENT_NAME environment variable properly and set the name here. According to the documentation this is a support scenario (that probably doesn't work properly anymore for a while). It should be tested though.

It's fine by me to hardcode the name, but then we should remove this environment variable from code and update the documentation too.

@harshavardhana

Copy link
Copy Markdown
Member
func getOperatorDeploymentName() string {
        // NOTE: constants expanded for clarity in this PR
	return env.Get("MINIO_OPERATOR_DEPLOYMENT_NAME", "minio-operator")
}

@dvaldivia ^^

@ramondeklein

Copy link
Copy Markdown
Contributor

@dvaldivia I think we should remove the environment variable if we decide to use a fixed name. That's why I didn't approve this change. I'ld be happy to remove this variable in this PR...

@harshavardhana

Copy link
Copy Markdown
Member

@dvaldivia I think we should remove the environment variable if we decide to use a fixed name. That's why I didn't approve this change. I'ld be happy to remove this variable in this PR...

@ramondeklein please send it separately, this PR can be merged as is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants