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

[Design] Introduce GCP Secrets for Gen AI services #1697

Conversation

Benvii
Copy link
Member

@Benvii Benvii commented Jul 22, 2024

Fixes #1695

@Benvii Benvii marked this pull request as ready for review July 30, 2024 14:13
Copy link
Contributor

@assouktim assouktim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes to take into account

docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved
docs/_en/dev/feature-technical-designs/1696-gcp-secrets.md Outdated Show resolved Hide resolved

### Breaking changes

* Default value of `tock_gen_ai_orchestrator_secret_storage_prefix_name` currently `/dev` shouldn't use slashes as it's not allow according to GCP Secret Names constraints. It will be changed to `dev` but it might break all running project that doesn't defined it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ‘break’ is not linked to the presence of the slash, as the prefix for GCP is also standardised. However, it is linked to the default value of the prefix, which has been changed to ‘LOCAL/TOCK’.

The following is a list of the changes made to the existing environment variables:
'tock_database_credentials_provider' replaced by 'tock_database_mongodb_secret_manager_provider'
'tock_iadvize_credentials_provider' replaced by 'tock_iadvize_secret_manager_provider'
'aws_iadvize_credentials_secret_id' replaced by 'tock_iadvize_credentials_secret_name'
'tock_gen_ai_orchestrator_secret_storage_type' replaced by 'tock_gen_ai_secret_manager_provider'
'tock_gen_ai_orchestrator_secret_storage_prefix_name' replaced by 'tock_gen_ai_secret_prefix'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added at the end for @AurelienSylvan to be renamed / updated in helm charts also.
@sacquatella those environment variables will have impact on the Helm Charts they are all specified in this design document that will be available on the EN version of tock website, I'll create on issue on https://github.com/theopenconversationkit/tock-helm-chart so that we don't forget it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@assouktim
Copy link
Contributor

The enrinomment variables are pretty much everywhere in the doc, it's possible that i've skipped the review of some of them. I suggest that you make a single reference (table) of these env variables, and add clonnes to specify the component that must load them.

@assouktim
Copy link
Contributor

@Benvii I've finished making the changes I wanted, you can check now.

Copy link
Member Author

@Benvii Benvii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me (I can't approve on my own PR).

@Benvii Benvii merged commit 8a080df into theopenconversationkit:master Sep 3, 2024
@Benvii Benvii deleted the 1695_design_gcp_secret_manager_gen_ai branch September 3, 2024 15:10
@vsct-jburet vsct-jburet added this to the 23.4.6 milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

[Design] Introduce GCP Secrets for Gen AI services
5 participants