Skip to content

[Bug] Servicemonitor cannot be created through ArgoCD when using the helm-chart #8891

@stieglma

Description

@stieglma

Kyverno Version

1.11.0

Description

As written in the title: when using the kyverno helm-chart through ArgoCD then ServiceMonitors can't be installed.

This is because of this change which was merged earlier this year: #7926

When only looking at the change and what all helm can do, the change works fine, so I'm not sure if you actually want to care about the compatibility with ArgoCD here.
ArgoCD does execute helm template without any support for interactively querying for supported api versions in the cluster at the moment (there are plenty of issues for that in their github repo, e.g. this one here: argoproj/argo-cd#7291 ). It seems like they are working on a solution but there is no ETA when it will actually arrive.

If possible I would vote for reverting the change from #7926 at least until it works with ArgoCD, as there is already a flag which is false by default and needs to be set actively I don't think that anything should break.

Slack discussion

No response

Troubleshooting

  • I have read and followed the documentation AND the troubleshooting guide.
  • I have searched other issues in this repository and mine is not recorded.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelmIssues dealing with the Helm chart

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions