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

Enable passing of custom AMI and userdata.sh for Node Groups #74

Merged
merged 6 commits into from
Jun 29, 2022

Conversation

jrsdav
Copy link
Contributor

@jrsdav jrsdav commented Jun 9, 2022

Motivation

This PR enables the use of a custom AMI and userdata.sh to be used by the managed node group(s).

Modifications

Added the following new inputs to the module:

  • func_pool_ami_id
  • func_pool_ami_is_eks_optimized
  • func_pool_pre_userdata
  • node_pool_ami_id
  • node_pool_ami_is_eks_optimized
  • node_pool_pre_userdata

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@jrsdav jrsdav requested a review from a team as a code owner June 9, 2022 17:45
@github-actions github-actions bot added the doc This pr contains a document label Jun 9, 2022
@jrsdav jrsdav requested a review from addisonj June 28, 2022 21:28
variable "external_dns_helm_chart_name" {
default = "external-dns"
description = "The name of the Helm chart in the repository for ExternalDNS."
type = string
}

variable "external_dns_helm_chart_repository" {
default = "https://charts.bitnami.com/bitnami"
default = "https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami"
Copy link
Contributor

Choose a reason for hiding this comment

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

I see you have this because 5.5.2 got trimmed.

An alternative would be to changing this would be to change external_dns_helm_chart_version to 6.5.5.

I'm fine with only the chart repo URL bump; I have a bias towards updating dependencies.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jdmaguire I agree, we should probably just get a separate PR put together that uses newer versions of cert-manager and external-dns (both of those use the bitnami helm registry).

jdmaguire
jdmaguire previously approved these changes Jun 29, 2022
Copy link
Contributor

@addisonj addisonj left a comment

Choose a reason for hiding this comment

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

:shipit:

@jrsdav jrsdav merged commit 128879b into master Jun 29, 2022
@delete-merged-branch delete-merged-branch bot deleted the feat/custom_node_ami branch June 29, 2022 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc This pr contains a document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants