Skip to content

Commit

Permalink
fix certificate indentation (kubernetes-sigs#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsen- authored and pierreprinetti committed Apr 22, 2024
1 parent ddd93fa commit 1084132
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,11 @@ OPENSTACK_CLOUD_PROVIDER_CONF10=$(echo "${OPENSTACK_CLOUD_PROVIDER_CONF}" | sed

if [[ "$CACERT_ORIGINAL" != "null" ]]; then
export OPENSTACK_CLOUD_CACERT_CONFIG6
OPENSTACK_CLOUD_CACERT_CONFIG6=$(cat "$CACERT_ORIGINAL" | sed -e 's/^/ /')
OPENSTACK_CLOUD_CACERT_CONFIG6="$(cat "$CACERT_ORIGINAL" | head -1)
$(cat "$CACERT_ORIGINAL" | tail -n +2 | sed -e 's/^/ /')"
export OPENSTACK_CLOUD_CACERT_CONFIG10
OPENSTACK_CLOUD_CACERT_CONFIG10=$(cat "$CACERT_ORIGINAL" | sed -e 's/^/ /')
OPENSTACK_CLOUD_CACERT_CONFIG10="$(cat "$CACERT_ORIGINAL" | head -1)
$(cat "$CACERT_ORIGINAL" | tail -n +2 | sed -e 's/^/ /')"
fi

echo "${OPENSTACK_CLOUD_CONFIG_SELECTED_CLOUD}" > ${CLOUDS_SECRETS_CONFIG_DIR}/clouds.yaml
Expand Down

0 comments on commit 1084132

Please sign in to comment.