# @keptn/keptn-ep-ssp-addon

> Keptn Execution Plane Addon for AWS SSP CDK Platform

Latest version **0.3.2** (published 2022-02-08) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @keptn/keptn-ep-ssp-addon
pnpm add @keptn/keptn-ep-ssp-addon
yarn add @keptn/keptn-ep-ssp-addon
bun add @keptn/keptn-ep-ssp-addon
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.2 |
| Published | 2022-02-08 |
| First published | 2022-01-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Christian Heckelmann |
| Maintainers | maurosala, thisthatdc, thschue, heckelmann, infinidach, jetzlstorfer, jbraeuer |

## Links

- npm: https://www.npmjs.com/package/@keptn/keptn-ep-ssp-addon
- Repository: https://github.com/keptn-sanbox/keptn-ssp-addon
- Homepage: https://github.com/keptn-sanbox/keptn-ssp-addon#readme
- Issues: https://github.com/keptn-sanbox/keptn-ssp-addon/issues
- npm.io page: https://npm.io/package/@keptn/keptn-ep-ssp-addon

## Dependencies (3)

- [@types/async](https://npm.io/package/@types/async.md) 3.2.7
- [@aws-cdk/core](https://npm.io/package/@aws-cdk/core.md) ^1.135.0
- [@aws-quickstart/ssp-amazon-eks](https://npm.io/package/@aws-quickstart/ssp-amazon-eks.md) ^0.12.4

## Recent versions

- 0.3.2 (latest) — 2022-02-08
- 0.3.1 — 2022-01-10
- 0.3.0 — 2022-01-07
- 0.2.1 — 2022-01-05
- 0.2.0 — 2022-01-05
- 0.1.0 — 2022-01-05

## README

# Keptn Execution Plane Add-On for the Amazon Shared Services Platform

[![main](https://github.com/keptn-sandbox/keptn-ssp-addons/actions/workflows/main.yml/badge.svg)](https://github.com/keptn-sandbox/keptn-ssp-addons/actions/workflows/main.yml)

The Keptn Execution Plane Add-On for the Amazon Shared Services Platform enables platform administrators to install a [keptn](keptn.sh) Execution Plane during the bootstrapping process of an [EKS](https://aws.amazon.com/eks/) cluster.

Therefore, this Add-On installs the an Execution Plane Helm Chart and configures it to connect to your Keptn to your Keptn Control Plane

### AWS Secret Manager Secrets
If you plan to use Secret Manager Secrets, you need to create a secret first.

Therefore:
* Open your AWS Console
* Search for "Secrets Manager"
* Create a new secret ("Store a new secret")
  * Secret Type: "Other type of secret"
  * Key/value pairs
    * API_TOKEN="<your-api-token>"
* Remember the name you assigned to the secret

## Usage
The Add-On can be used by either specifying the name of a Secrets Manager secret or the API Token and Bridge password.

You can find informations how to get started with SSP Projects [here](https://aws-quickstart.github.io/ssp-amazon-eks/getting-started/). 


Example Configuration (secrets in Secrets Manager):

```typescript
import 'source-map-support/register';
import * as cdk from '@aws-cdk/core'
import * as keptnep from '@keptn/keptn-ep-ssp-addon'
import * as ssp from '@aws-quickstart/ssp-amazon-eks'

const app = new cdk.App();

const KeptnExecutionPlane = new keptnep.KeptnExecutionPlaneAddOn({
    ssmSecretName: 'keptn-secrets',
    controlPlaneHost: 'mykeptn.yourdomain.com',    
})


const addOns: Array<ssp.ClusterAddOn> = [
    KeptnExecutionPlane,
];

const account = '<aws-account-id>';
const region = '<aws-region>';
const props = { env: { account, region } };
new ssp.EksBlueprint(app, { id: '<aws-eks-cluster-name>', addOns}, props);
```

### Example Configuration (secrets in code and jmeter-service):

```typescript
import 'source-map-support/register';
import * as cdk from '@aws-cdk/core'
import * as keptnep from '@keptn/keptn-ep-ssp-addon'
import * as ssp from '@aws-quickstart/ssp-amazon-eks'

const app = new cdk.App();

const KeptnExecutionPlane = new keptnep.KeptnControlPlaneAddOn({
    apiToken: '<your-api-token>',
    chartName: 'jmeter-service',
    controlPlaneHost: 'mykeptn.yourdomain.com',
})


const addOns: Array<ssp.ClusterAddOn> = [
    KeptnExecutionPlane,
];

const account = '<aws-account-id>';
const region = '<aws-region>';
const props = { env: { account, region } };
new ssp.EksBlueprint(app, { id: '<aws-eks-cluster-name>', addOns}, props);
```

## Add-On Options

|Name            |Type     |Default                     |Description
|----------------|---------|----------------------------|------------------------------------
| ssmSecretName  | string  |  | The AWS Secrets Manager Secret which is containing the Keptn API Token (key: API_TOKEN)
| apiToken | string |  | Keptn API Token is used to connect to the Keptn API, not needed if a ssmSecretName is specified
| namespace | string | keptn | Namespace where the keptn Control Plane will be deployed
| helmrepo | string | https://storage.googleapis.com/keptn-installer | Helm Repository which will be used for installing Keptn
| version | string | 0.11.4 | The Version of Keptn which should get installed
| controlPlaneHost | string | | Hostname of your Keptn Control Plane
| chartName | string | helm-service | Name of the Execution Plane helm-chart

## Enhancements / Bugs 
You are welcome to use issues to report bugs or request enhancements.

---
_Source: https://npm.io/package/@keptn/keptn-ep-ssp-addon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
