Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions charts/ace-installer/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1540,12 +1540,25 @@ properties:
type: object
selfManagement:
properties:
argoCD:
properties:
deployPrincipal:
type: boolean
enabled:
type: boolean
existingKubeconfig:
type: string
principalServiceType:
type: string
type: object
createCAPICluster:
type: boolean
disableFeatures:
items:
type: string
type: array
enableCredLess:
type: boolean
enableFeatures:
items:
type: string
Expand Down
15 changes: 15 additions & 0 deletions charts/ace/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25193,12 +25193,25 @@ properties:
type: object
selfManagement:
properties:
argoCD:
properties:
deployPrincipal:
type: boolean
enabled:
type: boolean
existingKubeconfig:
type: string
principalServiceType:
type: string
type: object
createCAPICluster:
type: boolean
disableFeatures:
items:
type: string
type: array
enableCredLess:
type: boolean
enableFeatures:
items:
type: string
Expand Down Expand Up @@ -25241,6 +25254,8 @@ properties:
- serviceControlProxyToken
type: object
type: object
syncPersesAccounts:
type: boolean
type: object
hook:
properties:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.25.6

require (
go.bytebuilders.dev/catalog v0.1.0
go.bytebuilders.dev/resource-model v0.4.0
go.bytebuilders.dev/resource-model v0.4.1-0.20260907073146-deeffaf3c66e
go.bytebuilders.dev/ui-wizards v0.37.0
go.openviz.dev/installer v0.0.0-20260619044110-702becd1dd97
gomodules.xyz/go-sh v0.2.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ go.appscode.dev/alerts v0.2.1-0.20260811095631-791e5af59674 h1:zD3qTcb3tjUgP1cvv
go.appscode.dev/alerts v0.2.1-0.20260811095631-791e5af59674/go.mod h1:oG1OnN2JTilTTqGAHv4CCoqnvT3u0J8c7YgNny0Rj7g=
go.bytebuilders.dev/catalog v0.1.0 h1:nJ4NaHm/B00cSBGfJwNimA1i1KvHWXTU2ap0lpr4uOY=
go.bytebuilders.dev/catalog v0.1.0/go.mod h1:zXAS4yNzCueduM3glK0JDuPuJd2MDvCx2PtauRtzT7I=
go.bytebuilders.dev/resource-model v0.4.0 h1:wDXg4SGYn3zNRuOj17gGo0qeSE//ytdzGPSxkHa8JvA=
go.bytebuilders.dev/resource-model v0.4.0/go.mod h1:wGndjj3y+Yjh7+e8Wjc6joqzZCC16WZfKNx9adAFVkw=
go.bytebuilders.dev/resource-model v0.4.1-0.20260907073146-deeffaf3c66e h1:3kiFUChE/E+/yPuWwQ/C6U+Qja9r/9Sr5LVMrh0TRQY=
go.bytebuilders.dev/resource-model v0.4.1-0.20260907073146-deeffaf3c66e/go.mod h1:wGndjj3y+Yjh7+e8Wjc6joqzZCC16WZfKNx9adAFVkw=
go.bytebuilders.dev/ui-wizards v0.37.0 h1:TVlHcVSVFd9s55wGnc2GrI6ht+seKA85NWyctkQvQDY=
go.bytebuilders.dev/ui-wizards v0.37.0/go.mod h1:Gvl3KLmo5MQ2KNWM4p652q3Jj1NzYhIenAW4iX854Os=
go.openviz.dev/installer v0.0.0-20260619044110-702becd1dd97 h1:8fc2qZRqIL8swjMKUnmiWK/ijjEUQ9Zmhe3qRIkUrj8=
Expand Down
13 changes: 13 additions & 0 deletions schema/ace-options/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1282,12 +1282,25 @@ properties:
type: object
selfManagement:
properties:
argoCD:
properties:
deployPrincipal:
type: boolean
enabled:
type: boolean
existingKubeconfig:
type: string
principalServiceType:
type: string
type: object
createCAPICluster:
type: boolean
disableFeatures:
items:
type: string
type: array
enableCredLess:
type: boolean
enableFeatures:
additionalProperties:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ func Resource(resource string) schema.GroupResource {

// Adds the list of known types to api.Scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&CloudProvider{},
&CloudProviderList{},

Expand All @@ -64,7 +65,8 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&MachineTypeList{},
)

scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&metav1.Status{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ func Resource(resource string) schema.GroupResource {

// Adds the list of known types to api.Scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&AceSetupConfig{},
)

scheme.AddKnownTypes(SchemeGroupVersion,
scheme.AddKnownTypes(
SchemeGroupVersion,
&metav1.Status{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ type AceSetupInlineConfig struct {
Cluster *CAPIClusterConfig `json:"cluster,omitempty"`
// +optional
Subscription *MarketplaceSubscriptionInfo `json:"subscription,omitempty"`
// +optional
SyncPersesAccounts bool `json:"syncPersesAccounts,omitempty"`
}

type AceSetupInlineOptions struct {
Expand Down Expand Up @@ -113,6 +115,10 @@ type SelfManagement struct {
DisableFeatures []string `json:"disableFeatures"`
// +optional
UseGateway bool `json:"useGateway"`
// +optional
EnableCredLess bool `json:"enableCredLess"`
// +optional
ArgoCD ArgoCDOptions `json:"argoCD,omitempty"`
}

type SelfManagementOptions struct {
Expand All @@ -128,6 +134,10 @@ type SelfManagementOptions struct {
KubeAPIServer string `json:"kubeAPIServer,omitempty"`
// +optional
UseGateway bool `json:"useGateway"`
// +optional
EnableCredLess bool `json:"enableCredLess"`
// +optional
ArgoCD ArgoCDOptions `json:"argoCD,omitempty"`
}

type EnableFeaturesOptions map[string]FeatureSetOptions
Expand Down Expand Up @@ -169,9 +179,22 @@ func (opt SelfManagementOptions) ToConfig() SelfManagement {
DisableFeatures: sets.List(sets.New[string](opt.DisableFeatures...)),
KubeAPIServer: opt.KubeAPIServer,
UseGateway: opt.UseGateway,
EnableCredLess: opt.EnableCredLess,
ArgoCD: opt.ArgoCD,
}
}

type ArgoCDOptions struct {
// +optional
Enabled bool `json:"enabled,omitempty"`
// +optional
ExistingKubeconfig string `json:"existingKubeconfig,omitempty"`
// +optional
DeployPrincipal bool `json:"deployPrincipal,omitempty"`
// +optional
PrincipalServiceType string `json:"principalServiceType,omitempty"`
}

type CAPIClusterConfig struct {
ClusterName string `json:"clusterName,omitempty"`
Region string `json:"region,omitempty"`
Expand Down

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

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ go.appscode.dev/alerts/apis/alerts/v1alpha1
# go.bytebuilders.dev/catalog v0.1.0
## explicit; go 1.25.6
go.bytebuilders.dev/catalog/api/gateway/v1alpha1
# go.bytebuilders.dev/resource-model v0.4.0
# go.bytebuilders.dev/resource-model v0.4.1-0.20260907073146-deeffaf3c66e
## explicit; go 1.25
go.bytebuilders.dev/resource-model/apis/cloud
go.bytebuilders.dev/resource-model/apis/cloud/v1alpha1
Expand Down
Loading