Skip to content

Commit

Permalink
Merge pull request #56 from pluralsh/backup-restore-pricing
Browse files Browse the repository at this point in the history
Add backup/restore to pricing pages
  • Loading branch information
michaeljguarino authored Sep 5, 2023
2 parents cf551b7 + b40c0d4 commit 7de0c56
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ help:
yarn-install: .PHONY
yarn

web: yarn ## runs the docs site locally
web: yarn-install ## runs the docs site locally
yarn dev
28 changes: 19 additions & 9 deletions src/data/getPricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const proPlanBase: Plan = {
{ label: 'Multi-cluster management' },
{ label: 'Dev → Prod promotion flows' },
{ label: 'Advanced user management' },
{ label: 'Backup/Restore' },
{ label: 'Audit logs' },
{ label: 'VPN' },
{ label: 'Emergency hotfixes' },
Expand Down Expand Up @@ -146,6 +147,24 @@ const plansFeatures: PlansFeatures = [
enterprise: { checked: true },
},
},
{
label: 'VPN',
definition: 'Virtual private network',
values: {
free: { checked: false },
pro: { checked: true },
enterprise: { checked: true },
},
},
{
label: 'Backup/Restore',
definition: 'Point-in-time backup and restore for application databases',
values: {
free: { checked: false },
pro: { checked: true },
enterprise: { checked: true },
},
},
{
label: 'Service accounts',
values: {
Expand Down Expand Up @@ -227,15 +246,6 @@ const plansFeatures: PlansFeatures = [
enterprise: { label: 'SSO + Google OAuth + OIDC' },
},
},
{
label: 'VPN',
definition: 'Virtual private network',
values: {
free: { checked: false },
pro: { checked: true },
enterprise: { checked: true },
},
},
{
label: 'Audit logs',
values: {
Expand Down
17 changes: 17 additions & 0 deletions src/generated/graphqlDirectus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,8 @@ export type App_Defaults = {
case_study?: Maybe<Case_Studies>;
id: Scalars['ID']['output'];
quotes?: Maybe<Quote_Lists>;
secondary_text?: Maybe<Scalars['String']['output']>;
secondary_title?: Maybe<Scalars['String']['output']>;
};


Expand All @@ -703,8 +705,14 @@ export type Apps = {
__typename?: 'apps';
case_study?: Maybe<Case_Studies>;
heroVideo?: Maybe<Scalars['String']['output']>;
/** Optional - Default comes from main Plural API */
hero_text?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
name?: Maybe<Scalars['String']['output']>;
/** Optional - Default set in App Defaults */
secondary_text?: Maybe<Scalars['String']['output']>;
/** Optional - Default set in App Defaults */
secondary_title?: Maybe<Scalars['String']['output']>;
};


Expand Down Expand Up @@ -736,8 +744,14 @@ export type Apps_Aggregated_Count = {
/** Use to override default case study on individual app page */
case_study?: Maybe<Scalars['Int']['output']>;
heroVideo?: Maybe<Scalars['Int']['output']>;
/** Optional - Default comes from main Plural API */
hero_text?: Maybe<Scalars['Int']['output']>;
id?: Maybe<Scalars['Int']['output']>;
name?: Maybe<Scalars['Int']['output']>;
/** Optional - Default set in App Defaults */
secondary_text?: Maybe<Scalars['Int']['output']>;
/** Optional - Default set in App Defaults */
secondary_title?: Maybe<Scalars['Int']['output']>;
};

export type Apps_Aggregated_Fields = {
Expand All @@ -752,8 +766,11 @@ export type Apps_Filter = {
_or?: InputMaybe<Array<InputMaybe<Apps_Filter>>>;
case_study?: InputMaybe<Case_Studies_Filter>;
heroVideo?: InputMaybe<String_Filter_Operators>;
hero_text?: InputMaybe<String_Filter_Operators>;
id?: InputMaybe<Number_Filter_Operators>;
name?: InputMaybe<String_Filter_Operators>;
secondary_text?: InputMaybe<String_Filter_Operators>;
secondary_title?: InputMaybe<String_Filter_Operators>;
};

export type Article_Cards = {
Expand Down
30 changes: 29 additions & 1 deletion src/generated/graphqlPlural.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,14 @@ export type Cluster = {
updatedAt?: Maybe<Scalars['DateTime']['output']>;
/** pending upgrades for each installed app */
upgradeInfo?: Maybe<Array<Maybe<UpgradeInfo>>>;
/** CPU/Memory history for this cluster */
usageHistory?: Maybe<Array<Maybe<ClusterUsageHistory>>>;
};


/** A Kubernetes cluster that can be used to deploy applications on with Plural. */
export type ClusterUsageHistoryArgs = {
begin: Scalars['DateTime']['input'];
};

/** Input for creating or updating a cluster. */
Expand Down Expand Up @@ -488,6 +496,17 @@ export type ClusterInformationAttributes = {
version?: InputMaybe<Scalars['String']['input']>;
};

/** A record of the utilization in a given cluster */
export type ClusterUsageHistory = {
__typename?: 'ClusterUsageHistory';
account?: Maybe<Account>;
cluster?: Maybe<Cluster>;
cpu?: Maybe<Scalars['Int']['output']>;
insertedAt?: Maybe<Scalars['DateTime']['output']>;
memory?: Maybe<Scalars['Int']['output']>;
updatedAt?: Maybe<Scalars['DateTime']['output']>;
};

export type Community = {
__typename?: 'Community';
discord?: Maybe<Scalars['String']['output']>;
Expand Down Expand Up @@ -1252,6 +1271,7 @@ export type Installation = {
license?: Maybe<Scalars['String']['output']>;
/** The license key for the application. */
licenseKey?: Maybe<Scalars['String']['output']>;
locked?: Maybe<Scalars['Boolean']['output']>;
/** The OIDC provider for the application. */
oidcProvider?: Maybe<OidcProvider>;
/** The last ping time of an installed application. */
Expand All @@ -1260,6 +1280,7 @@ export type Installation = {
repository?: Maybe<Repository>;
/** The subscription for the application. */
subscription?: Maybe<RepositorySubscription>;
synced?: Maybe<Scalars['Boolean']['output']>;
/** The tag to track for auto upgrades. */
trackTag: Scalars['String']['output'];
updatedAt?: Maybe<Scalars['DateTime']['output']>;
Expand Down Expand Up @@ -1999,6 +2020,7 @@ export type PlanFeatureAttributes = {
export type PlanFeatures = {
__typename?: 'PlanFeatures';
audit?: Maybe<Scalars['Boolean']['output']>;
databaseManagement?: Maybe<Scalars['Boolean']['output']>;
userManagement?: Maybe<Scalars['Boolean']['output']>;
vpn?: Maybe<Scalars['Boolean']['output']>;
};
Expand Down Expand Up @@ -2768,6 +2790,7 @@ export type RootMutationType = {
signup?: Maybe<User>;
ssoCallback?: Maybe<User>;
stopShell?: Maybe<Scalars['Boolean']['output']>;
synced?: Maybe<Scalars['Boolean']['output']>;
transferDemoProject?: Maybe<DemoProject>;
/** transfers ownership of a cluster to a service account */
transferOwnership?: Maybe<Cluster>;
Expand Down Expand Up @@ -3369,6 +3392,11 @@ export type RootMutationTypeSsoCallbackArgs = {
};


export type RootMutationTypeSyncedArgs = {
repository: Scalars['String']['input'];
};


export type RootMutationTypeTransferDemoProjectArgs = {
organizationId: Scalars['String']['input'];
};
Expand Down Expand Up @@ -4825,7 +4853,7 @@ export type User = {
publisher?: Maybe<Publisher>;
roles?: Maybe<Roles>;
serviceAccount?: Maybe<Scalars['Boolean']['output']>;
trustRelationships?: Maybe<OidcTrustRelationship>;
trustRelationships?: Maybe<Array<Maybe<OidcTrustRelationship>>>;
updatedAt?: Maybe<Scalars['DateTime']['output']>;
};

Expand Down

0 comments on commit 7de0c56

Please sign in to comment.