-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Support deployment annotations #684
Comments
Could you please give some feedback, if this is feasible or not - we have to manually restart pods in production, whenever a configuration or secret changes. |
@kernkonzentrat so according to wave-k8s/wave#59 (comment), So you should be able to use the existing Which charts were you looking at using with |
@fatmcgav ...thanks for the reply. We're using metricbeat charts from |
@kernkonzentrat Ah, ok... In that case, and based on the example in the Wave docs, this should be a relatively trivial addition. Something like adding this additional block: annotations:
{{- range $key, $value := .Values.deploymentAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }} after this line:
Also set a default value in # Annotations to apply to the deployment
deploymentAnnotations: {} And then adding a test to make sure the values are being set correctly. Something similar to helm-charts/metricbeat/tests/metricbeat_test.py Lines 960 to 975 in 75263dd
If you fancy taking a stab at opening a PR with these changes, we can review and provide feedback as appropriate. |
@fatmcgav cool...will open the PR within the next few days 👍 |
Closing as #713 was merged |
Describe the feature:
It would be very nice, if deployment annotations would be supported
Describe a specific use case for the feature:
We're using Wave to manage deployments in our k8s cluster, which will trigger a Rolling Update, if related Config Maps or Secrets are updated. Unfortunately Wave keeps track of the managed deployments by targeting a specific deployment annotation. Would be super cool, if we could open a small pull request for this behavior :)
The text was updated successfully, but these errors were encountered: