You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Kubernetes: properly reuse tls certificates
Traefik does not properly work when ingress'es in multiple namespaces use the same tls
certificate. See more in
traefik/traefik#12116. This works around the
problem by manually defining certificates and uploading them to
TLSStore. Ingress'es use TLSStore under the hood.
Implementation detail:
1) we generate certificates by explicitly defining certificate resource
in cert-manager
2) we copy generated secrets (containing certitificates) to traefik
namespace via reflector
3) traefik explicitly defines TLSStore that references secrets
(containing certificates)
Bonus:
- Add HELMFILE_EXTRA_ARGS variable to Makefile to pass options to
helmfile CLI if necessary
Related issue/s
- closes#1228
Related PR/s
- configuration ...
* traefik: delete ingress tls config
* Update certificate values
* Customize reflector chart & polish certs template
* Merge traefik values + explicit cert dates
Copy file name to clipboardExpand all lines: charts/cert-manager/README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,9 @@
3
3
Read more https://cert-manager.io/docs/installation/best-practice/#network-requirements
4
4
5
5
Be aware that this might have an affect on cert manager webhook application that is called during installation of the cert manager helm chart. If network policy is misconfigured, this will affect installation (e.g. `certissuers` might be missing as they are installed via helm hooks that apparently require cert manager webhook to be reachable)
6
+
7
+
## Extract certificate from secret
8
+
9
+
```bash
10
+
kubectl -n <namespace> get secret <secret-tls> -o jsonpath="{.data['tls\.crt']}"| base64 -d | openssl x509 -text -noout | head
0 commit comments