[COMMON] Fix array variables increments 23/122123/4
authorGuillaume Lambert <guillaume.lambert@orange.com>
Wed, 23 Jun 2021 09:35:35 +0000 (11:35 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 24 Jun 2021 19:28:37 +0000 (19:28 +0000)
commit3091ed446f8608e096462b8878333aab4bd27864
treeec1ac73f60763c7288af44c57938bc10f51cc3c8
parentd9017efa3a08ee06d54654fde87384fc4819b03b
[COMMON] Fix array variables increments

pointed out by checkbashisms in docker-entrypoint.sh

- migrate to straight strings the arrays used to pass options
Arrays are supported in bash but are not POSIX compliant.

- remove useless double quotes in variables used to pass options
Double quotes are often used to avoid globbing and word splitting.
Since possibles values are strictly constrained here, they are not
required.
https://github.com/koalaman/shellcheck/wiki/Sc2086

Issue-ID: OOM-2643
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I4f75d8b5a00afb87b5982cb31559f29c8863c8a5
kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh