Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cluster agent customization validation tests #41397

Conversation

a-blender
Copy link
Contributor

@a-blender a-blender commented May 3, 2023

Issue:

#41035

Problem

Solution

Test design (in progress)

  • Add framework/extensions/agent/agentcustomization.go with AgentDeploymentCustomization test struct
  • Add structs to config.go for cluster and fleet agent
  • Write config yaml for cluster agent
  • Add test for cluster agent (the move here is to add to existing provisioning v2 tests with single setup for rke1 and rke2. custom cluster? eks?)

Testing

Engineering Testing

Manual Testing

Automated Testing

Run the following to run my added tests

export CATTLE_TEST_CONFIG=./agent-customization-test.yaml
go test

QA Testing Considerations

Regressions Considerations

@a-blender a-blender added this to the 2023-Q2-v2.7x milestone May 3, 2023
@a-blender a-blender force-pushed the cluster-agent-validation-tests branch from 42013e2 to 42ca787 Compare May 3, 2023 22:56
@a-blender
Copy link
Contributor Author

Duplicate validation test PR, not needed. Unit tests were written by dev

@a-blender a-blender closed this May 17, 2023
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.

None yet

1 participant