Skip to content
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

Make Ingress creation optional #90

Merged
merged 2 commits into from
Aug 27, 2019
Merged

Make Ingress creation optional #90

merged 2 commits into from
Aug 27, 2019

Conversation

anandswaminathan
Copy link
Contributor

@anandswaminathan anandswaminathan commented Aug 26, 2019

This PR prevents creation of Ingress if the ingressUrlFormat is not set. I went back and forth multiple times whether to have a separate boolean for this use case. Chose this, as it was consistent with Spark operator - https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/pkg/controller/sparkapplication/controller.go#L681

Related issues: #6, #66

@glaksh100 Also this sets statusUrls to empty string if ingress is not available.

@anandswaminathan
Copy link
Contributor Author

cc @functicons @soumyasmruti

glaksh100
glaksh100 previously approved these changes Aug 27, 2019
Copy link

@functicons functicons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also update the doc to mention it is now optional?

Copy link

@functicons functicons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anandswaminathan anandswaminathan merged commit e648d9c into master Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants