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

Add/update seldon-init-container-secret for seldon #26

Closed
ca-scribner opened this issue Mar 1, 2022 · 0 comments · Fixed by #27
Closed

Add/update seldon-init-container-secret for seldon #26

ca-scribner opened this issue Mar 1, 2022 · 0 comments · Fixed by #27
Labels
enhancement New feature or request

Comments

@ca-scribner
Copy link
Contributor

ca-scribner commented Mar 1, 2022

Discussed in more detail here

The seldon-init-container-secret can be used by SeldonDeployments to provide credentials for pulling models out of s3 storage. This secret was previously implemented in the mlflow charm as a convenience to make using seldon deployments easier, but the naming convention of the secrets did not match the current seldon init-containers expectations and it had been removed in #22.

Proposed here is that we add the seldon-init-container-secret back in with updated formatting to match Seldon's expectations (see seldondocs or this issue for details). Naming may be changed to assure uniqueness and reduce confusion (seldon-init-container-secret implies it might have been created by seldon, not for seldon)

@ca-scribner ca-scribner added the enhancement New feature or request label Mar 1, 2022
ca-scribner added a commit that referenced this issue Mar 2, 2022
Fixes #26.  Charm creates a secret with mlflow's s3 credentials called  `{charm_name}-seldon-init-container-s3-credentials`.  This secret is formatted as needed for a [Seldon Deployment Init Container](https://docs.seldon.io/projects/seldon-core/en/latest/servers/kfserving-storage-initializer.html#create-a-secret-containing-the-environment-variables).

Also:
* adds tests for the new secret
* refactors some secret creation to make the main function of the charm read easier
* removes an unused dependency from requirements.txt
ca-scribner added a commit that referenced this issue Mar 18, 2022
Fixes #26.  Charm creates a secret with mlflow's s3 credentials called  `{charm_name}-seldon-init-container-s3-credentials`.  This secret is formatted as needed for a [Seldon Deployment Init Container](https://docs.seldon.io/projects/seldon-core/en/latest/servers/kfserving-storage-initializer.html#create-a-secret-containing-the-environment-variables).

Also:
* adds tests for the new secret
* refactors some secret creation to make the main function of the charm read easier
* removes an unused dependency from requirements.txt
ca-scribner added a commit that referenced this issue Mar 18, 2022
Fixes #26.  Charm creates a secret with mlflow's s3 credentials called  `{charm_name}-seldon-init-container-s3-credentials`.  This secret is formatted as needed for a [Seldon Deployment Init Container](https://docs.seldon.io/projects/seldon-core/en/latest/servers/kfserving-storage-initializer.html#create-a-secret-containing-the-environment-variables).

Also:
* adds tests for the new secret
* refactors some secret creation to make the main function of the charm read easier
* removes an unused dependency from requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant