Skip to content

[BUG] Statefulset volumeClaimTemplate include versioned labels #513

@DrPsychick

Description

@DrPsychick

Describe the bug

updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden

To Reproduce

Do a version update and notice it fails because the statefulset cannot be updated, because the volumeClaimTemplate uses common.labels.standard template which includes versions.

Expected behavior

Additional information

Instead of hacking a fix, let's see if we can completely remove the bitnami common chart, but that will be a bit of work:

usages of 'include common.*'

   1 common.capabilities.ingress.apiVersion
   1 common.capabilities.statefulset.apiVersion
   1 common.ingress.certManagerRequest
   1 common.names.dependency.fullname
   1 common.names.name
   1 common.storage.class
   2 common.ingress.backend
   3 common.secrets.lookup
   6 common.secrets.name
   6 common.secrets.passwords.manage
   8 common.capabilities.networkPolicy.apiVersion
   9 common.names.fullname
  10 common.capabilities.deployment.apiVersion
  11 common.images.pullSecrets
  25 common.labels.matchLabels
  64 common.names.namespace
  69 common.labels.standard
 313 common.tplvalues.render

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues that are confirmed to be bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions