mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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 | `""` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user