-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded libraries, removed vulnerabilities, blueprints upgraded to 1…
….13.1 (#157)
- Loading branch information
1 parent
a4aa232
commit 5443da3
Showing
3 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,19 @@ import * as cdk from 'aws-cdk-lib'; | |
|
||
export default class RafayConstruct { | ||
async buildAsync(scope: cdk.App, id: string) { | ||
await prevalidateSecrets(RafayConstruct.name, undefined, 'rafay-password-secret'); | ||
const stackId = `${id}-blueprint`; | ||
|
||
let rafayConfig = { | ||
organizationName: "rafay-eks-org-1", // replace with your organization Name | ||
email: "[email protected]", // replace with your email | ||
firstName: "John", // replace with your first Name | ||
lastName: "Doe", // replace with your last Name | ||
passwordSecret: "rafay-password-secret", // replace with a secret name in secrets manager that you have created | ||
passwordSecret: "rafay-password-json", // replace with a secret name in secrets manager that you have created, must contain a single field "password" | ||
clusterName: "eks-cluster-1", // replace with the name that you want the cluster to be created in Rafay Console | ||
blueprintName: "minimal" | ||
} as rafayAddOn.RafayConfig; | ||
|
||
await prevalidateSecrets(RafayConstruct.name, undefined, rafayConfig.passwordSecret!); | ||
const stackId = `${id}-blueprint`; | ||
|
||
const addOns: Array<blueprints.ClusterAddOn> = [ | ||
new rafayAddOn.RafayClusterAddOn(rafayConfig) | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters