-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validate if DNS Service IP is a .10 IP
- Removed `validateDNSServiceIP()` from the validators because the DNS Service IP validation was being done in `validateManagedClusterNetwork()`. - update `validateManagedClusterNetwork()` to validate if DNS Service IP is a .10 IP - update mockClient.Get to return clusterv1.Cluster with Service CIDR : `192.168.0.0/26` - update amcp_webhook_test with valid DNS Service IPs and mock client for webhook tests
- Loading branch information
Showing
3 changed files
with
180 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.