Skip to content

Commit

Permalink
fix ApisixConsumerBasicAuthValue password-yaml field error (#960)
Browse files Browse the repository at this point in the history
Co-authored-by: rongxin <rongxin@api7.ai>
  • Loading branch information
2 people authored and tao12345666333 committed Apr 22, 2022
1 parent 4d087b3 commit e259826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kube/apisix/apis/config/v2beta3/types.go
Expand Up @@ -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.
Expand Down

0 comments on commit e259826

Please sign in to comment.