feat(track/2): Smooth cross-track upgrades#304
Open
MichaelThamm wants to merge 7 commits intotrack/2from
Open
Conversation
This was referenced Apr 24, 2026
This was referenced Apr 24, 2026
MichaelThamm
commented
Apr 27, 2026
|
|
||
| module "grafana" { | ||
| source = "git::https://github.com/canonical/grafana-k8s-operator//terraform?ref=track/2" | ||
| source = "git::https://github.com/canonical/grafana-k8s-operator//terraform?ref=test/lifecycle-input-track-2" |
Contributor
Author
There was a problem hiding this comment.
Suggested change
| source = "git::https://github.com/canonical/grafana-k8s-operator//terraform?ref=test/lifecycle-input-track-2" | |
| source = "git::https://github.com/canonical/grafana-k8s-operator//terraform?ref=track/2" |
Contributor
Author
There was a problem hiding this comment.
Make sure to test the full demo again before reverting this and then merge.
MichaelThamm
commented
Apr 27, 2026
sinapah
approved these changes
Apr 27, 2026
Abuelodelanada
approved these changes
Apr 27, 2026
sed-i
approved these changes
Apr 27, 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.
Blocked by:
Workaround for:
Blocks:
Relates to:
Issue
We want a smooth UX for users upgrading across tracks for our product modules: COS and COS Lite. Ideally, a user should be able to take their track/2 state and plan an upgrade to track/3.0 without any manual intervention.
Solution
juju_charmdatasource to provide the latest revisions for a charm in a specific track.lifecycle {replace_triggered_by = [terraform_data.grafana_ingress_interface]}to replace thejuju_integrationin the event that the interface changes.Checklist
Context
In the future charms will have unique tracks which the products needs to map to:
Testing Instructions
All testing will be conducted in:
The general idea is to:
2/stabledev/edgeterraform init -upgrade; terraform applyDocumentation
Documentation will be addressed in: