You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by kv...@apache.org on 2022/04/13 07:57:06 UTC

[apisix-ingress-controller] branch master updated: fix ApisixConsumerBasicAuthValue password-yaml field error (#960)

This is an automated email from the ASF dual-hosted git repository.

kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new aee6e789 fix ApisixConsumerBasicAuthValue password-yaml field error (#960)
aee6e789 is described below

commit aee6e7893a731b623fd3bf4f0c1f7bd8d35efae1
Author: Xin Rong <79...@users.noreply.github.com>
AuthorDate: Wed Apr 13 15:57:01 2022 +0800

    fix ApisixConsumerBasicAuthValue password-yaml field error (#960)
    
    Co-authored-by: rongxin <ro...@api7.ai>
---
 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 780ded32..3454d6ce 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.