Skip to content

Commit

Permalink
Merge branch 'master' into addDisableInheritanceForSpaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mmulholla authored Nov 8, 2023
2 parents 6261585 + b028ae4 commit ea1ae26
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 2 deletions.
18 changes: 17 additions & 1 deletion api/v1alpha1/memberoperatorconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ type ConsoleConfig struct {
RouteName *string `json:"routeName,omitempty"`
}

// GitHubSecret defines all secrets related to Che configuration
// GitHubSecret defines all secrets related to GitHub authentication/integration
// +k8s:openapi-gen=true
type GitHubSecret struct {
// The reference to the secret that is expected to contain the keys below
Expand Down Expand Up @@ -158,6 +158,22 @@ type WebhookConfig struct {
// Defines the flag that determines whether to deploy the Webhook
// +optional
Deploy *bool `json:"deploy,omitempty"`

// Defines all secrets related to webhook configuration
// +optional
Secret *WebhookSecret `json:"secret,omitempty"`
}

// WebhookSecret defines all secrets related to webhook configuration
// +k8s:openapi-gen=true
type WebhookSecret struct {
// The reference to the secret that is expected to contain the keys below
// +optional
ToolchainSecret `json:",inline"`

// The key in the secret values map that contains a comma-separated list of SSH keys
// +optional
VirtualMachineAccessKey *string `json:"virtualMachineAccessKey,omitempty"`
}

// WebConsolePlugin defines the configuration parameters relating to the Web Console Plugin
Expand Down
26 changes: 26 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 37 additions & 1 deletion api/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea1ae26

Please sign in to comment.