Skip to content

Commit

Permalink
Merge pull request #152 from openshift-cherrypick-robot/cherry-pick-1…
Browse files Browse the repository at this point in the history
…51-to-release-4.14

[release-4.14] OCPBUGS-23111: Should reference configmaps instead of secrets
  • Loading branch information
openshift-merge-bot[bot] committed Nov 9, 2023
2 parents 740b442 + fe0b701 commit 3ffcdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/configmaps.go
Expand Up @@ -46,7 +46,7 @@ func UpsertConfigMap(configmap *corev1.ConfigMap) {
sharecConfigMapList := client.ListSharedConfigMap()
for _, share := range sharecConfigMapList {
if share.Spec.ConfigMapRef.Namespace == configmap.Namespace && share.Spec.ConfigMapRef.Name == configmap.Name {
shareSecretsUpdateCallbacks.Range(buildRanger(buildCallbackMap(share.Name, share)))
shareConfigMapsUpdateCallbacks.Range(buildRanger(buildCallbackMap(share.Name, share)))
}
}
// otherwise process any share that arrived after the configmap
Expand Down

0 comments on commit 3ffcdcf

Please sign in to comment.