Skip to content

Commit

Permalink
Chart: Improve semverCompare. (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko authored Dec 11, 2024
1 parent e17ffbf commit cb7e0de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"TLS_RSA_WITH_AES_128_CBC_SHA"
"TLS_RSA_WITH_AES_128_GCM_SHA256"
}}
{{- if semverCompare "<1.30.0" $k8sVersion }}
{{- if or (eq $k8sVersion "N/A") (semverCompare "<1.30.0-0" $k8sVersion) }}
{{- $ciphers = concat $ciphers (list "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305" "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305") }}
{{- end }}
{{- toYaml $ciphers }}
Expand Down

0 comments on commit cb7e0de

Please sign in to comment.