We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cdb7d3 commit 5742a34Copy full SHA for 5742a34
scripts/start-setupRbac
@@ -77,13 +77,18 @@ if [[ -v WHITELIST_FILE ]]; then
77
fi
78
if [[ -v WHITELIST ]]; then
79
args=()
80
- if isTrue "${APPEND_WHITELIST:-false}" || isFalse "${OVERRIDE_WHITELIST:-true}"; then
81
- args+=(--append-only)
82
- fi
83
existing="$EXISTING_WHITELIST_FILE"
84
if [[ "$EXISTING_WHITELIST_FILE" = SYNC_FILE_MERGE_LIST ]]; then
85
existing=MERGE
86
+ # legacy option
+ if [[ -v APPEND_WHITELIST ]] && isTrue "${APPEND_WHITELIST}"; then
+ existing=MERGE
87
+ fi
88
89
+ if [[ -v OVERRIDE_WHITELIST ]] && isFalse "${OVERRIDE_WHITELIST}"; then
90
+ existing=SKIP
91
92
# shellcheck disable=SC2086
93
mc-image-helper manage-users \
94
"${sharedArgs[@]}" "${args[@]}" \
0 commit comments