Skip to content

Conversation

@mikolajkucinski
Copy link
Contributor

@mikolajkucinski mikolajkucinski commented Aug 21, 2025

Description

  • Rename AvailablePlugins field to TotalPlugins for better clarity
  • Add AllPluginsReadyCondition to track when all managed plugins are ready

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Tickets & Documents

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help
  • Separate ticket for tests # (issue/pr)

Added to documentation?

  • 📜 README.md
  • 🤝 Documentation pages updated
  • 🙅 no documentation needed
  • (if applicable) generated OpenAPI docs for CRD changes

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@mikolajkucinski mikolajkucinski changed the title feat(pluginpreset): rename AvailablePlugins to TotalPlugins and add AllPluginsReadyCondition feat(pluginpresets): rename AvailablePlugins to TotalPlugins and add AllPluginsReadyCondition Aug 21, 2025
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Aug 21, 2025
@mikolajkucinski mikolajkucinski force-pushed the feat/plugin-preset-status-improvements branch from e55e79b to 8827620 Compare August 22, 2025 08:12
@mikolajkucinski mikolajkucinski marked this pull request as ready for review August 22, 2025 09:37
@mikolajkucinski mikolajkucinski requested a review from a team as a code owner August 22, 2025 09:37
Copy link
Contributor

@IvoGoman IvoGoman left a comment

Choose a reason for hiding this comment

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

With the new condition AllPluginsReady there should an additional check here to set the overall ready to false if the condition is false.

@mikolajkucinski
Copy link
Contributor Author

With the new condition AllPluginsReady there should an additional check here to set the overall ready to false if the condition is false.

Thanks for spotting that.
I also fixed #1169 in the meantime by removing PluginSkippedCondition from computeReadyCondition :)

IvoGoman
IvoGoman previously approved these changes Aug 25, 2025
mikolajkucinski and others added 4 commits August 25, 2025 11:18
- Rename AvailablePlugins field to TotalPlugins for better clarity
- Add AllPluginsReadyCondition to track when all managed plugins are ready

On-behalf-of: @SAP [email protected]
- consider AllPluginsReadyCondition while computing Ready status
- don't consider PluginSkippedCondition while computing Ready status as
it might provide misleading result

On-behalf-of: @SAP [email protected]
@mikolajkucinski mikolajkucinski force-pushed the feat/plugin-preset-status-improvements branch from efb8f56 to 06c6945 Compare August 25, 2025 09:18
@mikolajkucinski mikolajkucinski merged commit 5047efe into main Aug 25, 2025
30 checks passed
@mikolajkucinski mikolajkucinski deleted the feat/plugin-preset-status-improvements branch August 25, 2025 11:17
IvoGoman pushed a commit that referenced this pull request Aug 25, 2025
…AllPluginsReadyCondition (#1366)

* rename AvailablePlugins to TotalPlugins and add AllPluginsReadyCondition

- Rename AvailablePlugins field to TotalPlugins for better clarity
- Add AllPluginsReadyCondition to track when all managed plugins are ready

On-behalf-of: @SAP [email protected]

* Automatic generation of CRD API Docs

* address review comment

- consider AllPluginsReadyCondition while computing Ready status
- don't consider PluginSkippedCondition while computing Ready status as
it might provide misleading result

On-behalf-of: @SAP [email protected]

* use different condition message

On-behalf-of: @SAP [email protected]

* fix linters

On-behalf-of: @SAP [email protected]

---------

Co-authored-by: cloud-operator-bot[bot] <224791424+cloud-operator-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-apis documentation Improvements or additions to documentation feature helm-charts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] - Refactor aggregated Status in PluginPreset 🐛 [BUG] - PluginPreset is not ready when skipping plugins

3 participants