We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154bfff commit 45a4fe3Copy full SHA for 45a4fe3
internal/controller/bootstrap/init.go
@@ -2662,7 +2662,7 @@ func (b *Bootstrap) getPostgresImageConfigMap(ctx context.Context) (*corev1.Conf
2662
configMap := &corev1.ConfigMap{}
2663
configMapName := constant.PostgreSQLImageConfigMap
2664
2665
- if err := b.Client.Get(ctx, types.NamespacedName{
+ if err := b.Reader.Get(ctx, types.NamespacedName{
2666
Name: configMapName,
2667
Namespace: b.CSData.OperatorNs,
2668
}, configMap); err != nil && errors.IsNotFound(err) {
0 commit comments