kubemq-io / charts

KubeMQ is a Cloud Native, enterprise grade message broker for distributed services architecture
https://kubemq.io
Apache License 2.0
11 stars 3 forks source link

Fixing a bug with labels for helm3 compatibility. #3

Closed lhriley closed 4 years ago

lhriley commented 4 years ago

This PR is a minor change to account for Helm3 and their more strict adherence to k8s resource definitions. This was not caught in Helm2 as it was not as strict about arbitrary keys.

This solves the error message:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(StatefulSet.metadata): unknown field "app" in io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta, ValidationError(StatefulSet.metadata): unknown field "chart" in io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta, ValidationError(StatefulSet.metadata): unknown field "heritage" in io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta, ValidationError(StatefulSet.metadata): unknown field "release" in io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta]
lhriley commented 4 years ago

@kubemq would it be possible to get any movement on this PR? Thanks in advance!

lhriley commented 4 years ago

Thanks @kubemq !