update tls configuration in helm chart (#900)

* update tls configuration in helm chart

* typo fix
This commit is contained in:
majinghe
2025-11-20 22:20:11 +08:00
committed by GitHub
parent 18cd9a8b46
commit 2b268fdd7f
6 changed files with 51 additions and 26 deletions
+2 -2
View File
@@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.0-alpha.69
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
appVersion: "1.0.0-alpha.69"
+5 -5
View File
@@ -1,10 +1,10 @@
{{- if .Values.ingress.enabled }}
{{- if .Values.tls.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "rustfs.fullname" . }}-tls
type: Opaque
type: kubernetes.io/tls
data:
tls.crt : {{ .Files.Get "tls/tls.crt" | b64enc | quote }}
tls.key : {{ .Files.Get "tls/tls.key" | b64enc | quote }}
{{- end }}
tls.crt : {{ .Values.tls.crt | b64enc | quote }}
tls.key : {{ .Values.tls.key | b64enc | quote }}
{{- end }}
-3
View File
@@ -1,3 +0,0 @@
-----BEGIN CERTIFICATE-----
Input your crt content.
-----END CERTIFICATE-----
-3
View File
@@ -1,3 +0,0 @@
-----BEGIN PRIVATE KEY-----
Input your private key.
-----END PRIVATE KEY-----
+7 -2
View File
@@ -80,7 +80,7 @@ service:
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
ingress:
enabled: true
className: "" # Specify the classname, traefik or nginx. Different classname has different annotations for session sticky.
className: "traefik" # Specify the classname, traefik or nginx. Different classname has different annotations for session sticky.
traefikAnnotations:
traefik.ingress.kubernetes.io/service.sticky.cookie: "true"
traefik.ingress.kubernetes.io/service.sticky.cookie.httponly: "true"
@@ -101,7 +101,12 @@ ingress:
tls:
- secretName: rustfs-tls
hosts:
- xmg.rustfs.com
- your.rustfs.com
tls:
enabled: false
crt: tls.crt
key: tls.key
resources:
# We usually recommend not to specify default resources and to leave this as a conscious