-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow custom user renovate configs, in config maps, #372
Conversation
1e6cad7
to
160da4d
Compare
160da4d
to
11f36c0
Compare
related docs PR: konflux-ci/docs#171 |
11f36c0
to
522bc15
Compare
controllers/suite_util_test.go
Outdated
@@ -635,3 +646,19 @@ func deletePipelineServiceAccount(namespace string) { | |||
pipelineServiceAccountkey := types.NamespacedName{Name: buildPipelineServiceAccountName, Namespace: namespace} | |||
deleteServiceAccount((pipelineServiceAccountkey)) | |||
} | |||
|
|||
func deleteConfigMap(configMapKey types.NamespacedName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: better move to ConfigMap functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved
globalConfigType := "" | ||
|
||
allUserConfigMaps := &corev1.ConfigMapList{} | ||
if err := u.Client.List(ctx, allUserConfigMaps, client.InNamespace(namespace)); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a common label on all nudge-renovate ConfigMaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't complicate it more for users tbh
sure finding could be filtered, but on other hand with missing label users would complain that it doesn't work
so better less things for them to set
there can be one global one for all components, and also custom config for specific components we are also now creating renovate config in json format STONEBLD-2916 KONFLUX-4372 KFLUXBUGS-1777 Signed-off-by: Robert Cerven <[email protected]>
522bc15
to
809e7fc
Compare
there can be one global one for all components, and also custom config for specific components
we are also now creating renovate config in json format
STONEBLD-2916
Checklist:
make test
passes