tobs
tobs copied to clipboard
name for kube-prometheus-stack is always overridden
I consider this a bug which does not work well when installing via helm with --generate-name flag.
This is most likely because of https://github.com/timescale/tobs/blob/main/chart/values.yaml#L135. Maybe we can remove that option?
This will be a breaking change on upgrade. We will need to provide documentation on how to handle that action.
This may or may not cause upgrade issues. Right now when testing, if you are "upgrading" a previous install, it will error out with this error:
Error: UPGRADE FAILED: failed to create resource: Internal error occurred: failed calling webhook "prometheusrulemutate.monitoring.coreos.com": failed to call webhook: Post "https://tobs-kube-prometheus-operator.default.svc:443/admission-prometheusrules/validate?timeout=10s": x509: certificate is valid for chart-1660587400-kube-prom-operator, chart-1660587400-kube-prom-operator.default.svc, not tobs-kube-prometheus-operator.default.svc
Running another helm upgrade after this failure will result in the upgrade succeeding.
I think the best idea here if we want to remove this is to document that it has been removed and if you're upgrading to add back the line:
fullnameOverride: "tobs-kube-prometheus"