update clutert and project cr, store cluster domain suffix. it can be used when setting the ingress domain
Ⅰ. Describe what this PR does
when set ingress domain, you can chose the suffix which the admin havn sets in cluster or project
Ⅱ. Does this pull request fix one issue?
no
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
pkg/ctrlmgr/webhooks/cluster/cluster_validator_test.go:35
pkg/ctrlmgr/webhooks/cluster/cluster_validator_test.go:69
pkg/ctrlmgr/webhooks/project/project_validator_test.go:63
pkg/ctrlmgr/webhooks/project/project_validator_test.go:113
Ⅳ. Describe how to verify it
run test cases
Ⅴ. Special notes for reviews
update clutert and project cr, store cluster domain suffix. it can be used when setting the ingress domain
Ⅰ. Describe what this PR does when set ingress domain, you can chose the suffix which the admin havn sets in cluster or project Ⅱ. Does this pull request fix one issue? no Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed. pkg/ctrlmgr/webhooks/cluster/cluster_validator_test.go:35 pkg/ctrlmgr/webhooks/cluster/cluster_validator_test.go:69 pkg/ctrlmgr/webhooks/project/project_validator_test.go:63 pkg/ctrlmgr/webhooks/project/project_validator_test.go:113 Ⅳ. Describe how to verify it run test cases Ⅴ. Special notes for reviews