2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2020-01-14 15:09:29 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package kubeauth
|
|
|
|
|
2022-04-05 21:10:06 +00:00
|
|
|
import (
|
|
|
|
"github.com/hashicorp/consul/acl"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
|
|
)
|
2020-01-14 15:09:29 +00:00
|
|
|
|
|
|
|
type enterpriseConfig struct{}
|
|
|
|
|
2020-05-06 18:48:04 +00:00
|
|
|
func enterpriseValidation(method *structs.ACLAuthMethod, config *Config) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-04-05 21:10:06 +00:00
|
|
|
func (v *Validator) k8sEntMetaFromFields(fields map[string]string) *acl.EnterpriseMeta {
|
2020-05-01 22:35:28 +00:00
|
|
|
return nil
|
2020-01-14 15:09:29 +00:00
|
|
|
}
|