NOTE! This project is archived due to lack of activity; you can still consume this software, although not advised, as it's not been maintained since November 2021. If you're interested to restore activity on this repository, please email [email protected]
This intergration is a helm chart to deploy Legend Studio to Kubernetes.
Kubernetes CNCF Cluster <=1.16 (K3s/RKE/RKE2):
- Clone Helm Chart Repo
git clone --depth 1 https://github.com/finos/legend-integration-helm.git
- Gitlab OAuth config setup
If you don't already have a Gitlab OAuth application, first, navigate to User Settings > Applications
and create an application with the following parameters:
- Name: Legend Demo
- Redirect URI:
http://{HOST IP}.sslip.io/callback
http://{HOST IP}.sslip.io/api/auth/callback
http://{HOST IP}.sslip.io/api/pac4j/login/callback
http://{HOST IP}.sslip.io/studio/log.in/callback
- Enable the "Confidential" check box
- Enable these scopes: openid, profile, api
- Finally, "Save Application"
- Install helm chart
helm install legend ./legend/installers/helm/ --set env.LEGEND_HOST="{HOST IP}.sslip.io" \
--set env.GITLAB_OAUTH_CLIENT_ID="" \
--set env.GITLAB_OAUTH_SECRET="" \
--namespace legend \
--create-namespace
- Check pods are in running/ready state
kubectl get pods -n legend
- Browse to http://{HOST IP}.sslip.io/studio
Same steps as 2. but with https callback url:
- Redirect URI:
https://{DNS Hostname}/callback
https://{DNS Hostname}/api/auth/callback
https://{DNS Hostname}/api/pac4j/login/callback
https://{DNS Hostname}/studio/log.in/callback
Create Ingress TLS Secret
kubectl create secret tls tls-legend --cert=fullchain.pem --key=key.pem
Install helm chart
helm install legend ./legend/installers/helm/ --set env.LEGEND_HOST="{DNS Hostname}" \
--set env.GITLAB_OAUTH_CLIENT_ID="" \
--set env.GITLAB_OAUTH_SECRET="" \
--set env.HTTP_MODE="https" \
--set env.TLS_SECRET="tls-legend" \
--namespace legend \
--create-namespace
Browse to https://{DNS Hostname}/studio
To learn about contributing to Legend, see the CONTRIBUTING.md file or the "contribute to Legend" section of the Legend documentation site.
Copyright 2021 Suse
Distributed under the Apache License, Version 2.0.
SPDX-License-Identifier: Apache-2.0