Skip to content

Commit 4428df7

Browse files
alexeigutiumGutium Alexei
and
Gutium Alexei
authored
FIx fusion auth stack (#533)
* FIx fusion auth stack * remove debug logs --------- Co-authored-by: Gutium Alexei <[email protected]>
1 parent b7f9a3c commit 4428df7

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

stacks/fusionauth/deploy.sh

+3-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ set -e
1212
################################################################################
1313
STACK="fusionauth"
1414
CHART="fusionauth/fusionauth"
15-
CHART_VERSION="0.12.1"
15+
CHART_VERSION="1.0.8"
1616
NAMESPACE="fusionauth"
1717

18-
19-
DB_POSTGRES_USER_PASSWORD=`cat /dev/urandom | tr -dc '[:alnum:]' | head -c 42`
20-
DB_FUSIONAUTH_USER_PASSWORD=`cat /dev/urandom | tr -dc '[:alnum:]' | head -c 42`
18+
DB_POSTGRES_USER_PASSWORD=`LC_CTYPE=C LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c 42`
19+
DB_FUSIONAUTH_USER_PASSWORD=`LC_CTYPE=C LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c 42`
2120

2221
if [ -z "${MP_KUBERNETES}" ]; then
2322
# use local version of values.yml
@@ -35,12 +34,10 @@ helm repo add stable https://charts.helm.sh/stable
3534
helm repo add bitnami https://charts.bitnami.com/bitnami
3635
helm repo add fusionauth https://fusionauth.github.io/charts
3736
helm repo update > /dev/null
38-
3937
# Install PostgresSQL and Elasticsearch
4038
helm install --atomic db bitnami/postgresql --create-namespace --namespace "$NAMESPACE" --set auth.enablePostgresUser=true --set auth.postgresPassword="$DB_POSTGRES_USER_PASSWORD" --set image.tag=14.9.0-debian-11-r2
4139
helm install --atomic search bitnami/elasticsearch --namespace "$NAMESPACE" -f "$SEARCH_VALUES"
4240

43-
4441
helm upgrade "$STACK" "$CHART" \
4542
--atomic \
4643
--install \

stacks/fusionauth/search-values.yaml

+12-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,18 @@ volumeClaimTemplate:
2424

2525
master:
2626
replicaCount: 3
27-
extraRoles: "master,data,data_content,data_hot,data_warm,data_cold,data_frozen,ingest,ml,remote_cluster_client,transform"
27+
extraRoles:
28+
- "master"
29+
- "data"
30+
- "data_content"
31+
- "data_hot"
32+
- "data_warm"
33+
- "data_cold"
34+
- "data_frozen"
35+
- "ingest"
36+
- "ml"
37+
- "remote_cluster_client"
38+
- "transform"
2839
ingest:
2940
replicaCount: 0
3041
coordinating:

0 commit comments

Comments
 (0)