Skip to content

Commit

Permalink
Merge pull request #201 from SgtCoDFish/certcn
Browse files Browse the repository at this point in the history
add a CN for the trust-manager certificate
  • Loading branch information
jetstack-bot authored Oct 19, 2023
2 parents ae5c11a + 56da7be commit b055aa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/charts/trust-manager/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ metadata:
labels:
{{ include "trust-manager.labels" . | indent 4 }}
spec:
commonName: "{{ include "trust-manager.name" . }}.{{ include "trust-manager.namespace" . }}.svc"
dnsNames:
- "{{ include "trust-manager.name" . }}.{{ include "trust-manager.namespace" . }}.svc"
secretName: {{ include "trust-manager.name" . }}-tls
Expand All @@ -37,6 +38,9 @@ metadata:
name: trust-manager-policy
spec:
allowed:
commonName:
value: "{{ include "trust-manager.name" . }}.{{ include "trust-manager.namespace" . }}.svc"
required: true
dnsNames:
values: ["{{ include "trust-manager.name" . }}.{{ include "trust-manager.namespace" . }}.svc"]
required: true
Expand Down

0 comments on commit b055aa2

Please sign in to comment.