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 enforcing string for set values #1737

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

markmandel
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking

/kind bug

/kind cleanup
/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:

Looks like the most recent Helm provider forces that set value to be a
string.

Since we set it as an array in the Terraform value, this fix does the
work to convert it to Helm array syntax.

See:
https://helm.sh/docs/intro/using_helm/#the-format-and-limitations-of---set

Which issue(s) this PR fixes:

Found this while I'm slowly removing deployment manager! (I should probably have a ticket for this)

Special notes for your reviewer:

None

Looks like the most recent Helm provider forces that set value to be a
string.

Since we set it as an array in the Terraform value, this fix does the
work to convert it to Helm array syntax.

See:
https://helm.sh/docs/intro/using_helm/#the-format-and-limitations-of---set
@markmandel markmandel added kind/bug These are bugs. area/operations Installation, updating, metrics etc labels Aug 5, 2020
@markmandel markmandel added this to the 1.8.0 milestone Aug 5, 2020
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 122dadaf-74a0-4eea-a743-9475e0f885e8

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/1737/head:pr_1737 && git checkout pr_1737
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.8.0-3ead906

Copy link
Collaborator

@aLekSer aLekSer left a comment

Choose a reason for hiding this comment

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

Nice fix.

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aLekSer, 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

@aLekSer aLekSer merged commit 5d23451 into googleforgames:master Aug 5, 2020
@markmandel markmandel deleted the bug/helm-namespace branch August 5, 2020 14:52
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
Looks like the most recent Helm provider forces that set value to be a
string.

Since we set it as an array in the Terraform value, this fix does the
work to convert it to Helm array syntax.

See:
https://helm.sh/docs/intro/using_helm/#the-format-and-limitations-of---set
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/bug These are bugs. lgtm size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants