Commit 7c473cb5 authored by garciadeblas's avatar garciadeblas
Browse files

Escape comma character in gitea password generation



Change-Id: I772da78412076a6d557faa82ee014abd2a489fc3
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent 3f37a3f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
# limitations under the License.
# limitations under the License.
#######################################################################################
#######################################################################################


set -ex -o pipefail
set -e -o pipefail


# Warning!!!: Remember to select the desired kubeconfig profile before launching this script
# Warning!!!: Remember to select the desired kubeconfig profile before launching this script


+2 −2
Original line number Original line Diff line number Diff line
@@ -18,8 +18,8 @@
# Transitent file to be sourced to bootstrap some key variables
# Transitent file to be sourced to bootstrap some key variables


# Random passwords
# Random passwords
export GITEA_ADMINISTRATOR_PASSWORD=$(apg -a 1 -M sncl -n 1 -m 12 -x 12 -E \\\*\'\"\`\$\<\>\{\})
export GITEA_ADMINISTRATOR_PASSWORD=$(apg -a 1 -M sncl -n 1 -m 12 -x 12 -E \\\*\'\"\`\$\<\>\{\}\,)
export GITEA_STD_USER_PASS=$(apg -a 1 -M sncl -n 1 -m 10 -x 10 -E \\\*\'\"\`\$\<\>\{\})
export GITEA_STD_USER_PASS=$(apg -a 1 -M sncl -n 1 -m 10 -x 10 -E \\\*\'\"\`\$\<\>\{\}\,)


# Uncomment to deploy Gitea only as ClusterIP service (i.e., no LoadBalancer)
# Uncomment to deploy Gitea only as ClusterIP service (i.e., no LoadBalancer)
# export GITEA_CHART_VALUES_FILE=values-all.yaml
# export GITEA_CHART_VALUES_FILE=values-all.yaml
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
# limitations under the License.
# limitations under the License.
#######################################################################################
#######################################################################################


set -ex -o pipefail
set -e -o pipefail


export HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
export HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
source "${HERE}/library/functions.sh"
source "${HERE}/library/functions.sh"
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
# limitations under the License.
# limitations under the License.
#######################################################################################
#######################################################################################


set -ex -o pipefail
set -e -o pipefail


export HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
export HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
source "${HERE}/library/functions.sh"
source "${HERE}/library/functions.sh"
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
# limitations under the License.
# limitations under the License.
#######################################################################################
#######################################################################################


set -ex
set -e


HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")")
. "$HERE/../library/functions.sh"
. "$HERE/../library/functions.sh"
Loading