aquasecurity / aqua-helm

Helm Charts For Installing Aqua Security Components
http://aquasec.com
Apache License 2.0
86 stars 188 forks source link

[cyber-center] Added a values parameter to assign Deployment annotations #826

Closed maik-d closed 9 months ago

maik-d commented 9 months ago

Hello,

For our on-prem environment we need the option to set annotations for the cyber-center deployment. The reason for this is, that we want to adjust the deployed image (aka cyber center version) via an ImageStream object (used with OpenShift). In order to link/associate the ImageStream with the deployment the deployment needs an annotation called "image.openshift.io/triggers: ...".

However I think, that there are more use-cases for this, depending on how an organization decides to work with the cyber-center - especially in on-prem environments, where the update workflow is a little bit different compared to cyber-center online service, that you basically "just query".

Would be great if this change could get merged, as we rely on the upstream helm chart and do not want to manually set the annotation each time the helm chart changes.

(This is my first pull request from a forked repo in general - please inform me if something is wrong process wise. The adjusted code itself has been tested.)

Regards, Maik

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.