Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Add a matchLabels selector to stateful sets as well #432

Merged
merged 1 commit into from
Oct 12, 2018

Conversation

aduffeck
Copy link
Contributor

This is required to work around
helm/charts#7726, without it we see errors like

Error: UPGRADE FAILED: StatefulSet.apps "nats" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"app.kubernetes.io/managed-by":"Tiller", "app.kubernetes.io/name":"my-nats", "app.kubernetes.io/version":"", "helm.sh/chart":"my-nats-10", "skiff-role-name":"nats", "app.kubernetes.io/component":"nats", "app.kubernetes.io/instance":"my-nats"}: `selector` does not match template `labels`

during helm upgrades.

@cfdreddbot
Copy link

Hey aduffeck!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@jandubois jandubois merged commit a0782f2 into develop Oct 12, 2018
@jandubois jandubois deleted the aduffeck/add_matchlabels_selector branch October 12, 2018 16:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants