Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error deploying kube_prometheus_stack in the dev branch #341

Open
Hsankesara opened this issue Jan 20, 2025 · 0 comments
Open

Error deploying kube_prometheus_stack in the dev branch #341

Hsankesara opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Hsankesara
Copy link
Member

Describe the bug
While deploying the dev branch in the stage cluster, kube_prometheus_stack deployment threw this error

 Error: Failed to render chart: exit status 1: Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Alertmanager.spec): unknown field "automountServiceAccountToken" in com.coreos.monitoring.v1.Alertmanager.spec

It looks like it is related to the prometheus-operator moving the automountServiceAccountToken to Alertmanager.spec in v0.66.0 but I could be wrong here.

I was able to deploy the chart version 0.4.2 so it seems like the error starts occurring from version 0.43+

To Reproduce
Steps to reproduce the behavior:
Deploy kube_prometheus_stack version 0.43 or above.

Version of Helm and Kubernetes:

  • Output of helm version:
version.BuildInfo{Version:"v3.8.2", GitCommit:"6e3701edea09e5d55a8ca2aae03a68917630e91b", GitTreeState:"clean", GoVersion:"go1.17.5"}
  • Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.16", GitCommit:"60e5135f758b6e43d0523b3277e8d34b4ab3801f", GitTreeState:"clean", BuildDate:"2023-01-18T16:01:10Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"29+", GitVersion:"v1.29.12-eks-2d5f260", GitCommit:"c96b3714e184c375a9dc340816b70e24a5917f33", GitTreeState:"clean", BuildDate:"2024-12-12T20:57:31Z", GoVersion:"go1.22.9", Compiler:"gc", Platform:"linux/amd64"}
@Hsankesara Hsankesara added the bug Something isn't working label Jan 20, 2025
@Hsankesara Hsankesara changed the title Error deploying kube_prometheus_stack in the dev cluster Error deploying kube_prometheus_stack in the dev branch Jan 20, 2025
@keyvaann keyvaann self-assigned this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants