s3 region now configurable by helm values
This commit is contained in:
parent
8d1ad692e5
commit
075accef2d
4 changed files with 15 additions and 0 deletions
|
@ -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) | [] |
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -12,4 +12,7 @@ stringData:
|
|||
secretAccessKey: {{ .Values.secret.secretKey }}
|
||||
{{- end }}
|
||||
endpoint: {{ .Values.secret.endpoint }}
|
||||
{{- if .Values.secret.region }}
|
||||
region: {{ .Values.secret.region }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -37,6 +37,8 @@ secret:
|
|||
secretKey: ""
|
||||
# Endpoint
|
||||
endpoint: https://storage.yandexcloud.net
|
||||
# Region
|
||||
region: ""
|
||||
|
||||
tolerations:
|
||||
all: false
|
||||
|
|
Loading…
Reference in a new issue