Can not set distributed logs in different namespace than a cluster using UI
Summary
Can not set distributed logs in different namespace than a cluster using UI
Current Behaviour
An error is returned:
Steps to reproduce
- Install StackGres operator in stackgres namespace
- Create a distributed logs in the stackgres namespace
- Create a cluster in default namespace that uses the created distributed logs
Expected Behaviour
The cluster is created
Possible Solution
The cluster field value for .spec.distributedLogs.sgDistributedLogs
should be prefixed with <distributed logs namespace>.
if the distributed logs namespace differ from the cluster namespace
Environment
- StackGres version: 0.9.5-SNAPSHOT
- Kubernetes version: 1.16.9
- Cloud provider or hardware configuration: Baremetal / 16 Cores / 64GB RAM / 1TB SSD