Remove migration code not needed anymore since 26.11
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start with crates/stackable-operator/src/commons/random_secret_creation.rs and inspect create_random_secret_if_not_exists, especially the immutable Secret branch and its TODO. Remove the migration-only behavior and related code for the 27.3 release; the issue also suggests logging a warning when an immutable Secret indicates the upgrade was skipped. Done when the obsolete migration path and TODO are removed, with the warning decision handled.
Written by the indexing model from the issue text.
Description
create_random_secret_if_not_exists (crates/stackable-operator/src/commons/random_secret_creation.rs) migrates random Secrets that SDP up to 26.3.0 created as immutable (https://github.com/stackabletech/issues/843). It deletes the immutable Secret and then re-creates it as mutable from the copy in memory.
This code is not needed anymore for 26.11 and later but we forgot to remove it. In 27.3 this can be removed.
Scope:
- Remove the
immutable: Some(true)branch and whatever else is only there for that including the TODO comment - And/or: Add a log warning for an immutable secret saying that the upgrade seems to have been skipped.
- Dominant language
- Rust
- Stars
- 170
- Forks
- 20
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 17
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stackabletech/operator-rs
-
scheduled-for/27.3.0
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
stackabletech/operator-rs#1330 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
stackabletech/operator-rs#1273 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
stackabletech/operator-rs#1317 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
stackabletech/operator-rs#1316 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
stackabletech/operator-rs#1077 ·
Maintainers usually reply within 1 day
All issues in stackabletech/operator-rs
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
zellij-org/zellij#5929 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
swc-project/swc-next-issues#396 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
nautechsystems/nautilus_trader#5685 ·
Maintainers usually reply within 1 day
-
bug db/postgres user-priority/P1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day