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

Update to PodTemplateSpec for 1.18 #2007

Merged
merged 2 commits into from
Mar 5, 2021

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:

Regenerated the PodTemplateSpec from Kubernetes OpenAPI endpoints.

Most changes where description fields, with the exception of one new data field.

Which issue(s) this PR fixes:

Work on #1971

Special notes for your reviewer:

Local testing indicates that Helm will try and patch the CRD changes and fail (which it now on CRD change, see helm/helm#5806 for more details).

I will likely have to handhold the testing, and delete helm installs during e2e tests where the CRDs need updating.

Apparently this gets fixed in later Helm+K8s combos, according to the above linked ticket 🤷‍♂️ but we will see.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 4b7ca39a-ebec-4b8c-9b75-a73ed0787806

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@roberthbailey
Copy link
Member

Regenerated the PodTemplateSpec from Kubernetes OpenAPI endpoints.

So we can reproduce this sort of change in the future, can you document how you generated the helm change?

@roberthbailey
Copy link
Member

I will likely have to handhold the testing, and delete helm installs during e2e tests where the CRDs need updating.

What does this mean for us explaining how to upgrade to the next agones version? It sounds like helm update will fail...

@roberthbailey roberthbailey self-assigned this Feb 26, 2021
@markmandel
Copy link
Member Author

Regenerated the PodTemplateSpec from Kubernetes OpenAPI endpoints.

So we can reproduce this sort of change in the future, can you document how you generated the helm change?

Good call. I added the make target to the checklist issue. 👍

What does this mean for us explaining how to upgrade to the next agones version? It sounds like helm update will fail...

Good point. I'm going to add a warning on this page on the website in this PR, since it's related.

Regenerated the PodTemplateSpec from Kubernetes OpenAPI endpoints.

Most changes where description fields, with the exception of one new
data field.

Work on googleforgames#1971
- Warning on the website on Helm upgrade
@markmandel markmandel force-pushed the update/1.18-crd-spec branch from 22b7c5c to 624e4fd Compare March 4, 2021 04:02
@markmandel
Copy link
Member Author

Added a warning on the upgrade page. It's something that can happen with the current Agones version, so I didn't wrap it in a feature shortcode.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 8b912dc1-9ac9-43bc-b59f-c43792d618a0

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 2a2be079-6406-444c-81f4-f14c492381c7

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 41a69faa-7106-4161-ace1-d1ae9e8e551f

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/2007/head:pr_2007 && git checkout pr_2007
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.13.0-624e4fd

@markmandel
Copy link
Member Author

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

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

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:
  • OWNERS [markmandel,roberthbailey]

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

@roberthbailey roberthbailey merged commit 25def1b into googleforgames:main Mar 5, 2021
@markmandel markmandel deleted the update/1.18-crd-spec branch March 5, 2021 17:32
@markmandel markmandel added this to the 1.13.0 milestone Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants