Skip to content

Commit 7815699

Browse files
add feature flag for perses observability dashboard (opendatahub-io#5907)
1 parent 02568b4 commit 7815699

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

frontend/src/concepts/areas/const.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const techPreviewFlags = {
88
aiCatalogSettings: false,
99
mlflow: false,
1010
projectRBAC: false,
11+
observabilityDashboard: false,
1112
} satisfies Partial<DashboardCommonConfig>;
1213

1314
export const devTemporaryFeatureFlags = {

frontend/src/k8sTypes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,6 +1306,7 @@ export type DashboardCommonConfig = {
13061306
mlflow?: boolean;
13071307
projectRBAC?: boolean;
13081308
embedMLflow?: boolean;
1309+
observabilityDashboard?: boolean;
13091310
};
13101311

13111312
// [1] Intentionally disjointed fields from the CRD in this type definition

manifests/common/crd/odhdashboardconfigs.opendatahub.io.crd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ spec:
111111
type: boolean
112112
trainingJobs:
113113
type: boolean
114+
observabilityDashboard:
115+
type: boolean
114116
x-kubernetes-validations:
115117
- rule: '!has(self.disableAcceleratorProfiles) || self.disableAcceleratorProfiles == oldSelf.disableAcceleratorProfiles'
116118
message: 'DEPRECATED: spec.dashboardConfig.disableAcceleratorProfiles must be removed or left unchanged.'

packages/observability/extensions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const extensions: (AreaExtension | HrefNavItemExtension | RouteExtension)[] = [
1111
type: 'app.area',
1212
properties: {
1313
id: PLUGIN_OBSERVABILITY,
14-
devFlags: ['Observability'],
14+
featureFlags: ['observabilityDashboard'],
1515
},
1616
},
1717
{

0 commit comments

Comments
 (0)