[v10.1.x] Provisioning: Fix overwrite SecureJSONData on provisioning (#72455)

Provisioning: Fix overwrite SecureJSONData on provisioning (#72395)

* Overwrite SecureJSONData on provisioning

(cherry picked from commit a912c970e3)

Co-authored-by: Hugo Kiyodi Oshiro <hugo.oshiro@grafana.com>
This commit is contained in:
grafana-delivery-bot[bot]
2023-07-27 15:52:34 +02:00
committed by GitHub
co-authored by Hugo Kiyodi Oshiro
parent 3dc60cd2d7
commit a8ee1f1b8f
4 changed files with 113 additions and 19 deletions
+1
View File
@@ -134,6 +134,7 @@ type UpdateDataSourceCommand struct {
ReadOnly bool `json:"-"`
EncryptedSecureJsonData map[string][]byte `json:"-"`
UpdateSecretFn UpdateSecretFn `json:"-"`
IgnoreOldSecureJsonData bool `json:"-"`
}
// DeleteDataSourceCommand will delete a DataSource based on OrgID as well as the UID (preferred), ID, or Name.