[bitnami/influxdb] Add support custom endpoint s3 for backups (#21211)

* [bitnami/influxdb] Add support custom endpoint s3 for backups

Signed-off-by: Livio Tinnirello <tinnirellolivio@gmail.com>

* [bitnami/influxdb] Bump version Chart.yaml version

Signed-off-by: Livio Tinnirello <tinnirellolivio@gmail.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Livio Tinnirello <tinnirellolivio@gmail.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Fenrur
2023-12-05 13:55:21 +01:00
committed by GitHub
parent 9aeeb85e8b
commit 6e2af9626f
5 changed files with 14 additions and 1 deletions

View File

@@ -37,4 +37,4 @@ maintainers:
name: influxdb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/influxdb
version: 5.10.2
version: 5.11.0

View File

@@ -325,6 +325,7 @@ The command removes all the Kubernetes components associated with the chart and
| `backup.uploadProviders.aws.region` | Region of aws s3 bucket | `us-east-1` |
| `backup.uploadProviders.aws.existingSecret` | Name of existing secret object | `""` |
| `backup.uploadProviders.aws.bucketName` | aws s3 bucket name | `s3://bucket/influxdb` |
| `backup.uploadProviders.aws.endpoint` | aws s3 endpoint, no value default public endpoint aws s3 endpoint | `""` |
| `backup.uploadProviders.aws.image.registry` | AWS CLI image registry | `REGISTRY_NAME` |
| `backup.uploadProviders.aws.image.repository` | AWS CLI image repository | `REPOSITORY_NAME/aws-cli` |
| `backup.uploadProviders.aws.image.digest` | AWS CLI image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |

View File

@@ -197,6 +197,15 @@ spec:
name: {{ include "common.names.fullname" . }}-backup-aws
{{- end }}
key: region
- name: AWS_ENDPOINT_URL_S3
valueFrom:
secretKeyRef:
{{- if .Values.backup.uploadProviders.aws.existingSecret }}
name: {{ .Values.backup.uploadProviders.aws.existingSecret | quote }}
{{- else }}
name: {{ include "common.names.fullname" . }}-backup-aws
{{- end }}
key: endpoint
volumeMounts:
- name: {{ include "common.names.fullname" . }}-backups
mountPath: {{ .Values.backup.directory | quote }}

View File

@@ -49,5 +49,6 @@ data:
accessKeyID: {{ .Values.backup.uploadProviders.aws.accessKeyID | b64enc | quote }}
secretAccessKey: {{ .Values.backup.uploadProviders.aws.secretAccessKey | b64enc | quote }}
region: {{ .Values.backup.uploadProviders.aws.region | b64enc | quote }}
endpoint: {{ .Values.backup.uploadProviders.aws.endpoint | b64enc | quote }}
{{- end }}
{{- end }}

View File

@@ -1046,12 +1046,14 @@ backup:
## @param backup.uploadProviders.aws.region Region of aws s3 bucket
## @param backup.uploadProviders.aws.existingSecret Name of existing secret object
## @param backup.uploadProviders.aws.bucketName aws s3 bucket name
## @param backup.uploadProviders.aws.endpoint aws s3 endpoint, no value default public endpoint aws s3 endpoint
enabled: false
accessKeyID: ""
secretAccessKey: ""
region: "us-east-1"
existingSecret: ""
bucketName: "s3://bucket/influxdb"
endpoint: ""
## Bitnami AWS CLI image
## ref: https://hub.docker.com/r/bitnami/aws-cli/tags
## @param backup.uploadProviders.aws.image.registry [default: REGISTRY_NAME] AWS CLI image registry