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

Podmonitor expects to be used only in apply format. #2461

Open
BenCoughlan15 opened this issue Mar 10, 2025 · 0 comments
Open

Podmonitor expects to be used only in apply format. #2461

BenCoughlan15 opened this issue Mar 10, 2025 · 0 comments

Comments

@BenCoughlan15
Copy link

{{- if not (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1/PodMonitor") }}

This line means it's doing a lookup against the cluster every time I try to template the chart.

in CI, I template, diff, run kubeconform, etc against the yaml before allowing ArgoCD to take over.

This is to prevent unintended changes, and works as a useful quality gate.

Do you think we could comment this out, or make it optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant