mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[mysqldump] Only use the bucketname for the permission and not the folder inside (#10896)
Signed-off-by: tim.smyth <tim.smyth@kiwigrid.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b3b11e3844
commit
74a7b1728b
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 2.0.0
|
||||
description: A Helm chart to help backup MySQL databases using mysqldump
|
||||
name: mysqldump
|
||||
version: 2.1.2
|
||||
version: 2.1.3
|
||||
keywords:
|
||||
- mysql
|
||||
- mysqldump
|
||||
|
||||
@@ -14,7 +14,7 @@ spec:
|
||||
serviceAccountDescription: Service account for accessing a storage bucket for mysql backups
|
||||
secretName: {{ template "mysqldump.gcpsecretName" . }}
|
||||
bindings:
|
||||
- resource: buckets/{{ .Values.upload.googlestoragebucket.bucketname | replace "gs://" "" }}
|
||||
- resource: buckets/{{ index (splitList "/" (.Values.upload.googlestoragebucket.bucketname | replace "gs://" "")) 0 }}
|
||||
roles:
|
||||
- roles/storage.objectAdmin
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user