kubeflow/fate-operator

[feature request] Avoid environment variable based logic

Closed this issue · 4 comments

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.

/kind feature

@owlet42 please have a look into it.

/close
Close cuz fix on pr#18

@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.