From 541317493fc0acd135d4ceba0ac2fe3dbe84d804 Mon Sep 17 00:00:00 2001 From: rajashree Date: Fri, 18 May 2018 16:27:26 -0700 Subject: [PATCH] Change GH norman tag from noupdate to required --- apis/management.cattle.io/v3/authn_types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index f0e04c04..21501e6b 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -100,10 +100,10 @@ type GithubConfig struct { metav1.ObjectMeta `json:"metadata,omitempty"` AuthConfig `json:",inline" mapstructure:",squash"` - Hostname string `json:"hostname,omitempty" norman:"default=github.com" norman:"noupdate"` - TLS bool `json:"tls,omitempty" norman:"notnullable,default=true" norman:"noupdate"` - ClientID string `json:"clientId,omitempty" norman:"noupdate"` - ClientSecret string `json:"clientSecret,omitempty" norman:"noupdate,type=password"` + Hostname string `json:"hostname,omitempty" norman:"default=github.com" norman:"required"` + TLS bool `json:"tls,omitempty" norman:"notnullable,default=true" norman:"required"` + ClientID string `json:"clientId,omitempty" norman:"required"` + ClientSecret string `json:"clientSecret,omitempty" norman:"required,type=password"` } type GithubConfigTestOutput struct {