[feature request] Avoid environment variable based logic
Closed this issue · 4 comments
gaocegege commented
Now we have the logic as follows:
serviceurl := fmt.Sprintf("%s-kubefate-%s.%s:8080", PREFIX, kubefateCR.Name, kubefateCR.Namespace)
if os.Getenv("FATE_OPERATOR_TEST") == "true" {
serviceurl = kubefateCR.Spec.IngressDomain
}
It is hard to maintain. Prefer to have a CLI argument to implement it.
gaocegege commented
/kind feature
LaynePeng commented
/close
Close cuz fix on pr#18
k8s-ci-robot commented
@LaynePeng: Closing this issue.
In response to this:
/close
Close cuz fix on pr#18
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.