From e259826633a3d50930417cfb88da94989256945c 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 58c4c14730..2cd9bd7acd 100644 --- a/pkg/kube/apisix/apis/config/v2beta3/types.go +++ b/pkg/kube/apisix/apis/config/v2beta3/types.go @@ -341,7 +341,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.