Complete helm toolkit with generation and validation capabilities
94
94%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
A test Helm chart demonstrating Custom Resource Definition (CRD) usage with cert-manager Certificates and Prometheus ServiceMonitors.
Before installing this chart, ensure the following are installed in your cluster:
cert-manager (for Certificate resources)
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.0/cert-manager.yamlPrometheus Operator (for ServiceMonitor resources)
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm install prometheus prometheus-community/kube-prometheus-stackClusterIssuer named letsencrypt-prod for certificate issuance
helm install my-release ./test-crd-chartThe following table lists the configurable parameters:
| Parameter | Description | Default |
|---|---|---|
certManager.enabled | Enable cert-manager Certificate | true |
certManager.certificate.dnsNames | DNS names for the certificate | ["example.com"] |
prometheus.enabled | Enable Prometheus ServiceMonitor | true |
certManager:
enabled: true
certificate:
dnsNames:
- example.com
prometheus:
enabled: trueWhen installed with default values, this chart creates:
cert-manager.io/v1) - TLS certificate managed by cert-managermonitoring.coreos.com/v1) - Prometheus scrape configurationhelm uninstall my-releaseValidate the chart before installation:
helm lint ./test-crd-chart
helm template test-release ./test-crd-chart