-
Notifications
You must be signed in to change notification settings - Fork 564
Description
Feature Request
Is your feature request related to a problem? Please describe.
I am developing an operator that needs to access information hosted in a second network. Hence I would like to use Multus to deploy a multi-homed operator pod but it seems that this not possible at install time. This is due to the matter of fact, that annotations can not be passed to the deployment as part of the SubscriptionSpec. Only patching the CSV after the installation seems to work at the moment which is somewhat imcompatible with GitOps workflows.
Describe the solution you'd like
Passing annotations to the operator pod can be done in different ways. Anyway my prefered solution is similar to [1] but instead of using PodSpec
for .spec.config
I would suggest using a PodTemplateSpec
[2].
[1] https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/contributors/design-proposals/operator-config.md
[2] https://github.com/kubernetes/api/blob/b8c40e080bc5e830097df540d4ef804034cb5bdb/core/v1/types.go#L3907