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

Allow setting annotations for deployments #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

totycro
Copy link
Contributor

@totycro totycro commented Jan 27, 2025

This change basically forwards raster-eoapi.annotations to the annotations of the respective deployment. There are no official guidelines on key structuring, but this follows conventions set by other large charts where properties on the top level object are forwarded to the central kubernetes object, in this case the deployment.

Other objects could still be customized with sub-keys, e.g. raster-eoapi.service.annotations could be applied to the respective kubernetes service.

The values currently also contain a settings key. Since properties like image or command are configured directly in raster-eoapi, I've also placed the annotations directly here. However they could also be moved to settings.

Related discussion: #172

This change basically forwards `raster-eoapi.annotations` to the
annotations of the respective deployment. There are no official guidelines
on key structuring, but this follows conventions set by other large charts
like [1] where properties on the top level object are forwarded to the
central kubernetes object, in this case the deployment.

Other objects could still be customized with sub-keys, e.g.
`raster-eoapi.service.annotations` could be applied to the respective
kubernetes service.

The values currently also contain a `settings` key. Since properties
like `image` or `command` are configured directly in `raster-eoapi`,
I've also placed the annotations directly here. However they could also
be moved to `settings`.

[1] https://artifacthub.io/packages/helm/grafana/grafana
@totycro totycro force-pushed the deployment-annotations branch from 01c8e77 to c582215 Compare January 27, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant