Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/netbird-operator/templates/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ spec:
kind: Issuer
name: {{ template "netbird-operator.fullname" . }}-selfsigned-issuer
secretName: {{ template "netbird-operator.webhookCertSecret" . }}
{{- with .Values.webhook.certManagerPrivateKey }}
privateKey:
{{- toYaml . | nindent 4 }}
{{- end }}
---
apiVersion: cert-manager.io/v1
kind: Issuer
Expand Down
3 changes: 3 additions & 0 deletions charts/netbird-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ webhook:
# Use cert-manager to provision webhook certificates (recommended)
enableCertManager: true

# Private key settings for the cert-manager Certificate, e.g. {algorithm: ECDSA, size: 256}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
certManagerPrivateKey: {}

# Narrow down validation and mutation webhooks namespaces
namespaceSelectors: []
# - key: foo
Expand Down