Skip to content
Open
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
4 changes: 2 additions & 2 deletions installer/cluster.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ root:
- orch-configs/profiles/enable-platform.yaml
- orch-configs/profiles/enable-o11y.yaml
- orch-configs/profiles/enable-kyverno.yaml
- orch-configs/profiles/enable-app-orch.yaml
- orch-configs/profiles/enable-cluster-orch.yaml
${AO_PROFILE}
${CO_PROFILE}
- orch-configs/profiles/enable-edgeinfra.yaml
- orch-configs/profiles/enable-full-ui.yaml
- orch-configs/profiles/enable-aws.yaml
Expand Down
15 changes: 15 additions & 0 deletions installer/configure-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,21 @@ if [ -z $ARGOCD_TG_ARN ]; then
fi


# AO_PROFILE disabled check
if [ "${DISABLE_CO_PROFILE:-false}" = "true" ] || [ "${DISABLE_AO_PROFILE:-false}" = "true" ]; then
export AO_PROFILE="#- orch-configs/profiles/enable-app-orch.yaml"
else
export AO_PROFILE="- orch-configs/profiles/enable-app-orch.yaml"
fi

# CO_PROFILE disabled check
if [ "${DISABLE_CO_PROFILE:-false}" = "true" ]; then
export CO_PROFILE="#- orch-configs/profiles/enable-cluster-orch.yaml"
export AO_PROFILE="#- orch-configs/profiles/enable-app-orch.yaml"
else
export CO_PROFILE="- orch-configs/profiles/enable-cluster-orch.yaml"
fi

if [ -n "$SRE_BASIC_AUTH_USERNAME" ] || [ -n "$SRE_BASIC_AUTH_PASSWORD" ] || [ -n "$SRE_DESTINATION_SECRET_URL" ] || [ -n "$SRE_DESTINATION_CA_SECRET" ]; then
export SRE_PROFILE="- orch-configs/profiles/enable-sre.yaml"
else
Expand Down
Loading