generated from cloudnative-pg/cnpg-template
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The Azure credentials validation (inherited from barman-cloud dependency) allows users to specify storageKey or storageSasToken without specifying storageAccount in the ObjectStore resource. This configuration passes validation but fails at runtime.
Example invalid ObjectStore configuration that currently passes validation:
apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
name: azure-store
spec:
configuration:
destinationPath: https://mystorageaccount.blob.core.windows.net/backups
azureCredentials:
storageKey:
name: azure-secret
key: storage-key
# Missing storageAccount - passes validation but fails at runtime!
wal:
compression: gzip
data:
compression: bzip2There is an existing PR on barman-cloud fixing the issue cloudnative-pg/barman-cloud#177
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working