Skip to content

Commit

Permalink
Fix requested feature parsing error, bump to min genesis v2.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Dec 16, 2022
1 parent f9560ad commit 5522662
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions hooks/blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ dynamic::isolation::segments() {

dynamic::isolation::template::render "dns-sd" "$group"

want_feature nfs-volume-services && want_feature ocfp && \
dynamic::isolation::template::render "nfs-ldap-config" "$group"
if want_feature nfs-volume-services && want_feature ocfp
then dynamic::isolation::template::render "nfs-ldap-config" "$group"
fi
done
}

Expand Down Expand Up @@ -954,7 +955,7 @@ features::ocfp() {

manifests+=( "ocfp/scale/${env_scale}.yml" )

for want in "${GENESIS_REQUESTED_FEATURES[@]}"
for want in $GENESIS_REQUESTED_FEATURES
do
case "${want}" in
(stratos-integration)
Expand All @@ -978,7 +979,7 @@ features::ocfp() {
# Genesis Version Check
################################################################################
set -ue
genesis_min_version="2.8.5"
genesis_min_version="2.8.6"
genesis_version="$(genesis -v 2>&1 | awk '{gsub("v",""); print $2}')"
if ! [[ "${genesis_version}" =~ -dev$ ]] &&
! new_enough "${genesis_version}" "${genesis_min_version}"
Expand Down
2 changes: 1 addition & 1 deletion kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ required_configs:
- cloud
- runtime

genesis_version_min: 2.7.24
genesis_version_min: 2.8.6
secrets_store: credhub

0 comments on commit 5522662

Please sign in to comment.