open-consul/acl/acl_oss.go
freddygv b4e48f0a70 Use split wildcard partition name
This way OSS avoids passing a non-empty label, which will be rejected in
OSS consul.
2022-10-13 16:55:28 -06:00

23 lines
490 B
Go

//go:build !consulent
// +build !consulent
package acl
const (
WildcardPartitionName = ""
DefaultPartitionName = ""
)
// Reviewer Note: This is a little bit strange; one might want it to be "" like partition name
// However in consul/structs/intention.go we define IntentionDefaultNamespace as 'default' and so
// we use the same here
const DefaultNamespaceName = "default"
type EnterpriseConfig struct {
// no fields in OSS
}
func (_ *EnterpriseConfig) Close() {
// do nothing
}