Skip to content

Commit

Permalink
use pre-created cert secret instead of helm chart creating the cert s…
Browse files Browse the repository at this point in the history
…ecerts
  • Loading branch information
vramk23 committed Jul 4, 2023
1 parent a6129ad commit 322855f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 24 deletions.
2 changes: 1 addition & 1 deletion charts/kad/templates/ingress_route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ spec:
tls:
options:
name: {{ include "kad.fullname" . }}-mtls-auth
secretName: {{ include "kad.fullname" . }}-server-cert
secretName: {{ .Values.cert.secretName }}
{{- end }}
{{- end }}
9 changes: 0 additions & 9 deletions charts/kad/templates/rootSecret.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions charts/kad/templates/serverSecret.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion charts/kad/templates/tlsoption.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
clientAuth:
clientAuthType: RequireAndVerifyClientCert
secretNames:
- {{ include "kad.fullname" . }}-root-ca
- {{ .Values.cert.secretName }}
maxVersion: VersionTLS13
minVersion: VersionTLS12
sniStrict: true
Expand Down
6 changes: 3 additions & 3 deletions charts/kad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ ingressroute:
enabled: true
mtls:
enabled: false
caCrt: ""
tlsCrt: ""
tlsKey: ""
host: "captenagent.dev.optimizor.app"

cert:
secretName: "kad-agent-cert"

ingress:
enabled: false
className: ""
Expand Down

0 comments on commit 322855f

Please sign in to comment.