Skip to content

The updated matrixAuthenticationService.nodeSelector value does not completely override the old one. #580

@watermelon0339

Description

@watermelon0339

Describe the bug
When I updated matrixAuthenticationService.nodeSelector, then helm upgrade xxxx.
The final value of matrixAuthenticationService.nodeSelector is a merge of the new and old settings, rather than a replacement.
This caused the deployment of matrix-authentication-service to fail.

To Reproduce

  1. Edit ~/ess-config-values/hostnames.yaml
     matrixAuthenticationService:
          nodeSelector:
            kubernetes.io/hostname: master
  2. helm upgrade xxxxx, this succeeded.
  3. Edit ~/ess-config-values/hostnames.yaml again
     matrixAuthenticationService:
          nodeSelector:
            kubernetes.io/hostname: worker
  4. helm upgrade xxxxx failed because of no nodes match the nodeSelector(kubernetes.io/hostname: worker+kubernetes.io/hostname: master)

Expected behavior
The updated new matrixAuthenticationService.nodeSelector should completely override the old one.

ess-helm
Version: matrix-stack-25.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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