This commit is contained in:
Mans Ziesel 2024-10-13 19:53:40 +02:00
parent b0c461267f
commit 7393f23f44
3 changed files with 13 additions and 20 deletions

View File

@ -28,3 +28,16 @@ metadata:
spec:
ca:
secretName: mziesel-root-secret
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: whoami.mziesel.nl-cert
spec:
secretName: whoami.mziesel.nl-secret
issuerRef:
name: mziesel-ca-issuer
kind: ClusterIssuer
dnsNames:
- whoami.mziesel.nl
---

View File

@ -4,12 +4,4 @@ kind: Kustomization
namespace: cert-manager
resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
- ./base/mziesel-ca.yaml
# patches:
# - path: ./remove-instance-label.jsonpatch.yaml
# target:
# kind: CustomResourceDefinition
# labelSelector: app.kubernetes.io/instance=cert-manager
#

View File

@ -1,15 +1,3 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: whoami.mziesel.nl-cert
spec:
secretName: whoami.mziesel.nl-secret
issuerRef:
name: mziesel-ca-issuer
kind: ClusterIssuer
dnsNames:
- whoami.mziesel.nl
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata: