Skip to content

Commit

Permalink
Fix ca cert key for service monitor
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jul 7, 2024
1 parent 2764620 commit 3d46466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/inbox-agent/templates/operator/apiregistration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata:
{{- include "inbox-agent.labels" . | nindent 4 }}
type: kubernetes.io/tls
data:
ca.crt: {{ $caCrt }}
tls.crt: {{ $serverCrt }}
tls.key: {{ $serverKey }}
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
ca:
secret:
name: {{ include "inbox-agent.fullname" . }}-webhook-cert
key: tls.crt
key: ca.crt
serverName: "{{ include "inbox-agent.fullname" . }}.{{ .Release.Namespace }}.svc"
{{- end }}
{{- end }}

0 comments on commit 3d46466

Please sign in to comment.