Skip to content

Commit e3c8666

Browse files
Merge pull request #13559 from sg00dwin/operatorhub-filter-by-gcptokenauth
CONSOLE-3776: Add GCP token auth to Infrastructure features filter section in OpertorHub
2 parents b269fa3 + de4982b commit e3c8666

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

frontend/packages/operator-lifecycle-manager/src/components/operator-hub/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export enum InfraFeatures {
3434
sno = 'Single Node Clusters',
3535
// eslint-disable-next-line @typescript-eslint/naming-convention
3636
TokenAuth = 'Short-lived token authentication',
37+
tokenAuthGCP = 'Auth Token GCP',
3738
}
3839

3940
export enum ValidSubscriptionValue {

frontend/packages/operator-lifecycle-manager/src/components/operator-hub/operator-hub-page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ export const OperatorHubList: React.FC<OperatorHubListProps> = ({
167167
[OperatorHubCSVAnnotationKey.tlsProfiles]: tlsProfiles,
168168
[OperatorHubCSVAnnotationKey.tokenAuthAWS]: tokenAuthAWS,
169169
[OperatorHubCSVAnnotationKey.tokenAuthAzure]: tokenAuthAzure,
170-
// tokenAuthGCP requires additional changes
171-
// [OperatorHubCSVAnnotationKey.tokenAuthGCP]: tokenAuthGCP,
170+
[OperatorHubCSVAnnotationKey.tokenAuthGCP]: tokenAuthGCP,
172171
[OperatorHubCSVAnnotationKey.actionText]: marketplaceActionText,
173172
[OperatorHubCSVAnnotationKey.remoteWorkflow]: marketplaceRemoteWorkflow,
174173
[OperatorHubCSVAnnotationKey.supportWorkflow]: marketplaceSupportWorkflow,
@@ -197,6 +196,7 @@ export const OperatorHubList: React.FC<OperatorHubListProps> = ({
197196
{ key: InfraFeatures.cni, value: cni },
198197
{ key: InfraFeatures.csi, value: csi },
199198
{ key: InfraFeatures.tlsProfiles, value: tlsProfiles },
199+
{ key: InfraFeatures.tokenAuthGCP, value: tokenAuthGCP },
200200
];
201201

202202
// override old with new

0 commit comments

Comments
 (0)