Skip to content

Commit

Permalink
Merge pull request #322 from aiven/jongiddy-master-eligibility-backwa…
Browse files Browse the repository at this point in the history
…rds-compat

Support misspelt environment variable for compatibility

#322
  • Loading branch information
Augusto Hack authored Feb 3, 2022
2 parents edda19b + 66af762 commit 41c7c94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions container/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ case $1 in
[[ -n "${KARAPACE_REGISTRY_PORT+isset}" ]] && export KARAPACE_PORT="${KARAPACE_REGISTRY_PORT}"
[[ -n "${KARAPACE_REGISTRY_CLIENT_ID+isset}" ]] && export KARAPACE_CLIENT_ID="${KARAPACE_REGISTRY_CLIENT_ID}"
[[ -n "${KARAPACE_REGISTRY_GROUP_ID+isset}" ]] && export KARAPACE_GROUP_ID="${KARAPACE_REGISTRY_GROUP_ID}"
# Map misspelt environment variable to correct spelling for backwards compatibility.
[[ -n "${KARAPACE_REGISTRY_MASTER_ELIGIBITY+isset}" ]] && export KARAPACE_MASTER_ELIGIBILITY="${KARAPACE_REGISTRY_MASTER_ELIGIBITY}"
[[ -n "${KARAPACE_REGISTRY_MASTER_ELIGIBILITY+isset}" ]] && export KARAPACE_MASTER_ELIGIBILITY="${KARAPACE_REGISTRY_MASTER_ELIGIBILITY}"
[[ -n "${KARAPACE_REGISTRY_TOPIC_NAME+isset}" ]] && export KARAPACE_TOPIC_NAME="${KARAPACE_REGISTRY_TOPIC_NAME}"
[[ -n "${KARAPACE_REGISTRY_COMPATIBILITY+isset}" ]] && export KARAPACE_COMPATIBILITY="${KARAPACE_REGISTRY_COMPATIBILITY}"
Expand Down

0 comments on commit 41c7c94

Please sign in to comment.