Skip to content

StatefulSet not updated when adding environment variable to CR #2319

Description

@bitfisher

Report

I added a environment variable to an exiting PerconaServerMongoDB but Sts never get's updated.
Manually added environment variable to Sts and forced a reconcile removes environment variable from sts altough it's present in CR.

More about the problem

Environment variables passed to Sts

Steps to reproduce

  1. Deploy PerconaServerMongoDB
  2. Edit CR, add env to replsets
  3. Watch for Sts updated - never happens

Versions

  1. Kubernetes: 1.34.6
  2. Operator: 1.22.0
  3. Database: 8.0.20

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions