-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
At the moment the resources file is being loaded into the operator during the startup:
keda-olm-operator/controllers/keda/kedacontroller_controller.go
Lines 76 to 83 in cbd80d4
| resourcesManifest, err := resources.GetResourcesManifest() | |
| if err != nil { | |
| return err | |
| } | |
| manifestGeneral, manifestController, manifestMetrics, err := parseManifestsFromFile(resourcesManifest, r.Client) | |
| if err != nil { | |
| return err | |
| } |
It would be better to use go embed feature introduced in Go 1.16: https://golangtutorial.dev/tips/embed-files-in-go/
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed