Skip to content

Commit

Permalink
Changes after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
vlesierse committed May 21, 2020
1 parent b076d70 commit 5e9e726
Show file tree
Hide file tree
Showing 5 changed files with 353 additions and 78 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-eks/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ export class Cluster extends Resource implements ICluster {
* @param id the id of this service account
* @param options service account options
*/
public addServiceAccount(id: string, options?: ServiceAccountOptions) {
public addServiceAccount(id: string, options: ServiceAccountOptions = { }) {
return new ServiceAccount(this, id, {
...options,
cluster: this,
Expand Down
16 changes: 0 additions & 16 deletions packages/@aws-cdk/aws-eks/lib/irsa-conditions/external.ts

This file was deleted.

36 changes: 0 additions & 36 deletions packages/@aws-cdk/aws-eks/lib/irsa-conditions/index.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/@aws-cdk/aws-eks/lib/service-account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ export interface ServiceAccountProps extends ServiceAccountOptions {
* Service Account
*/
export class ServiceAccount extends Construct implements IPrincipal {

/**
* The CloudFormation resource type.
*/
public static readonly RESOURCE_TYPE = 'Custom::AWSCDK-EKS-IRSAConditions';

/**
* The role which is linked to the service account.
*/
Expand Down
Loading

0 comments on commit 5e9e726

Please sign in to comment.