-
Notifications
You must be signed in to change notification settings - Fork 13
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
Clean up image values for horizon chart #99
base: main
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 |
---|---|---|
|
@@ -24,30 +24,15 @@ global: | |
# - imagepullsecret1 | ||
# - imagepullsecret2 | ||
|
||
image: | ||
horizon: | ||
registry: docker.io | ||
repository: stellar/stellar-horizon | ||
## Optional tag. Defaults to the appVersion from Chart.yaml | ||
# tag: 1.2.3 | ||
|
||
## Specify a imagePullPolicy | ||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' | ||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images | ||
## | ||
pullPolicy: Always | ||
coreExporter: | ||
registry: docker.io | ||
repository: stellar/stellar-core-prometheus-exporter | ||
tag: latest | ||
## Specify a imagePullPolicy | ||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' | ||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images | ||
## | ||
pullPolicy: Always | ||
image: | ||
registry: docker.io | ||
repository: stellar/stellar-horizon | ||
## Optional tag. Defaults to the appVersion from Chart.yaml | ||
# tag: 1.2.3 | ||
pullPolicy: Always | ||
|
||
ingest: | ||
## See global.image.horizon for image settings | ||
## See image for image settings | ||
|
||
## Whether to deploy ingesting instances | ||
enabled: true | ||
|
@@ -118,7 +103,11 @@ ingest: | |
## If you'd like to have prometheus | ||
enabled: true | ||
|
||
## See global.image.coreExporter for image settings | ||
image: | ||
registry: docker.io | ||
repository: stellar/stellar-core-prometheus-exporter | ||
tag: latest | ||
pullPolicy: Always | ||
Comment on lines
+106
to
+110
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. We were planning on building full stellar network stacks and for that to work we needed the parent chart to be able to set the exporter. The exporter will also be used by the core chart which deploys validators. 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. the parent chart can still set the exporter here |
||
|
||
## Uncomment to set resource limits | ||
#resources: | ||
|
@@ -130,7 +119,7 @@ ingest: | |
# memory: 128Mi | ||
|
||
web: | ||
## See global.image.horizon for image settings | ||
## See image for image settings | ||
|
||
## Whether to deploy non-ingesting instances | ||
## Useful with read-only DB replica | ||
|
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 horizon image settings are in the global section to allow parent chart to override the value. There is an initial "stellar-network" chart somewhere that we planned to use to deploy full stacks for testing.
I think we should leave it as is
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.
a global chart can still overwrite the values that are not in the global section
however, putting values like this in the global section makes the chart less flexible, because any upstream values that might conflict would break a chart
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 intention, from what I remember, was for the horizon image to be overwritten by the parent chart. I'll try to remember some more details.
Could you explain a bit more why you think the container image for horizon should not be overwriten?
It's used in 1 place in this chart. But the exporter is also used by the
core
chart