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

Commit

Permalink
feat: cert-manager & aws-load-balancer-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkuan committed Nov 2, 2020
1 parent 8493c07 commit 3ba6d9d
Show file tree
Hide file tree
Showing 16 changed files with 28,334 additions and 194 deletions.
14 changes: 10 additions & 4 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { ConstructLibrary } = require('projen');
const PROJECT_DESCRIPTION = 'cdk8s-aws-alb-ingress-controller is an CDK8S construct library that provides AWS Alb Ingress Controller Deplyment Configure.';
const CDK_VERSION = '1.71.0';
const CDK8S_VERSION = '0.32.0';
const CDK8S_VERSION = '0.33.0';
const project = new ConstructLibrary({
description: PROJECT_DESCRIPTION,
authorAddress: "guan840912@gmail.com",
Expand All @@ -27,15 +27,21 @@ const project = new ConstructLibrary({
`cdk8s-plus@^${CDK8S_VERSION}`,
'constructs@^3.2.7',
`@aws-cdk/aws-iam@^${CDK_VERSION}`,
`@aws-cdk/core@^${CDK_VERSION}`,
`@aws-cdk/core@^${CDK_VERSION}`,
'@types/js-yaml@^3.12.5',
'js-yaml@^3.14.0',
],
peerDeps: [
`cdk8s@^${CDK8S_VERSION}`,
`cdk8s-plus@^${CDK8S_VERSION}`,
'constructs@^3.2.7',
`@aws-cdk/aws-iam@^${CDK_VERSION}`,
`@aws-cdk/core@^${CDK_VERSION}`,
]
`@aws-cdk/core@^${CDK_VERSION}`,
],
bundledDeps: [
'@types/js-yaml@^3.12.5',
'js-yaml@^3.14.0',
],
});


Expand Down
100 changes: 100 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ Name|Description
----|-----------
[AlbIngressController](#cdk8s-aws-alb-ingress-controller-albingresscontroller)|Generate alb-ingress-controller config yaml.
[AwsLoadBalancePolicy](#cdk8s-aws-alb-ingress-controller-awsloadbalancepolicy)|awsLoadBalancePolicy class ,help you add policy to your Iam Role for service account.
[AwsLoadBalancerController](#cdk8s-aws-alb-ingress-controller-awsloadbalancercontroller)|Generate aws-load-balancer-controller config yaml.
[CertManager](#cdk8s-aws-alb-ingress-controller-certmanager)|*No description*


**Structs**

Name|Description
----|-----------
[AlbIngressControllerOptions](#cdk8s-aws-alb-ingress-controller-albingresscontrolleroptions)|*No description*
[AwsLoadBalancerControllerOptions](#cdk8s-aws-alb-ingress-controller-awsloadbalancercontrolleroptions)|*No description*
[EnvVar](#cdk8s-aws-alb-ingress-controller-envvar)|*No description*


Expand Down Expand Up @@ -103,6 +106,83 @@ __Returns__:



## class AwsLoadBalancerController <a id="cdk8s-aws-alb-ingress-controller-awsloadbalancercontroller"></a>

Generate aws-load-balancer-controller config yaml.

see https://github.com/kubernetes-sigs/aws-aws-load-balancer-controller/blob/master/docs/install/v2_0_0_full.yaml

__Implements__: [IConstruct](#constructs-iconstruct)
__Extends__: [Construct](#constructs-construct)

### Initializer




```ts
new AwsLoadBalancerController(scope: Construct, id: string, options: AwsLoadBalancerControllerOptions)
```

* **scope** (<code>[Construct](#constructs-construct)</code>) *No description*
* **id** (<code>string</code>) *No description*
* **options** (<code>[AwsLoadBalancerControllerOptions](#cdk8s-aws-alb-ingress-controller-awsloadbalancercontrolleroptions)</code>) *No description*
* **clusterName** (<code>string</code>) Kubernetes Cluster Name for aws-load-balancer-controller.
* **args** (<code>Array<string></code>) Another Args for aws-load-balancer-controller. __*Default*__: None
* **env** (<code>Array<[EnvVar](#cdk8s-aws-alb-ingress-controller-envvar)></code>) Another Args for aws-load-balancer-controller. __*Default*__: None
* **image** (<code>string</code>) Default image for aws-load-balancer-controller. __*Default*__: docker.io/amazon/aws-aws-load-balancer-controller:v1.1.9
* **labels** (<code>Map<string, string></code>) Extra labels to associate with resources. __*Default*__: none
* **namespace** (<code>string</code>) Default Namespace for aws-load-balancer-controller. __*Default*__: kube-system
* **replicas** (<code>number</code>) Replicas for aws-load-balancer-controller. __*Default*__: 1
* **serviceAccountName** (<code>string</code>) Default Service Account Name for aws-load-balancer-controller. __*Default*__: aws-load-balancer-controller



### Properties


Name | Type | Description
-----|------|-------------
**clusterName** | <code>string</code> | Kubernetes Cluster Name for aws-load-balancer-controller.
**deploymentName** | <code>string</code> | Kubernetes Deployment Name for aws-load-balancer-controller.
**namespace** | <code>string</code> | Namespace for aws-load-balancer-controller.
**serviceAccountName** | <code>string</code> | Service Account Name for aws-load-balancer-controller.



## class CertManager <a id="cdk8s-aws-alb-ingress-controller-certmanager"></a>




### Initializer




```ts
new CertManager()
```



### Methods


#### certManagerConfig() <a id="cdk8s-aws-alb-ingress-controller-certmanager-certmanagerconfig"></a>



```ts
certManagerConfig(): any
```


__Returns__:
* <code>any</code>



## struct AlbIngressControllerOptions <a id="cdk8s-aws-alb-ingress-controller-albingresscontrolleroptions"></a>


Expand All @@ -123,6 +203,26 @@ Name | Type | Description



## struct AwsLoadBalancerControllerOptions <a id="cdk8s-aws-alb-ingress-controller-awsloadbalancercontrolleroptions"></a>






Name | Type | Description
-----|------|-------------
**clusterName** | <code>string</code> | Kubernetes Cluster Name for aws-load-balancer-controller.
**args**? | <code>Array<string></code> | Another Args for aws-load-balancer-controller.<br/>__*Default*__: None
**env**? | <code>Array<[EnvVar](#cdk8s-aws-alb-ingress-controller-envvar)></code> | Another Args for aws-load-balancer-controller.<br/>__*Default*__: None
**image**? | <code>string</code> | Default image for aws-load-balancer-controller.<br/>__*Default*__: docker.io/amazon/aws-aws-load-balancer-controller:v1.1.9
**labels**? | <code>Map<string, string></code> | Extra labels to associate with resources.<br/>__*Default*__: none
**namespace**? | <code>string</code> | Default Namespace for aws-load-balancer-controller.<br/>__*Default*__: kube-system
**replicas**? | <code>number</code> | Replicas for aws-load-balancer-controller.<br/>__*Default*__: 1
**serviceAccountName**? | <code>string</code> | Default Service Account Name for aws-load-balancer-controller.<br/>__*Default*__: aws-load-balancer-controller



## struct EnvVar <a id="cdk8s-aws-alb-ingress-controller-envvar"></a>


Expand Down
Loading

0 comments on commit 3ba6d9d

Please sign in to comment.