-
Notifications
You must be signed in to change notification settings - Fork 759
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
Add option to not expose Harbor. #1073
Conversation
Hi @Vad1mo Thanks for the PR but seems you can just set the |
@reasonerjt I tried to set ingress to helm template --set "expose.type=none" . > test-none.yaml
Error: execution error at (harbor/templates/nginx/secret.yaml:3:12): The "expose.tls.auto.commonName" is required! After looking into the templates, it would have meant to do some more rewriting to make it work with |
hi @Vad1mo , because the error is caused by |
Having this switch explicitly in the Harbor Helm Chart has a few advantages over implicit workarounds:
Apart from implicit vs. explicit, this feature has a few advantages: |
Signed-off-by: Vadim Bauer <[email protected]>
Can I get your attention @reasonerjt @ninjadq on this PR? especially after my comment explaining the reason for the explicitly? ☝️ |
I share the use case above. For my project I don't want to use nginx as a proxy. The chart as it is either creates a nginx object, or trys to deploy nginx. I am using Contour with a HTTPProxy object for my front end proxy. The Harbor application architecture defines a proxy layer, so we should have the option to disable this in the chart to 'bring your own proxy' |
Signed-off-by: Raul Garcia Sanchez <[email protected]>
closed in favor #1687 |
This contribution allows users to not expose Harbor so that they use their preferred way of exposing Harbor, that should be outside the scope of this Helm Chart.
The main reasons someone would not expose Harbor is because they are planning to expose Harbor in a way not supported by this Helm Chart:
Examples:
Those two examples that have been requested frequently by the community.
This contribution would allow users to define whatever way they want to expose Harbor.
Closes #1132, #1006, #914, #295, #1672