-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feat/ipv6only #212
base: main
Are you sure you want to change the base?
Feat/ipv6only #212
Conversation
087a40d
to
0d63796
Compare
008f906
to
9c71ec7
Compare
@@ -120,3 +120,4 @@ pre-commit: | |||
@go vet ./... | |||
@golangci-lint run --tests ./... | |||
@shellcheck modules/airgap/setup/*.sh | |||
@shellcheck modules/ipv6only/scripts/*.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we create a make shell check
? just to not start getting bigger and bigger this one
shared/airgap.go
Outdated
// DisplayAirgapClusterDetails executes and prints kubectl get nodes,pods on bastion. | ||
func DisplayAirgapClusterDetails(cluster *Cluster) { | ||
// LogClusterDetailsViaProxy executes and prints kubectl get nodes,pods on bastion. | ||
func LogClusterDetailsViaProxy(cluster *Cluster) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we name more accurately , idk something like LogClusterDetailsFromBastion
?
although it behaves like a proxy , but i think can bring confusion
func TestIPv6Only(cluster *shared.Cluster, awsClient *aws.Client) { | ||
shared.LogLevel("info", "Setting up %s cluster on ipv6 only nodes...", cluster.Config.Product) | ||
err := support.ConfigureIPv6OnlyNodes(cluster, awsClient) | ||
Expect(err).NotTo(HaveOccurred(), err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add a break line here? after your expect >?
pkg/testcase/pod.go
Outdated
// TestAirgapClusterPodStatus test the status of the pods in the private cluster using custom assert functions. | ||
func TestAirgapClusterPodStatus( | ||
// TestPodStatusViaProxy test the status of the pods in the private cluster using custom assert functions. | ||
func TestPodStatusViaProxy( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment from Log via proxy
pkg/testcase/node.go
Outdated
// TestAirgapClusterNodeStatus test the status of the nodes in the private cluster using 2 custom assert functions. | ||
func TestAirgapClusterNodeStatus( | ||
// TestNodeStatusViaProxy test the status of the nodes in the private cluster using 2 custom assert functions. | ||
func TestNodeStatusViaProxy( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment from Log via proxy
28c9ee1
to
15b4391
Compare
15b4391
to
ceae05d
Compare
Proposed Changes
Types of Changes
Testing
Checklist:
If your PR changes anything on or related to Jenkins, run it pointing to your branch to make sure it's okay.
Verify code lint; we should not have errors.
Update the documentation if needed.
Update makefile and docker run if adding new tests.
Run your tests at least 4 times with all configurations needed and possible.
If needed test with different os types.
Linked Issues
Further Comments