Skip to content

Fix OperatorGroup templating#262

Merged
TehreemNisa merged 1 commit intomainfrom
og-fix
Jan 29, 2026
Merged

Fix OperatorGroup templating#262
TehreemNisa merged 1 commit intomainfrom
og-fix

Conversation

@KhizerJaan
Copy link
Contributor

@KhizerJaan KhizerJaan commented Jan 29, 2026

Fix empty OperatorGroup spec rendering

When targetOwnNamespace is false and otherTargetNamespaces is empty, the OperatorGroup template was rendering spec: without any fields. This is invalid YAML and causes issues. Updated the template to explicitly render spec: {} when no spec fields are present, ensuring valid Kubernetes manifests are generated.

@KhizerJaan KhizerJaan requested a review from a team as a code owner January 29, 2026 13:14
@TehreemNisa TehreemNisa merged commit 26e9bee into main Jan 29, 2026
6 checks passed
@TehreemNisa TehreemNisa deleted the og-fix branch January 29, 2026 13:17
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.

2 participants