Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
feat(v2): helm chart support specify namespace
Browse files Browse the repository at this point in the history
fix(build): fix build workflow need helm
  • Loading branch information
neilkuan committed Jul 16, 2021
1 parent a298ba5 commit 738bead
Show file tree
Hide file tree
Showing 9 changed files with 295 additions and 202 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .github/workflows/upgrade-dependencies.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ const project = new ConstructLibrary({
secret: 'GITHUB_TOKEN',
allowedUsernames: ['neilkuan'],
},
workflowBootstrapSteps: [
{
name: 'Install Helm',
id: 'install_helm',
run: `curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
helm repo add eks https://aws.github.io/eks-charts
helm repo update`,
},
],
releaseWorkflowSetupSteps: [{
name: 'Install Helm',
id: 'install_helm',
Expand Down
27 changes: 27 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ new AwsLoadBalancerController(scope: Construct, id: string, options: AwsLoadBala

#### Properties <a name="Properties"></a>

##### `chartVersion`<sup>Required</sup> <a name="cdk8s-aws-load-balancer-controller.AwsLoadBalancerController.property.chartVersion"></a>

- *Type:* `string`
- *Default:* latest Helm Chart version.

Helm Chart Version for aws-load-balancer-controller.

---

##### `clusterName`<sup>Required</sup> <a name="cdk8s-aws-load-balancer-controller.AwsLoadBalancerController.property.clusterName"></a>

- *Type:* `string`
Expand Down Expand Up @@ -245,6 +254,15 @@ Kubernetes Cluster Name for aws-load-balancer-controller.

---

##### `chartVersion`<sup>Optional</sup> <a name="cdk8s-aws-load-balancer-controller.AwsLoadBalancerControllerOptions.property.chartVersion"></a>

- *Type:* `string`
- *Default:* latest Helm Chart version.

Helm Chart Version for aws-load-balancer-controller.

---

##### `createServiceAccount`<sup>Optional</sup> <a name="cdk8s-aws-load-balancer-controller.AwsLoadBalancerControllerOptions.property.createServiceAccount"></a>

- *Type:* `boolean`
Expand All @@ -254,6 +272,15 @@ service account for aws-load-balancer-controller.

---

##### `namespace`<sup>Optional</sup> <a name="cdk8s-aws-load-balancer-controller.AwsLoadBalancerControllerOptions.property.namespace"></a>

- *Type:* `string`
- *Default:* default

Namespace for aws-load-balancer-controller.

---

### EnvVar <a name="cdk8s-aws-load-balancer-controller.EnvVar"></a>

#### Initializer <a name="[object Object].Initializer"></a>
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ app.synth();
```

### AWS Load Balance Controller V2
#### only support install in default namespace now!!!
```ts
import { App, Chart } from 'cdk8s';
import { AwsLoadBalancerController } from 'cdk8s-aws-load-balancer-controller';
Expand Down
Loading

0 comments on commit 738bead

Please sign in to comment.