-
Notifications
You must be signed in to change notification settings - Fork 99
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
refactoring helm chart #5353
refactoring helm chart #5353
Conversation
@@ -41,9 +41,9 @@ spec: | |||
value: 'true' | |||
- name: SKIP_AUTH | |||
value: 'true' | |||
{{ if .Values.global.rp.publicEndpointOverride}} | |||
{{ if .Values.publicEndpointOverride}} |
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.
I just want to confirm. Since it is a subchart, it does not need to be .Values.rp.publicEndpointOverride
, does it?
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.
oh yes! I have missed it, i will fix it now.
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.
sorry I misread your question. When we do the subcharts, to the subchart, the "subchart:" section in umbrella chart appears just as if it were set in the subchart's local values. file. Therefore we just say Values.publicEndpointOverride. template engine takes care of it..
pkg/cli/helm/radiusclient.go
Outdated
aws["accessKeyId"] = awsProvider.AccessKeyId | ||
aws["secretAccessKey"] = awsProvider.SecretAccessKey |
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.
We do not need L323-L324 since there are no code referring to them in helm chart.
"accessKeyId": awsProvider.AccessKeyId, | ||
"secretAccessKey": awsProvider.SecretAccessKey, | ||
"region": awsProvider.TargetRegion, | ||
} |
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.
Can you please remove addAzureProviderValues
too ?
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.
I left minor comments. Please address them before merging :) Also please validate the values in helm chart too.
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.
LGTM other than a few nits
deploy/Chart/Chart.yaml
Outdated
version: '42.42.42-dev' | ||
repository: "file://appcore-rp" | ||
repository: "file://rp" |
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.
Should this also be radius-rp
?
deploy/Chart/charts/rp/Chart.yaml
Outdated
@@ -1,5 +1,5 @@ | |||
apiVersion: v2 | |||
name: appcore-rp | |||
name: rp |
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.
radius-rp
?
deploy/Chart/values.yaml
Outdated
# | ||
# Configure global.zipkin.url to enable distributed trace | ||
# zipkin: | ||
# url: "http://jaeger-collector.radius-monitoring.svc.cluster.local:9411/api/v2/spans" | ||
# |
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 this also an example?
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.
yes :)
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.
nit: Could you add "Example" in the comments?
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.
added a nit
name: appcore-rp | ||
description: Applications.Core Radius service | ||
name: radius-rp | ||
description: Radius service |
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.
description: Radius service | |
description: Radius service |
# aws: | ||
# region:"us-east" | ||
radius-rp: | ||
image: radius.azurecr.io/appcore-rp |
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.
Do we plan to change the image to radius-rp
as well?
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.
not sure.. @youngbupark , should I create a ticket for renaming image?
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.
Should this client be updated as well to expect updated keys? https://github.com/project-radius/radius/blob/main/pkg/cli/helm/radiusclient.go#L245
Description
rad install --set command can now be used to set helm values.
This PR is to refactor helm values.yaml structure and provide final documentation for different values that can be set using rad install set.
Issue reference
Fixes: #5343
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: