Comments (1)
Thanks @gbassinello
I want to build a Grafana dashboard using the Prometheus data source to list all ingresses that aren't managed by cert-manager.
Given that problem, I prefer your alternative suggestion, but I'm happy to change my mind if that turns out not to be viable.
List all ingresses using the kube_state_metrics kube_ingress_annotations metric that don't have a cert-manager annotation.
I tried it out locally
EDITOR=vi kubectl edit -n prometheus deployments.apps default-kube-state-metrics
spec:
containers:
- args:
- --metric-annotations-allowlist=ingresses=[cert-manager.io/issuer,cert-manager.io/cluster-issuer],secrets=[cert-manager.io/certificate-name]
kubectl get --raw /api/v1/namespaces/prometheus/services/default-kube-state-metrics:8080/proxy/metrics | grep annotation_cert_manager_io
kube_ingress_annotations{namespace="default",ingress="example-1",annotation_cert_manager_io_cluster_issuer="issuer-1"} 1
kube_secret_annotations{namespace="default",secret="example-1-tls",annotation_cert_manager_io_certificate_name="example-1-tls"} 1
kube_secret_annotations{namespace="samplewebhook",secret="samplewebhook-example-webhook-webhook-tls",annotation_cert_manager_io_certificate_name="samplewebhook-example-webhook-webhook-tls"} 1
kube_secret_annotations{namespace="samplewebhook",secret="samplewebhook-example-webhook-ca",annotation_cert_manager_io_certificate_name="samplewebhook-example-webhook-ca"} 1
It should be possible to construct the report from those metrics, right?
from cert-manager.
Related Issues (20)
- Solver pod returns 404 error during http01 challenge HOT 5
- v1.12.X release Infinite loop with 2 certs with different keystore settings HOT 4
- Report the use of components with vulnerabilities in cert-manager HOT 3
- I don't understand the purpose of the new tests.
- Confusing messaging when certificate secret name already exist HOT 1
- Optionally write ca.crt to ConfigMap
- Support testing on Kubernetes v1.30 HOT 1
- Feature Request: Add support to set future date as notBefore when requesting for certificate HOT 5
- Regular expression file missing HOT 1
- RFC2136 provider sending wrong domain to DNS server HOT 1
- Email address ignored by cert-manager when its creates CSR HOT 1
- certificate chain is malformed HOT 3
- 1.14.5 recreated all my certs as the same secret
- Certificate Deletion Policy for Finer Grained Control of Secret Cleanup HOT 2
- i want to install cert manager for deploying self hosted runners in Azure kubernetes is it okay if i add below repo is it safe or can you give me any other alternative other than this HOT 1
- cainjector ConfigMap isn't mounted on cainjector's deployment
- Customize and control time of order retry execution
- Bug in E2E_EXISTING_CHART=true E2E_CERT_MANAGER_VERSION=1.14.2 make e2e-setup-certmanager
- Cert Manager Helm Chart: Unnecessary RBAC permissions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cert-manager.