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

Terraform helm module fix deprecated version declaration #1994

Merged
merged 11 commits into from
Feb 13, 2021
Merged

Terraform helm module fix deprecated version declaration #1994

merged 11 commits into from
Feb 13, 2021

Conversation

comerford
Copy link
Contributor

What type of PR is this?
/kind cleanup

What this PR does / Why we need it:

This switches the helm terraform provider over to a required_providers block rather than the deprecated method of putting a version into the provider block. This should be done in the AKS/EKS modules too. Also adds a minimum version to terraform (this is in line with other modules). The source line in the block will cause 0.12 and lower to carp, but it will ignore the extra line. 0.13 and above will use it appropriately.

Special notes for your reviewer:

I could probably do the same changes for the EKS/AKS modules but I don't have any way to actually test it at present

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 4bfd96d9-350f-49fb-9e89-f7e9dffe2656

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1994/head:pr_1994 && git checkout pr_1994
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.13.0-63a8b0c

@markmandel
Copy link
Member

The source line in the block will cause 0.12 and lower to carp, but it will ignore the extra line. 0.13 and above will use it appropriately.

Thanks for doing this work! Just to confirm, because I wasn't quite sure from the comment. Will this stop TF 0.12 from working at all? Or will it still work, but show a message?

@comerford
Copy link
Contributor Author

comerford commented Feb 13, 2021 via email

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Perfect! Thanks for the clarification 👍🏻

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: comerford, markmandel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 906e6c43-954c-4e80-8996-4128507e008b

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1994/head:pr_1994 && git checkout pr_1994
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.13.0-c0ec96c

@markmandel markmandel merged commit a430a37 into googleforgames:main Feb 13, 2021
@markmandel markmandel added this to the 1.13.0 milestone Feb 13, 2021
@markmandel markmandel added area/operations Installation, updating, metrics etc kind/cleanup Refactoring code, fixing up documentation, etc labels Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/operations Installation, updating, metrics etc cla: yes kind/cleanup Refactoring code, fixing up documentation, etc lgtm size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants