-
Notifications
You must be signed in to change notification settings - Fork 241
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
(feat) configuring containerPort from Values in datahub-frontend #385
Conversation
@@ -65,7 +65,7 @@ spec: | |||
{{- toYaml .Values.lifecycle | nindent 12 }} | |||
ports: | |||
- name: http | |||
containerPort: 9002 | |||
containerPort: {{ .Values.service.containerPort }} |
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.
is it possible to specify a default inline here to 9002? I'm actually unsure :)
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.
the default is coming from the charts/datahub/subcharts/datahub-frontend/values.yaml
file
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.
Change
This change would make the containerPort configurable via values instead of directly hard-coding it.
Checklist