-
Notifications
You must be signed in to change notification settings - Fork 299
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
[Improvement] expose 'http-server.rest-auth-type' variable in Helm chart #3345
Merged
Merged
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
37d7cd1
[Improvement] expose 'http-server.rest-auth-type' variable in Helm chart
JiHyunSong 1b40d38
Merge branch 'master' into extract-rest-auth-type
XBaith bf736a9
Merge branch 'master' into extract-rest-auth-type
XBaith c47e7ba
fix by comment
JiHyunSong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,6 +142,7 @@ amoroConf: | |
ams: | ||
adminUsername: admin | ||
adminPassword: admin | ||
restAuthType: token | ||
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. It should under |
||
|
||
## AMS database properties, default value is derby. For production environment, suggest to use mysql | ||
## | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
it is a config in AMS REST Serivce, so
rest-auth-type: {{ .Values.server.rest.restAuthType }}
is better option?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.
@XBaith
I currently see the
server.rest.
variables in this Helm chart as being more related to Kubernetes service or ingress configurations rather than application settings. On the other hand, I consider the configurations underamoroConf.ams.
to be application-specific, which is why I placed them there. I also think this might be a part of the chart worth refactoring in the future..Since there are differing opinions on this, I wanted to share my perspective. That said, if you still prefer moving them under
server.rest
, I’m happy to make the change.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 reason I prefer moving them under
server.rest
is that we already have the propertyHTTP_SERVER_REST_AUTH_TYPE
configured as part of the HTTP REST service. It might be better to align with the original design. What do you think?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.
Hi @baiyangtx, please let me know if you have any questions.
I will merge this if there is no more comments.