Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIx fusion auth stack #533

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions stacks/fusionauth/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ set -e
################################################################################
STACK="fusionauth"
CHART="fusionauth/fusionauth"
CHART_VERSION="0.12.1"
CHART_VERSION="1.0.8"
NAMESPACE="fusionauth"


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

if [ -z "${MP_KUBERNETES}" ]; then
# use local version of values.yml
Expand All @@ -35,12 +34,10 @@ helm repo add stable https://charts.helm.sh/stable
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add fusionauth https://fusionauth.github.io/charts
helm repo update > /dev/null

# Install PostgresSQL and Elasticsearch
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
helm install --atomic search bitnami/elasticsearch --namespace "$NAMESPACE" -f "$SEARCH_VALUES"


helm upgrade "$STACK" "$CHART" \
--atomic \
--install \
Expand Down
13 changes: 12 additions & 1 deletion stacks/fusionauth/search-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,18 @@ volumeClaimTemplate:

master:
replicaCount: 3
extraRoles: "master,data,data_content,data_hot,data_warm,data_cold,data_frozen,ingest,ml,remote_cluster_client,transform"
extraRoles:
- "master"
- "data"
- "data_content"
- "data_hot"
- "data_warm"
- "data_cold"
- "data_frozen"
- "ingest"
- "ml"
- "remote_cluster_client"
- "transform"
ingest:
replicaCount: 0
coordinating:
Expand Down
Loading