2023-03-28 18:39:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
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
|
|
|
}
|