From aee6e7893a731b623fd3bf4f0c1f7bd8d35efae1 Mon Sep 17 00:00:00 2001 From: Xin Rong <79972061+AlinsRan@users.noreply.github.com> Date: Wed, 13 Apr 2022 15:57:01 +0800 Subject: [PATCH] fix ApisixConsumerBasicAuthValue password-yaml field error (#960) Co-authored-by: rongxin --- pkg/kube/apisix/apis/config/v2beta3/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kube/apisix/apis/config/v2beta3/types.go b/pkg/kube/apisix/apis/config/v2beta3/types.go index 780ded323b..3454d6ce10 100644 --- a/pkg/kube/apisix/apis/config/v2beta3/types.go +++ b/pkg/kube/apisix/apis/config/v2beta3/types.go @@ -342,7 +342,7 @@ type ApisixConsumerBasicAuth struct { // ApisixConsumerBasicAuthValue defines the in-place username and password configuration for basic auth. type ApisixConsumerBasicAuthValue struct { Username string `json:"username" yaml:"username"` - Password string `json:"password" yaml:"username"` + Password string `json:"password" yaml:"password"` } // ApisixConsumerKeyAuth defines the configuration for the key auth.