feat(kfp-profile-controller): add s3-credentials relation to relate with s3-integrator#958
Merged
Conversation
Add the `s3` interface (via an `s3-credentials` relation) so kfp-profile-controller can use an s3-integrator as an alternative to the in-cluster MinIO (`object-storage`) backend. A RelationCountGateComponent enforces that exactly one of the two relations is related at a time. The s3 endpoint is parsed into the MINIO_* host, port and SSL flag, and the sync hook now derives SSL/region and omits the `.namespace` suffix when using s3 (which has no namespace concept). Integration tests are split into object-storage and s3 suites, wired up through a new `integration-s3` tox env and CI matrix entry.
Contributor
🤖 Backport labels populatedLabels to this pull request were added automatically by the When the PR is merged, backport PRs according to the labels will be automatically created. To skip the backport creation, remove any unneeded labels before merging the PR. |
…tegration-object-storage env
…ontroller # Conflicts: # .github/workflows/ci.yaml # tox.ini
NohaIhab
requested changes
Jun 26, 2026
MattiaSarti
approved these changes
Jun 26, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)
charms/kfp-profile-controller/tests/integration/test_charm_object_storage.py:487
Application.remove_relation()expects fully-qualified relation endpoints (e.g.,app:endpoint). Passing just "object-storage" is inconsistent with the earlier call in this file and is likely to error at runtime. Use the explicit app endpoint for the charm side.
MattiaSarti
approved these changes
Jun 30, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Manos Vlassis <57320708+mvlassis@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Manos Vlassis <57320708+mvlassis@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Manos Vlassis <57320708+mvlassis@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Manos Vlassis <57320708+mvlassis@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Manos Vlassis <57320708+mvlassis@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Manos Vlassis <57320708+mvlassis@users.noreply.github.com>
NohaIhab
reviewed
Jul 1, 2026
NohaIhab
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
s3interface support (via ans3-credentialsrelation) to kfp-profile-controller, letting it use an s3-integrator as an alternative to the in-cluster MinIO (object-storage) backend.RelationCountGateComponentconflict gate enforces that exactly one ofobject-storageors3-credentialsis related at a time (relating both, or neither, blocks the charm).MINIO_*arguments passed into thesync.pyworkload containerNotes
tox.inichange is identical across the three split PRs (conflict-free); theci.yamlmatrix enablesintegration-s3only for kfp-profile-controller here, so merging the companion PRs will require a small exclude-list merge.Closes #966