Skip to content

Commit

Permalink
Merge pull request openshift#7613 from cloudbehl/arbiter-request-data
Browse files Browse the repository at this point in the history
Bug 1909739: Arbiter request data modification
  • Loading branch information
openshift-merge-robot authored Dec 22, 2020
2 parents 69f90f6 + 448a3e7 commit 9a1c13c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ export const getOCSRequestData = (
kms: Object.assign(kmsEnable ? { enable: true } : {}),
},
arbiter: {
enabled: stretchClusterChecked,
zone: selectedArbiterZone,
enable: stretchClusterChecked,
},
nodeTopologies: {
arbiterLocation: selectedArbiterZone,
},
storageDeviceSets: [
createDeviceSet(
Expand Down
6 changes: 4 additions & 2 deletions frontend/packages/ceph-storage-plugin/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ export type StorageClusterKind = K8sResourceCommon & {
};
};
arbiter: {
enabled: boolean;
zone: string;
enable: boolean;
};
nodeTopologies: {
arbiterLocation: string;
};
flexibleScaling?: boolean;
monDataDirHostPath?: string;
Expand Down

0 comments on commit 9a1c13c

Please sign in to comment.