Skip to content

Commit

Permalink
Add Selfsigned issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
mbjtrifork committed Aug 8, 2023
1 parent 1eff559 commit 2962854
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion charts/flink-job/templates/cert.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{{- if .Values.internalSsl.enabled -}}
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: {{ printf "%s-mtls-issuer" ( include "flink-job.name" . ) | quote }}
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
Expand All @@ -7,7 +13,7 @@ metadata:
spec:
secretName: {{ printf "%s-mtls-secret" ( include "flink-job.name" . ) | quote }}
issuerRef:
name: flink-ca
name: {{ printf "%s-mtls-issuer" ( include "flink-job.name" . ) | quote }}
keystores:
jks:
create: true
Expand Down

0 comments on commit 2962854

Please sign in to comment.