s3 region now configurable by helm values

This commit is contained in:
Tamas Mohos 2023-09-18 17:27:59 +00:00
parent 8d1ad692e5
commit 075accef2d
4 changed files with 15 additions and 0 deletions

View file

@ -35,6 +35,7 @@ The following table lists all configuration parameters and their default values.
| `secret.accessKey` | S3 Access Key | |
| `secret.secretKey` | S3 Secret Key | |
| `secret.endpoint` | Endpoint | https://storage.yandexcloud.net |
| `secret.region` | Region | |
| `tolerations.all` | Tolerate all taints by the CSI-S3 node driver (mounter) | false |
| `tolerations.node` | Custom tolerations for the CSI-S3 node driver (mounter) | [] |
| `tolerations.controller` | Custom tolerations for the CSI-S3 controller (provisioner) | [] |

View file

@ -62,6 +62,15 @@ user_values:
ru: Адрес S3-сервиса, который будет использоваться.
string_value:
default_value: "https://storage.yandexcloud.net"
- name: secret.region
title:
en: S3 region
ru: S3 регион
description:
en: S3 service region to use
ru: Регион используемого сервиса S3.
string_value:
default_value: ""
- name: storageClass.mountOptions
title:
en: GeeseFS mount options

View file

@ -12,4 +12,7 @@ stringData:
secretAccessKey: {{ .Values.secret.secretKey }}
{{- end }}
endpoint: {{ .Values.secret.endpoint }}
{{- if .Values.secret.region }}
region: {{ .Values.secret.region }}
{{- end }}
{{- end -}}

View file

@ -37,6 +37,8 @@ secret:
secretKey: ""
# Endpoint
endpoint: https://storage.yandexcloud.net
# Region
region: ""
tolerations:
all: false