Skip to content

Commit

Permalink
fix: base64 encode cert templates
Browse files Browse the repository at this point in the history
  • Loading branch information
seagyn committed Apr 17, 2024
1 parent 58a940d commit c584ce4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions charts/confluent/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: lsdmesp-confluent
version: "0.3.3"
appVersion: "0.3.3"
version: "0.3.4"
appVersion: "0.3.4"
description: 'LSDMESP CFK: LSD Event Streaming Platform with Confluent Operator'
keywords:
- lsdmesp
Expand Down
8 changes: 3 additions & 5 deletions charts/confluent/templates/000.ca-pair-sslcerts-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
apiVersion: v1
stringData:
tls.crt: |
{{ .Values.lsdmesp.tls.ca.cert }}
tls.key: |
{{ .Values.lsdmesp.tls.ca.key }}
data:
tls.crt: {{ .Values.lsdmesp.tls.ca.cert | b64enc }}
tls.key: {{ .Values.lsdmesp.tls.ca.key | b64enc }}
kind: Secret
metadata:
name: ca-pair-sslcerts
Expand Down
8 changes: 3 additions & 5 deletions charts/confluent/templates/000.mds-token-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
apiVersion: v1
stringData:
mdsPublicKey.pem: |
{{ .Values.lsdmesp.tls.mds.key }}
mdsTokenKeyPair.pem: |
{{ .Values.lsdmesp.tls.mds.publicKey }}
data:
mdsPublicKey.pem: {{ .Values.lsdmesp.tls.mds.key | b64enc }}
mdsTokenKeyPair.pem: {{ .Values.lsdmesp.tls.mds.publicKey | b64enc }}
kind: Secret
metadata:
name: mds-token
Expand Down

0 comments on commit c584ce4

Please sign in to comment.