1
0
mirror of https://github.com/rancher/types.git synced 2025-09-25 12:21:24 +00:00

Change GH norman tag from noupdate to required

This commit is contained in:
rajashree
2018-05-18 16:27:26 -07:00
committed by Alena Prokharchyk
parent f2566f3a00
commit 541317493f

View File

@@ -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 {