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

Remove deprecated flag from mc-image-helper command in start-setupRbac #3289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

augustabt
Copy link

The --append-only flag was removed from mc-image-helper manage-users in commit 5fbfd0e. If APPEND_WHITELIST or OVERRIDE_WHITELIST are set to false the container fails to start. As far as I can tell it is safe to simply remove the section since if neither variable is set to true the script defaults to --existing=MERGE which is the desired behavior.

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

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

Thanks for working on a fix for this. I think accidentally forgot to do the same as APPEND_OPS and OVERRIDE_OPS here:

# legacy option
if [[ -v APPEND_OPS ]] && isTrue "${APPEND_OPS}"; then
existing=MERGE
fi
# legacy option
if [[ -v OVERRIDE_OPS ]] && isFalse "${OVERRIDE_OPS}"; then
existing=SKIP
fi

Can you try out a change similar to that?

The removal is good too since those are long now legacy variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants