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

fix(aws-eks): kubectlEnabled: false conflicts with addNodegroup #8119

Merged
merged 4 commits into from
May 22, 2020
Merged

fix(aws-eks): kubectlEnabled: false conflicts with addNodegroup #8119

merged 4 commits into from
May 22, 2020

Conversation

pahud
Copy link
Contributor

@pahud pahud commented May 21, 2020

fix(aws-eks): kubectlEnabled: false conflicts with addNodegroup

This PR allows cluster.addNodegroup() when kubectlEnabled is false

Closes: #7993


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 May 21, 2020

This PR is still failing the test. I am still trying to figure it out.

圖片

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

@pahud
Copy link
Contributor Author

pahud commented May 21, 2020

Hi @eladb

Now according to the test, the test statement will not create

Custom::AWSCDK-EKS-KubernetesResource Cluster/AwsAuth/manifest/Resource
and
AWS::CloudFormation::Stack @aws-cdk--aws-eks.KubectlProvider.NestedStack

    // GIVEN
      const { stack } = testFixture();

      // WHEN
      new eks.Cluster(stack, 'MyCluster', {
        clusterName: 'my-cluster-name',
      });

So we will lose one AssumeRole policy for the KubectlProviderHandlerServiceRole.

Do you think it's safe to simply remove this statement from the test expection?

@eladb
Copy link
Contributor

eladb commented May 21, 2020

Do you think it's safe to simply remove this statement from the test expection?

yes

eladb
eladb previously approved these changes May 21, 2020
@mergify mergify bot dismissed eladb’s stale review May 21, 2020 19:54

Pull request has been modified.

eladb
eladb previously approved these changes May 21, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 030049f
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@mergify mergify bot dismissed eladb’s stale review May 22, 2020 00:01

Pull request has been modified.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

@pahud pahud marked this pull request as ready for review May 22, 2020 01:55
@pahud
Copy link
Contributor Author

pahud commented May 22, 2020

Hi @eladb tests all passed please review and approve again. Thanks.

@pahud pahud requested a review from eladb May 22, 2020 01:57
@mergify
Copy link
Contributor

mergify bot commented May 22, 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 8610889 into aws:master May 22, 2020
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.

[aws-eks] kubectlEnabled: false conflicts with addNodegroup
3 participants