1
0
mirror of https://github.com/rancher/types.git synced 2025-07-31 04:49:37 +00:00

Add password tag to google oauth creds fields

This commit is contained in:
rajashree 2019-06-11 13:54:30 -07:00 committed by Alena Prokharchyk
parent 7e7e207d1a
commit cba0b401b4

View File

@ -167,8 +167,8 @@ type GoogleOauthConfig struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
AuthConfig `json:",inline" mapstructure:",squash"`
OauthCredential string `json:"oauthCredential,omitempty" norman:"required"`
ServiceAccountCredential string `json:"serviceAccountCredential,omitempty"`
OauthCredential string `json:"oauthCredential,omitempty" norman:"required,type=password"`
ServiceAccountCredential string `json:"serviceAccountCredential,omitempty" norman:"type=password"`
AdminEmail string `json:"adminEmail,omitempty"`
Hostname string `json:"hostname,omitempty" norman:"required"`
UserInfoEndpoint string `json:"userInfoEndpoint" norman:"default=https://openidconnect.googleapis.com/v1/userinfo,required,notnullable"`