Skip to content

Conversation

siegfriedweber
Copy link
Member

@siegfriedweber siegfriedweber commented Aug 9, 2025

Description

The remaining TODOs are fixed or removed if not necessary anymore.

Definition of Done Checklist

Author

  • Changes are OpenShift compatible
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@siegfriedweber siegfriedweber self-assigned this Aug 9, 2025
@siegfriedweber siegfriedweber mentioned this pull request Aug 4, 2025
24 tasks
@@ -185,7 +185,6 @@ impl IsLabelValue for ValidatedCluster {
}
}

// TODO Remove boilerplate (like derive_more)
Copy link
Member Author

Choose a reason for hiding this comment

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

It is better to leave it as is instead of adding another crate just for this one case.

};

pub const CONFIGURATION_FILE_OPENSEARCH_YML: &str = "opensearch.yml";

// TODO Document how to enter config_overrides of various types, e.g. string, list, boolean,
Copy link
Member Author

Choose a reason for hiding this comment

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

done in #14

@@ -49,8 +49,6 @@ impl<'a> RoleBuilder<'a> {
}
}

// TODO Only one builder function which calls the other ones?
Copy link
Member Author

Choose a reason for hiding this comment

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

It is okay as it is.

DISABLE_INSTALL_DEMO_CONFIG: "true"
OPENSEARCH_HOME: {{ test_scenario['values']['opensearch_home'] }}
configOverrides:
# TODO Add the required options to the operator
Copy link
Member Author

Choose a reason for hiding this comment

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

There are follow-up tickets. No need for these TODOs in the code.

opensearch.yml:
# Disable memory mapping in this test; If memory mapping were activated, the kernel setting
# vm.max_map_count would have to be increased to 262144 on the node.
node.store.allow_mmap: "false"
# TODO Check that this is safe despite the warning in the documentation
Copy link
Member Author

Choose a reason for hiding this comment

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

It is safe if the demo configuration is replaced with podOverrides. To be on the safe side, I removed the demo configuration in stackabletech/docker-images#1228.

@@ -1,7 +1,6 @@
# All fields are checked that are set by the operator.
# This helps to detect unintentional changes.
# The maintenance effort should be okay as long as it is only done in the smoke test.
# TODO Check individual field in unit tests
Copy link
Member Author

Choose a reason for hiding this comment

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

There is a follow-up task in #2.

@siegfriedweber siegfriedweber marked this pull request as ready for review August 29, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant