nutanix-cloud-native / nutanix-cloud-native/cluster-api-runtime-extensions-nutanix

Add integration tests

Open
#475 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
17
Forks
12
Avg merge
1d 10h
Merged PRs (30d)
10

Description

Add integration tests with envtest (or similar) to test meta handler patches.

The goal is to pass is some input that resembles user provided input, possibly a Cluster object with different variables set, and get output of different CAPI objects with the patches applied to them.

Some possible use-cases to test:

  • Creating a global image registry mirror
  • Air-gapped AWS cluster with unmanaged infra
  • FIPS configuration

In order to support this, envtest must run this webhook, the regular CAPI webhook, and any related topology reconcilers.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the envtest setup and how this webhook, the regular CAPI webhook, and related topology reconcilers can run together. Define integration cases for a Cluster-like input, including a global image registry mirror, an air-gapped AWS cluster with unmanaged infrastructure, and FIPS configuration. Done means the resulting CAPI objects contain the expected patches for these cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
backend, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.