hashgraph / hashgraph/solo-weaver

Add integration test asserting GVR group matches installed CRD

Open
#841 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3
Forks
0
Avg merge
3d 2h
Merged PRs (30d)
46

Description

**Epic:** hashgraph/solo-operator#1076

Add a test (or test helper) that queries the cluster for the `networkupgradeexecutes` CRD and asserts that the `Group` field in the hardcoded GVR constant matches the CRD's actual `.spec.group`. This prevents the API group from drifting again.

## Acceptance Criteria
- [ ] Test fails if GVR group does not match CRD spec group
- [ ] Test is gated on a real cluster being available (integration tag or `//go:build integration`)

Contributor guide

Open the contributing guide

Research direction

Locate the hardcoded GVR constant and the networkupgradeexecutes CRD references in the Go code, then identify the project's integration-test entry point. Run the test against a real cluster and verify it compares the constant's Group with the CRD's .spec.group; done means it is gated by an integration tag or //go:build integration and fails on a mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.