You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following #971 and #972, we need to wire up the logic such that a ServiceAccount referenced in a ClusterExtension is used to install/upgrade/uninstall content via the Helm client.
While exact implementation may vary, here are some things to consider during implementation:
setupLog.Error(err, "unable to config for creating helm client")
os.Exit(1)
}
is updated to use a client.RestConfigMapper that creates a rest.Config configured with a token from the ServiceAccount referenced in a ClusterExtension
Updates to the existing unit + e2e tests as necessary for them to continue functioning as expected. It is anticipated that some work will need to be done to configure a ServiceAccount with appropriate permissions to be used during e2e tests.
Permissions on the operator-controller ServiceAccount should be updated to no longer require write permissions on content to be installed (and clean up any other permissions that are no longer necessary)
Any changes to the previously implemented interfaces to facilitate the wiring of components successfully are made
The text was updated successfully, but these errors were encountered:
Following #971 and #972, we need to wire up the logic such that a
ServiceAccount
referenced in aClusterExtension
is used to install/upgrade/uninstall content via the Helm client.While exact implementation may vary, here are some things to consider during implementation:
client.RestConfigMapper
that is used withclient.NewActionConfigGetter
to configure the helm client created for a given ClusterExtension.client.NewActionConfigGetter
is configured here:operator-controller/cmd/manager/main.go
Lines 168 to 175 in 2eca31d
Acceptance Criteria:
client.NewActionConfigGetter
setup inoperator-controller/cmd/manager/main.go
Lines 168 to 175 in 2eca31d
client.RestConfigMapper
that creates arest.Config
configured with a token from theServiceAccount
referenced in aClusterExtension
The text was updated successfully, but these errors were encountered: