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

(feat) configuring containerPort from Values in datahub-frontend #385

Merged
merged 7 commits into from
Nov 7, 2023

Conversation

dheerajrampally
Copy link
Contributor

@dheerajrampally dheerajrampally commented Oct 20, 2023

Change

This change would make the containerPort configurable via values instead of directly hard-coding it.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

@dheerajrampally dheerajrampally changed the title configuring containerPort from Values in datahub-frontend (feat) configuring containerPort from Values in datahub-frontend Oct 20, 2023
@maggiehays maggiehays added the hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/ label Oct 26, 2023
@@ -65,7 +65,7 @@ spec:
{{- toYaml .Values.lifecycle | nindent 12 }}
ports:
- name: http
containerPort: 9002
containerPort: {{ .Values.service.containerPort }}
Copy link
Contributor

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 :)

Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screenshot 2023-11-07 at 9 11 38 AM

@david-leifker david-leifker merged commit a99102e into acryldata:master Nov 7, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants