Skip to content

Commit

Permalink
Merge pull request #4 from komodorio/komodorio-to-komodor
Browse files Browse the repository at this point in the history
Change to komodor organization, add required parameter and update workflow
  • Loading branch information
ronahk authored Jan 23, 2023
2 parents 8a055f7 + 8ac77f3 commit 6008f09
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
if ! [[ "$bump" =~ ^(major|minor|patch) ]]; then echo "Not a release commit" && exit 0; fi;
echo $bump > bump.txt
cat bump.txt
current=$(gh release list | awk '{print $1}' | awk 'NR==1' | sed s/v//g)
current="0.0.0"
next_version=$(semver-cli inc $bump $current)
echo "next_version is now $next_version"
Expand Down Expand Up @@ -107,12 +107,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org

- name: "Install dependencies"
run: yarn install

- name: "Publish to GitHub Packages"
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The CDK code in this repository can be used to deploy a new Amazon EKS cluster w
1. Add this module as a dependency:

```
npm install @komodorio/komodor-eks-blueprints-addon
npm install @komodor/komodor-eks-blueprints-addon
```

2. Use it as follows:
Expand Down Expand Up @@ -114,6 +114,7 @@ new blueprints.EksBlueprint(app, { id: clusterName, addOns }, props);
| `apiKey` | Your Komodor API key | "" |
| `apiKeyExistingSecret` | Existing k8s Secret storing the API key | "" |
| `apiKeyAWSSecret` | Secret in AWS Secrets Manager storing the API key | "" |
| `clusterName` | Name of the EKS cluster you wish to create | "" |
| `namespace` | Namespace where to install the Komdor Agent | "default" |
| `version` | Version of the Komodor Agent Helm chart | "1.3.4" |
| `release` | Name of the Helm release | "k8s-watcher" |
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@komodorio/komodor-eks-blueprints-addon",
"name": "@komodor/komodor-eks-blueprints-addon",
"description": "Komodor Amazon EKS Blueprints AddOn",
"author": "Komodor",
"version": "1.0.0",
"version": "0.0.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
Expand Down Expand Up @@ -35,4 +35,4 @@
"ts-node": "^9.0.0",
"typescript": "~3.9.7"
}
}
}

0 comments on commit 6008f09

Please sign in to comment.