-
Notifications
You must be signed in to change notification settings - Fork 2
Description
We have been testing v2023.05.31 for weeks now while preparing our AKS clusters for a 1.25 upgrade.
A colleague of mine recently reported a bug about the readOnlyRootFilesystem setting which was fixed and then the v2023.05.31 release was republished.
Today, during testing we observed that it was republished again (a few hours ago) after these changes were merged: stashed/installer#308
The above changes broke our deployment because the generated yaml manifests included an invalid, half-empty object that should have been created by this snippet: stashed/installer#308 (comment)
Our templated manifest now looks like this (showing only the relevant part for brevity, notice the empty lines above metadata):
---
# Source: stash/charts/stash-enterprise/templates/apiregistration.yaml
# copy kube-system/extension-apiserver-authentication into stash operator namespace
metadata:
namespace: kube-system
---
This was the error reported by Helm:
Error: Failed to render chart: exit status 1: Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [apiVersion not set, kind not set]
We solved the above problem by setting security.copyAuthenticationConfigMap=false but the true case (which is the default) should work or it should be false by default.
If this version of the chart is still under development then please don't publish it with a release tag, this is dangerous for us, such a new, updated release can break our deployments if it contains bugs.
If you consider v2023.05.31 to be correct and working, then please do not change it but instead publish the chart with a new tag if you add changes.