Skip to content
Merged
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
8 changes: 8 additions & 0 deletions src/openapi/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,14 @@ Settings:
platformAdmin: [read-any, update-any]
teamAdmin: []
teamMember: []
aiEnabled:
type: boolean
default: false
description: Defines if APL enables AI/ML components
x-acl:
platformAdmin: [read-any, update-any]
teamAdmin: []
teamMember: []
globalPullSecret:
nullable: true
title: Global pullsecret
Expand Down
3 changes: 3 additions & 0 deletions src/openapi/settingsinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ SettingsInfo:
isPreInstalled:
type: boolean
default: false
aiEnabled:
type: boolean
default: false
hasExternalIDP:
type: boolean
default: false
Expand Down
2 changes: 1 addition & 1 deletion src/otomi-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default class OtomiStack {
return {
cluster: pick(this.repoService.getCluster(), ['name', 'domainSuffix', 'apiServer', 'provider']),
dns: pick(this.repoService.getDns(), ['zones']),
otomi: pick(this.repoService.getOtomi(), ['hasExternalDNS', 'hasExternalIDP', 'isPreInstalled']),
otomi: pick(this.repoService.getOtomi(), ['hasExternalDNS', 'hasExternalIDP', 'isPreInstalled', 'aiEnabled']),
smtp: pick(this.repoService.getSmtp(), ['smarthost']),
ingressClassNames: map(this.repoService.getIngress()?.classes, 'className') ?? [],
} as SettingsInfo
Expand Down
Loading