mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-19 19:16:17 +00:00
update tls configuration in helm chart (#900)
* update tls configuration in helm chart * typo fix
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 }}
|
||||
@@ -1,3 +0,0 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
Input your crt content.
|
||||
-----END CERTIFICATE-----
|
||||
@@ -1,3 +0,0 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
Input your private key.
|
||||
-----END PRIVATE KEY-----
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user