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

updates according to comments from Carlos. #20

Merged
merged 11 commits into from
May 14, 2024
Merged

Conversation

holywen
Copy link
Collaborator

@holywen holywen commented Apr 23, 2024

No description provided.

@carlosrodlop
Copy link
Collaborator

@holywen can we reiview this together next week. Is it actually running like this?

@holywen
Copy link
Collaborator Author

holywen commented Apr 24, 2024

Sure, I did some tests and verified that the service pods are running on the correct nodes.

@carlosrodlop
Copy link
Collaborator

@holywen, @ps-ssingh can you validate why is not running GHA when you do a PR?

@carlosrodlop
Copy link
Collaborator

GOOD Progress! Once you amend my comments we are a good to merge this PR

@carlosrodlop
Copy link
Collaborator

In the Main README page at entry level here https://github.com/cloudbees/terraform-aws-cloudbees-cd-eks-addon/blob/main/README.md we need to tell that by default the product use the Server License type. In the Getting started blueprint we don't need to mention nothing more because it uses the same lincense (Server) but for At scale it requires a Enterprise type of license

@holywen
Copy link
Collaborator Author

holywen commented May 14, 2024

License information udpated in both README.md files.

@@ -15,6 +15,9 @@ Once you have familiarized yourself with the [Getting Started blueprint](../01-g
> [!TIP]
> A [Resource Group](https://docs.aws.amazon.com/ARG/latest/userguide/resource-groups.html) is added to get a full list with all resources created by this blueprint.

## CD License
A initial license is required to use CloudBees CD. Please refer to the [CloudBees CD Licensing](https://docs.cloudbees.com/docs/cloudbees-cd/latest/set-up-cdro/licenses) for more information.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here you need a Enterprise License

Copy link
Collaborator

Choose a reason for hiding this comment

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

}
}

resource "aws_iam_role" "managed_ng" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You don't need this because they are the defaults permissions. The reason about creating this resource is in case you need extra permission like s3...

tags = var.tags
}

resource "aws_iam_instance_profile" "managed_ng" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This also can be deleted as commented above

desired_size = 1
taints = [local.mng["cbcd_apps"]["taints"]]
labels = local.mng["cbcd_apps"]["labels"]
create_iam_role = false
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
create_iam_role = false

Copy link
Collaborator

Choose a reason for hiding this comment

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

delete this

taints = [local.mng["cbcd_apps"]["taints"]]
labels = local.mng["cbcd_apps"]["labels"]
create_iam_role = false
iam_role_arn = aws_iam_role.managed_ng.arn
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
iam_role_arn = aws_iam_role.managed_ng.arn

Copy link
Collaborator

Choose a reason for hiding this comment

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

delete this too. As I mentioned below it will use default permissions

@carlosrodlop carlosrodlop merged commit bf084e2 into cloudbees:main May 14, 2024
1 check passed
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.

2 participants