Add webhook cert auto-rotating
This commit is contained in:
20
linkerd/templates/policy-validator-certificate.yaml
Normal file
20
linkerd/templates/policy-validator-certificate.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: linkerd-policy-validator
|
||||
spec:
|
||||
secretName: linkerd-policy-validator-k8s-tls
|
||||
duration: 24h
|
||||
renewBefore: 1h
|
||||
issuerRef:
|
||||
name: webhook-issuer
|
||||
kind: Issuer
|
||||
commonName: linkerd-policy-validator.linkerd.svc
|
||||
dnsNames:
|
||||
- linkerd-policy-validator.linkerd.svc
|
||||
isCA: false
|
||||
privateKey:
|
||||
algorithm: ECDSA
|
||||
encoding: PKCS8
|
||||
usages:
|
||||
- server auth
|
||||
Reference in New Issue
Block a user