Skip to content

Commit

Permalink
add google backend to crd
Browse files Browse the repository at this point in the history
Signed-off-by: JuHyung-Son <[email protected]>
  • Loading branch information
JuHyung-Son committed Apr 15, 2024
1 parent c142302 commit 7a808e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/k8sgpt_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type BackOff struct {

type AISpec struct {
// +kubebuilder:default:=openai
// +kubebuilder:validation:Enum=openai;localai;azureopenai;amazonbedrock;cohere;amazonsagemaker
// +kubebuilder:validation:Enum=openai;localai;azureopenai;amazonbedrock;cohere;amazonsagemaker;google
Backend string `json:"backend"`
BackOff *BackOff `json:"backOff,omitempty"`
BaseUrl string `json:"baseUrl,omitempty"`
Expand Down
3 changes: 2 additions & 1 deletion chart/operator/templates/k8sgpt-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ spec:
- amazonbedrock
- cohere
- amazonsagemaker
- google
type: string
baseUrl:
type: string
Expand Down Expand Up @@ -209,4 +210,4 @@ status:
kind: ""
plural: ""
conditions: []
storedVersions: []
storedVersions: []
1 change: 1 addition & 0 deletions config/crd/bases/core.k8sgpt.ai_k8sgpts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ spec:
- amazonbedrock
- cohere
- amazonsagemaker
- google
type: string
baseUrl:
type: string
Expand Down

0 comments on commit 7a808e6

Please sign in to comment.