Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.8] Bug 1983644: Add a TechPreviewBadge for Multus #9539

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -14,3 +14,7 @@
.ceph__multus-dropdown-button {
min-width: 18em;
}

.ceph__multus-tech-preview-badge--margin {
margin: calc(var(--pf-global--spacer--xs) * -1) 0 0 calc(var(--pf-global--spacer--sm) * -2);
}
Expand Up @@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next';
import * as fuzzy from 'fuzzysearch';
import { FormGroup, Checkbox, Radio } from '@patternfly/react-core';
import { FieldLevelHelp, Firehose } from '@console/internal/components/utils';
import { getName, ResourceDropdown, useFlag } from '@console/shared';
import { TechPreviewBadge, getName, ResourceDropdown, useFlag } from '@console/shared';
import { NetworkAttachmentDefinitionKind } from '@console/network-attachment-definition-plugin/src/types';
import { NetworkAttachmentDefinitionModel } from '@console/network-attachment-definition-plugin';
import { referenceForModel, K8sResourceCommon } from '@console/internal/module/k8s';
Expand Down Expand Up @@ -256,6 +256,9 @@ export const NetworkFormGroup: React.FC<NetworkFormGroupProps> = ({
value={NetworkType.MULTUS}
id={NetworkType.MULTUS}
/>
<div className="ceph__multus-tech-preview-badge--margin">
<TechPreviewBadge />
</div>
</FormGroup>
{networkType === NetworkType.MULTUS && (
<>
Expand Down