From 33833b3a37683e29c8bd567d044eb86c448e4673 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Fri, 31 Jan 2020 09:29:36 -0700 Subject: [PATCH] Add fields to support multiple clientID in github --- apis/management.cattle.io/v3/authn_types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index fc733e48..c584b065 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -150,6 +150,10 @@ type GithubConfig struct { 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"` + + // AdditionalClientIDs is a map of clientID to client secrets + AdditionalClientIDs map[string]string `json:"additionalClientIds,omitempty" norman:"nocreate,noupdate"` + HostnameToClientID map[string]string `json:"hostnameToClientId,omitempty" norman:"nocreate,noupdate"` } type GithubConfigTestOutput struct {