Skip to content

Commit

Permalink
Merge pull request #166 from intelops/default-plugin-support
Browse files Browse the repository at this point in the history
adding default application as plugin
  • Loading branch information
vramk23 authored Feb 17, 2024
2 parents c36cfe8 + b4c3dfb commit 23b4cd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/conf/proact-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ ReleaseName: "proact-scheduler"
Version: "0.1.0"
CreateNamespace: true
PrivilegedNamespace: true
PluginName: ProAct
PluginDescription: "ProAct"
OverrideValues:
DomainName: "{{.DomainName}}"
DomainName: "{{.DomainName}}"
4 changes: 4 additions & 0 deletions pkg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ type AppConfig struct {
CreateNamespace bool `yaml:"CreateNamespace"`
PrivilegedNamespace bool `yaml:"PrivilegedNamespace"`
TemplateValues []byte `yaml:"TemplateValues"`
PluginName string `yaml:"PluginName"`
PluginDescription string `yaml:"PluginDescription"`
}

type AWSClusterInfo struct {
Expand Down Expand Up @@ -104,6 +106,8 @@ func (a AppConfig) ToSyncAppData() (agentpb.SyncAppData, error) {
Icon: []byte(a.LaunchUIIcon),
LaunchURL: a.LaunchURL,
DefualtApp: true,
PluginName: a.PluginName,
PluginDescription: a.PluginDescription,
},
Values: &agentpb.AppValues{
OverrideValues: marshaledOverride,
Expand Down

0 comments on commit 23b4cd1

Please sign in to comment.