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

Added manual helm set up steps for cognito in website #448

Merged
merged 2 commits into from
Sep 30, 2022
Merged
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
43 changes: 30 additions & 13 deletions website/content/en/docs/deployment/cognito/manifest/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,37 @@ From this point onwards, we will be creating/updating the DNS records **only in
export CognitoLogoutURL="https://$CognitoUserPoolDomain/logout?client_id=$CognitoAppClientId&logout_uri=$signOutURL"
```
1. Substitute values for setting up Ingress.
1. ```bash
printf '
CognitoUserPoolArn='$CognitoUserPoolArn'
CognitoAppClientId='$CognitoAppClientId'
CognitoUserPoolDomain='$CognitoUserPoolDomain'
certArn='$certArn'
' > awsconfigs/common/istio-ingress/overlays/cognito/params.env
```

{{< tabpane persistLang=false >}}
{{< tab header="Kustomize" lang="toml" >}}
printf '
CognitoUserPoolArn='$CognitoUserPoolArn'
CognitoAppClientId='$CognitoAppClientId'
CognitoUserPoolDomain='$CognitoUserPoolDomain'
certArn='$certArn'
' > awsconfigs/common/istio-ingress/overlays/cognito/params.env
{{< /tab >}}
{{< tab header="Helm" lang="yaml" >}}
yq e '.alb.certArn = env(certArn)' -i charts/common/ingress/cognito/values.yaml
yq e '.alb.cognito.UserPoolArn = env(CognitoUserPoolArn)' -i charts/common/ingress/cognito/values.yaml
yq e '.alb.cognito.UserPoolDomain = env(CognitoUserPoolDomain)' -i charts/common/ingress/cognito/values.yaml
yq e '.alb.cognito.appClientId = env(CognitoAppClientId)' -i charts/common/ingress/cognito/values.yaml
{{< /tab >}}
{{< /tabpane >}}


1. Substitute values for setting up AWS authservice.
1. ```bash
printf '
LOGOUT_URL='$CognitoLogoutURL'
' > awsconfigs/common/aws-authservice/base/params.env
```
{{< tabpane persistLang=false >}}
{{< tab header="Kustomize" lang="toml" >}}
printf '
LOGOUT_URL='$CognitoLogoutURL'
' > awsconfigs/common/aws-authservice/base/params.env
{{< /tab >}}
{{< tab header="Helm" lang="yaml" >}}
yq e '.LOGOUT_URL = env(CognitoLogoutURL)' -i charts/common/aws-authservice/values.yaml
{{< /tab >}}
{{< /tabpane >}}

1. Follow the [Configure Load Balancer Controller]({{< ref "/docs/add-ons/load-balancer/guide.md#configure-load-balancer-controller" >}}) section of the load balancer guide to setup the resources required the load balancer controller.

## 4.0 Building manifests and deploying Kubeflow
Expand Down