-
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
feat(podAnnotations): individualized Pod Annotations #222
base: main
Are you sure you want to change the base?
Conversation
charts/cryostat/values.yaml
Outdated
@@ -351,7 +363,7 @@ serviceAccount: | |||
## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated using the fullname template | |||
name: "" | |||
|
|||
## @param podAnnotations [object] Annotations to be applied to the Cryostat Pod | |||
## @param podAnnotations [object] Annotations to be applied to the various Pods |
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.
Would it be clearer to say "Common annotations that applied to all managed Pods"?
charts/cryostat/values.yaml
Outdated
@@ -199,6 +207,8 @@ grafana: | |||
pullPolicy: Always | |||
## @param grafana.image.tag Tag for the Grafana container image | |||
tag: "latest" | |||
## @param grafana.podAnnotations [object] Annotations to be applied to the Grafana Pods | |||
podAnnotations: {} |
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.
These are unused right? Grafana and Datasource are in the same pod as Cryostat.
charts/cryostat/values.yaml
Outdated
@@ -229,6 +239,8 @@ datasource: | |||
pullPolicy: Always | |||
## @param datasource.image.tag Tag for the JFR Data Source container image | |||
tag: "latest" | |||
## @param datasource.podAnnotations [object] Annotations to be applied to the JFR Datasource Pods | |||
podAnnotations: {} |
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.
Same here?
Related to #220
To test:
helm install --set-json 'podAnnotations={"foo":"bar","com.example/annotation":"hello"}' --set-json 'storage.podAnnotations={"alice":"bob"}' cryostat ./charts/cryostat
helm install --set-json 'podAnnotations={"foo":"bar"}' --set-json 'core.podAnnotations={"foo":"baz"}' cryostat ./charts/cryostat