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
6 changes: 6 additions & 0 deletions api/v1alpha5/backstage_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ type BackstageSpec struct {
// Configuration for Backstage. Optional.
Application *Application `json:"application,omitempty"`

// Flavor specifies a pre-configured template for Backstage deployment (e.g., "orchestrator", "ai").
// When specified, operator loads default configuration from the flavor template instead of standard defaults.
// Optional.
// +optional
Flavor string `json:"flavor,omitempty"`

// Raw Runtime RuntimeObjects configuration. For Advanced scenarios.
RawRuntimeConfig *RuntimeConfig `json:"rawRuntimeConfig,omitempty"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
}
}
]
createdAt: "2026-01-16T15:03:29Z"
createdAt: "2026-01-19T14:28:25Z"
description: Backstage Operator
operators.operatorframework.io/builder: operator-sdk-v1.37.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
Expand Down
6 changes: 6 additions & 0 deletions bundle/backstage.io/manifests/rhdh.redhat.com_backstages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,12 @@ spec:
Optional.
x-kubernetes-preserve-unknown-fields: true
type: object
flavor:
description: |-
Flavor specifies a pre-configured template for Backstage deployment (e.g., "orchestrator", "ai").
When specified, operator loads default configuration from the flavor template instead of standard defaults.
Optional.
type: string
monitoring:
default:
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ metadata:
categories: Developer Tools
certified: "true"
containerImage: registry.redhat.io/rhdh/rhdh-rhel9-operator:1.9
createdAt: "2026-01-16T15:03:30Z"
createdAt: "2026-01-19T14:28:27Z"
description: Red Hat Developer Hub is a Red Hat supported version of Backstage.
It comes with pre-built plug-ins and configuration settings, supports use of
an external database, and can help streamline the process of setting up a self-managed
Expand Down Expand Up @@ -374,6 +374,10 @@ spec:
- ALL
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /default-config/flavors/orchestrator
name: flavor-orchestrator
- mountPath: /default-config/flavors/ai
name: flavor-ai
- mountPath: /default-config
name: default-config
- mountPath: /plugin-deps
Expand All @@ -383,6 +387,14 @@ spec:
serviceAccountName: rhdh-controller-manager
terminationGracePeriodSeconds: 10
volumes:
- configMap:
name: rhdh-flavor-orchestrator
optional: true
name: flavor-orchestrator
- configMap:
name: rhdh-flavor-ai
optional: true
name: flavor-ai
- configMap:
name: rhdh-default-config
name: default-config
Expand Down
Loading