Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(eks): kubectl 1.16.8-eks-e16311, aws-cli 1.18.86, helm 3.2.4 #8739

Merged
merged 11 commits into from
Jun 29, 2020
Merged

chore(eks): kubectl 1.16.8-eks-e16311, aws-cli 1.18.86, helm 3.2.4 #8739

merged 11 commits into from
Jun 29, 2020

Conversation

pahud
Copy link
Contributor

@pahud pahud commented Jun 25, 2020

  • bump aws-lambda-layer-kubectl 2.0.0
    with kubectl v1.16.8-eks-e16311, awscli 1.18.86 and helm 3.2.4
  • update the helm repo of the kubernetes-dashboard in the integ test to https://kubernetes.github.io/dashboard/ from Helm Hub as https://kubernetes-charts.storage.googleapis.com has been deprecated

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@pahud
Copy link
Contributor Author

pahud commented Jun 25, 2020

Hi @eladb , I am ready.

@eladb eladb changed the title chore(eks): bump aws-lambda-layer-kubectl to 2.0.0 feat(eks): upgrade aws-lambda-layer-kubectl to 2.0.0 Jun 28, 2020
@eladb eladb changed the title feat(eks): upgrade aws-lambda-layer-kubectl to 2.0.0 feat(eks): kubectl 1.16.8-eks-e16311, aws-cli 1.18.86, helm 3.2.4 Jun 28, 2020
eladb
eladb previously requested changes Jun 28, 2020
Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!

plz split into two PRs

* create namespace if not exist
* @default False
*/
readonly createNamespace?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry but this should be a separate PR :-)

[think about the changelog entry :-)]

I added comments on the namespace change as well here so it's PR can start from there

namespace = props.get('Namespace', None)
repository = props.get('Repository', None)
values_text = props.get('Values', None)
role_arn = props['RoleArn']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid aesthetic changes, those make the code review harder.

Any reason spacing was changed?

'--kubeconfig', kubeconfig
])
subprocess.check_call(['aws', 'eks', 'update-kubeconfig',
'--role-arn', role_arn,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

@@ -14,8 +14,11 @@ class EksClusterStack extends TestStack {
assumedBy: new iam.AccountRootPrincipal(),
});

const vpc = new ec2.Vpc(this, 'Vpc', { maxAzs: 3, natGateways: 1});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • add a comment explaining why this is needed

  • style:

Suggested change
const vpc = new ec2.Vpc(this, 'Vpc', { maxAzs: 3, natGateways: 1});
const vpc = new ec2.Vpc(this, 'Vpc', { maxAzs: 3, natGateways: 1 });

* create namespace if not exist
* @default False
*/
readonly createNamespace?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like it makes more sense for this to be enabled by default, no? What are the implications?

@mergify mergify bot dismissed eladb’s stale review June 28, 2020 15:20

Pull request has been modified.

@pahud pahud changed the title feat(eks): kubectl 1.16.8-eks-e16311, aws-cli 1.18.86, helm 3.2.4 chore(eks): kubectl 1.16.8-eks-e16311, aws-cli 1.18.86, helm 3.2.4 Jun 28, 2020
@pahud pahud marked this pull request as draft June 29, 2020 01:30
@pahud
Copy link
Contributor Author

pahud commented Jun 29, 2020

I'm still working on the integ tests. Got lambda timeout error.

description in #8773 (comment)

@eladb
Copy link
Contributor

eladb commented Jun 29, 2020

Merged just for you!

@pahud pahud marked this pull request as ready for review June 29, 2020 12:31
@pahud
Copy link
Contributor Author

pahud commented Jun 29, 2020

Hi @eladb this PR should be ready now.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: ff0209f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Jun 29, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit af69f80 into aws:master Jun 29, 2020
whimzyLive pushed a commit to whimzyLive/aws-cdk that referenced this pull request Jul 1, 2020
…ws#8739)

- bump aws-lambda-layer-kubectl [2.0.0](https://github.com/aws-samples/aws-lambda-layer-kubectl/releases/tag/2.0.0)
with kubectl v1.16.8-eks-e16311, awscli 1.18.86 and helm 3.2.4
- update the helm repo of the kubernetes-dashboard in the integ test to `https://kubernetes.github.io/dashboard/` from [Helm Hub](https://hub.helm.sh/charts/k8s-dashboard) as `https://kubernetes-charts.storage.googleapis.com` has been deprecated

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants