Skip to content

Commit dafa411

Browse files
Merge pull request #620 from erikgb/fix-helm-tls
Fix new Helm TLS args
2 parents e1a7a2f + 153bd6f commit dafa411

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

deploy/charts/trust-manager/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Whether to filter expired certificates from the trust bundle.
345345
> ```
346346
347347
Minimum TLS version supported. If omitted, the default Go minimum version will be used.
348-
#### **app.ciphersSuite** ~ `string`
348+
#### **app.cipherSuites** ~ `string`
349349
> Default value:
350350
> ```yaml
351351
> ""

deploy/charts/trust-manager/templates/deployment.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,12 @@ spec:
8282
initialDelaySeconds: 3
8383
periodSeconds: 7
8484
args:
85-
- "--tls-min-version={{.Values.app.minTLSVersion}}"
86-
- "--tls-cipher-suites={{.Values.app.ciphersSuite}}"
85+
{{- with .Values.app.minTLSVersion }}
86+
- "--tls-min-version={{.}}"
87+
{{- end }}
88+
{{- with .Values.app.cipherSuites }}
89+
- "--tls-cipher-suites={{.}}"
90+
{{- end }}
8791
- "--log-format={{.Values.app.logFormat}}"
8892
- "--log-level={{.Values.app.logLevel}}"
8993
- "--metrics-port={{.Values.app.metrics.port}}"

deploy/charts/trust-manager/values.schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
"helm-values.app": {
9393
"additionalProperties": false,
9494
"properties": {
95-
"ciphersSuite": {
96-
"$ref": "#/$defs/helm-values.app.ciphersSuite"
95+
"cipherSuites": {
96+
"$ref": "#/$defs/helm-values.app.cipherSuites"
9797
},
9898
"leaderElection": {
9999
"$ref": "#/$defs/helm-values.app.leaderElection"
@@ -131,7 +131,7 @@
131131
},
132132
"type": "object"
133133
},
134-
"helm-values.app.ciphersSuite": {
134+
"helm-values.app.cipherSuites": {
135135
"default": "",
136136
"description": "Comma-separated list of cipher suites for the server. If omitted, the default Go cipher suites will be used.",
137137
"type": "string"

deploy/charts/trust-manager/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ app:
203203
minTLSVersion: ""
204204

205205
# Comma-separated list of cipher suites for the server. If omitted, the default Go cipher suites will be used.
206-
ciphersSuite: ""
206+
cipherSuites: ""
207207

208208
# The format of trust-manager logging. Accepted values are text or json.
209209
logFormat: text

0 commit comments

Comments
 (0)