-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
helm/web-deployment: add env vars for log level of autotrace_webhook #75
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ spec: | |
targetPort: 8080 | ||
selector: | ||
service: web | ||
{{ if .Values.nodeport }} | ||
{{ if .Values.web.nodeport }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No change required if this is numeric. |
||
type: NodePort | ||
{{ else }} | ||
type: LoadBalancer | ||
|
@@ -26,4 +26,4 @@ spec: | |
to: | ||
kind: Service | ||
name: web | ||
{{end}} | ||
{{end}} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -22,8 +22,12 @@ eum: | |||||
psp: | ||||||
enabled: false | ||||||
|
||||||
# For the mini ones minikube, minishift set to true | ||||||
nodeport: false | ||||||
|
||||||
web: | ||||||
# autotrace-webhook binaries to log in debug level | ||||||
debug_autotrace: false | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Ideally we'd maintain consistency with the rest of the config and not use snake case. |
||||||
# For the mini ones minikube, minishift set to true | ||||||
nodeport: false | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Rather than a boolean I would make it a "optional" int value so the port can be adjusted to whatever the user wants. With a 0 value the nodePort would be disabled. Also Helm discourages heavy nesting. I'd probably opt for |
||||||
|
||||||
# "special" Openshift. Set to true when deploying to any openshift flavour | ||||||
openshift: false | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.