Skip to content

Commit 94f338c

Browse files
authored
upcoming: [M3-10125] - Add feature flag support for Cloud NAT (linode#12388)
## Description 📝 Add feature flag support for Cloud NAT ## How to test 🧪 ### Verification steps (How to verify changes) - [ ] Checkout this PR or PR preview link - [ ] Verify Cloud NAT is present in the Dev Tools Feature Flags section - [ ] Verify Cloud NAT in the LD response
1 parent 93fd44e commit 94f338c

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Upcoming Features
3+
---
4+
5+
Add feature flag support for Cloud NAT ([#12388](https://github.com/linode/manager/pull/12388))

packages/manager/src/dev-tools/FeatureFlagTool.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const options: { flag: keyof Flags; label: string }[] = [
2626
{ flag: 'apl', label: 'Akamai App Platform' },
2727
{ flag: 'aplGeneralAvailability', label: 'Akamai App Platform GA' },
2828
{ flag: 'blockStorageEncryption', label: 'Block Storage Encryption (BSE)' },
29+
{ flag: 'cloudNat', label: 'Cloud NAT' },
2930
{ flag: 'disableLargestGbPlans', label: 'Disable Largest GB Plans' },
3031
{ flag: 'gecko2', label: 'Gecko' },
3132
{ flag: 'limitsEvolution', label: 'Limits Evolution' },

packages/manager/src/featureFlags.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ interface LkeEnterpriseFlag extends BaseFeatureFlag {
7070
la: boolean;
7171
}
7272

73+
interface CloudNatFlag extends BetaFeatureFlag {
74+
ga: boolean;
75+
la: boolean;
76+
}
77+
7378
export interface CloudPulseResourceTypeMapFlag {
7479
dimensionKey: string;
7580
maxResourceSelections?: number;
@@ -126,6 +131,7 @@ export interface Flags {
126131
aplGeneralAvailability: boolean;
127132
blockStorageEncryption: boolean;
128133
cloudManagerDesignUpdatesBanner: DesignUpdatesBannerFlag;
134+
cloudNat: CloudNatFlag;
129135
databaseAdvancedConfig: boolean;
130136
databaseBeta: boolean;
131137
databaseResize: boolean;

0 commit comments

Comments
 (0)