jolly-florist-66728
10/01/2024, 4:41 PMflytectl with authentication, you need to update the config.yaml file with the correct endpoint and authentication details. Here is a basic example:
1. Update config.yaml:
- Ensure the endpoint is correctly set to your Flyte ingress URL.
- Set the authType to either Pkce or ClientSecret.
- Provide the clientId and clientSecretLocation if using ClientSecret.
Example `config.yaml`:
admin:
endpoint: dns:///<Flyte ingress url>
authType: Pkce
clientId: <Id>
clientSecretLocation: </some/path/to/key>
2. Environment Variables:
- Set necessary environment variables for OAuth2 service authentication.
Example:
export FLYTE_CREDENTIALS_CLIENT_ID=<client_id>
export FLYTE_CREDENTIALS_CLIENT_SECRET=<client_secret>
export FLYTE_CREDENTIALS_AUTH_MODE=basic
export FLYTE_PLATFORM_AUTH=True
For more detailed steps, refer to the Flytectl Authentication Setup.
Would you like more detailed guidance on any specific part of this setup?
Sources:
- Flytectl Authentication Setup
- Flytectl Configuration
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1727800869.494379 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.