CA test
This commit is contained in:
parent
b0c461267f
commit
7393f23f44
@ -28,3 +28,16 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
ca:
|
ca:
|
||||||
secretName: mziesel-root-secret
|
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
|
||||||
|
---
|
||||||
|
@ -4,12 +4,4 @@ kind: Kustomization
|
|||||||
namespace: cert-manager
|
namespace: cert-manager
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
|
|
||||||
- ./base/mziesel-ca.yaml
|
- ./base/mziesel-ca.yaml
|
||||||
|
|
||||||
# patches:
|
|
||||||
# - path: ./remove-instance-label.jsonpatch.yaml
|
|
||||||
# target:
|
|
||||||
# kind: CustomResourceDefinition
|
|
||||||
# labelSelector: app.kubernetes.io/instance=cert-manager
|
|
||||||
#
|
|
||||||
|
@ -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
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
|
Loading…
Reference in New Issue
Block a user