Skip to content
Open
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
59 changes: 59 additions & 0 deletions apis/installer/v1alpha1/ace_ace_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ type AceSpec struct {
PlatformUi AcePlatformUi `json:"platform-ui"`
ClusterUi AceClusterUi `json:"cluster-ui"`
Grafana AceGrafana `json:"grafana"`
Perses AcePerses `json:"perses"`
KubedbUi AceKubedbUi `json:"kubedb-ui"`
PlatformApi AcePlatformApi `json:"platform-api"`
IngressNginx AceIngressNginx `json:"ingress-nginx"`
Expand Down Expand Up @@ -123,6 +124,11 @@ type AceGrafana struct {
*GrafanaSpec `json:",inline,omitempty"`
}

type AcePerses struct {
Enabled bool `json:"enabled"`
*PersesSpec `json:",inline,omitempty"`
}

type AceKubedbUi struct {
Enabled bool `json:"enabled"`
*KubedbUiSpec `json:",inline,omitempty"`
Expand Down Expand Up @@ -245,6 +251,54 @@ type KubeStashSpec struct {
StorageSecret wizardsapi.OptionalResource `json:"storageSecret"`
}

type PersesSpec struct {
Config PersesConfig `json:"config"`
Env []core.EnvVar `json:"env"`
PodAnnotations map[string]string `json:"podAnnotations"`
}

type PersesConfig struct {
APIPrefix string `json:"api_prefix,omitempty"`
Security SecurityConfig `json:"security,omitempty"`
Database DatabaseConfig `json:"database,omitempty"`
}

type SecurityConfig struct {
EnableAuth bool `json:"enable_auth,omitempty"`
EncryptionKey string `json:"encryption_key,omitempty"`
Authentication AuthenticationConfig `json:"authentication,omitempty"`
Authorization AuthorizationConfig `json:"authorization,omitempty"`
}

type AuthenticationConfig struct {
Providers AuthProviders `json:"providers,omitempty"`
}

type AuthProviders struct {
EnableNative bool `json:"enable_native,omitempty"`
}

type AuthorizationConfig struct {
GuestPermissions []Permission `json:"guest_permissions,omitempty"`
}

type Permission struct {
Actions []string `json:"actions,omitempty"`
Scopes []string `json:"scopes,omitempty"`
}

type DatabaseConfig struct {
SQL SQLConfig `json:"sql,omitempty"`
}

type SQLConfig struct {
User string `json:"user,omitempty"`
Password string `json:"password,omitempty"`
Address string `json:"addr,omitempty"`
DBName string `json:"db_name,omitempty"`
AllowNativePasswords bool `json:"allow_native_passwords,omitempty"`
}

type InfraDns struct {
catgwapi.GatewayDns `json:",inline,omitempty"`
// +optional
Expand Down Expand Up @@ -310,6 +364,7 @@ type Settings struct {
Platform PlatformSettings `json:"platform"`
Security SecuritySettings `json:"security"`
Grafana GrafanaSettings `json:"grafana"`
Perses PersesSettings `json:"perses"`
InboxServer InboxServerSettings `json:"inboxServer"`
Contract ContractStorage `json:"contract"`
Firebase FirebaseSettings `json:"firebase"`
Expand Down Expand Up @@ -420,6 +475,10 @@ type GrafanaSettings struct {
SecretKey string `json:"secretKey"`
}

type PersesSettings struct {
EncryptionKey string `json:"encryptionKey"`
}

type InboxServerSettings struct {
JmapURL string `json:"jmapURL"`
WebAdminURL string `json:"webAdminURL"`
Expand Down
9 changes: 6 additions & 3 deletions apis/installer/v1alpha1/ace_options_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ type AceOptionsSpec struct {
PlatformUi AceOptionsComponentSpec `json:"platform-ui"`
ClusterUi AceOptionsComponentSpec `json:"cluster-ui"`
Grafana AceOptionsComponentSpec `json:"grafana"`
Perses AceOptionsComponentSpec `json:"perses"`
KubedbUi AceOptionsComponentSpec `json:"kubedb-ui"`
PlatformApi AceOptionsComponentSpec `json:"platform-api"`
Ingress AceOptionsIngressNginx `json:"ingress"`
Expand Down Expand Up @@ -514,9 +515,11 @@ type GeneratedValues struct {
// +optional
JKSPassword string `json:"jksPassword"`
// +optional
GrafanaSecretKey string `json:"grafanaSecretKey"`
InboxServer InboxServerValues `json:"inboxServer"`
OpenFGAServer OpenFGAServerValues `json:"openfga"`
GrafanaSecretKey string `json:"grafanaSecretKey"`
// +optional
PersesEncryptionKey string `json:"persesEncryptionKey"`
InboxServer InboxServerValues `json:"inboxServer"`
OpenFGAServer OpenFGAServerValues `json:"openfga"`
// InstallerSecret used by hosted mode (prod and ninja)
// to generate and validate marketplace self-hosted installer options
// +optional
Expand Down
211 changes: 211 additions & 0 deletions apis/installer/v1alpha1/zz_generated.deepcopy.go

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

2 changes: 2 additions & 0 deletions charts/ace-installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ The following table lists the configurable parameters of the `ace-installer` cha
| helm.releases.panopticon.enabled | | <code>true</code> |
| helm.releases.panopticon.version | | <code>"v2026.1.15"</code> |
| helm.releases.panopticon.values | | <code>{"monitoring":{"agent":"prometheus.io/operator","enabled":true,"serviceMonitor":{"labels":{"release":"kube-prometheus-stack"}}}}</code> |
| helm.releases.prom-label-proxy.enabled | | <code>false</code> |
| helm.releases.prom-label-proxy.version | | <code>"v2026.4.30"</code> |
| helm.releases.reloader.enabled | | <code>true</code> |
| helm.releases.reloader.version | | <code>"2.2.9"</code> |
| helm.releases.service-gateway-presets.enabled | | <code>false</code> |
Expand Down
Loading