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

Don't default adding MIMEBOUNDARY headers when a mixed instances policy is set #7370

Merged
merged 2 commits into from
Aug 2, 2019

Conversation

KashifSaadat
Copy link
Contributor

Currently the MIMEBOUNDARY header is added if one of the following cases is met:

  • AdditionalUserData is set on an Instance Group
  • MixedInstancesPolicy is set on an Instance Group

The latter being set on an IG for a CoreOS nodepool now breaks on provisioning the nodes, as CoreOS doesn't support MIME messages. It is still set as required when AdditionalUserData has been provided, but will need follow-up with further investigation to get additional user data scripts working when using CoreOS.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 2, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: KashifSaadat

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 2, 2019
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 2, 2019
@gambol99
Copy link
Contributor

gambol99 commented Aug 2, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 2, 2019
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 2, 2019
@gambol99
Copy link
Contributor

gambol99 commented Aug 2, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 2, 2019
@k8s-ci-robot k8s-ci-robot merged commit 2305144 into kubernetes:master Aug 2, 2019
@KashifSaadat KashifSaadat deleted the userdata-mimeboundary-fix branch August 2, 2019 12:04
@edsonmarquezani
Copy link

@KashifSaadat Thanks a lot for this! I've been waiting for it since 1.12 alpha, with Kops frozen because I use CoreOS and MixedInstancePolicy.

I opened this issue but haven't received any return since then. #6863

@KashifSaadat
Copy link
Contributor Author

@edsonmarquezani no worries at all, sorry it took so long to fix!

@justinsb
Copy link
Member

Thanks for fixing @KashifSaadat

Should we cherry pick all the way back to 1.12?

@justinsb
Copy link
Member

I sent #7418 to cherry-pick to 1.14, as we want to cut a 1.14 beta soon!

@KashifSaadat
Copy link
Contributor Author

Awesome thanks! I'll review and LG :)

@edsonmarquezani
Copy link

@justinsb A cherry-pick from 1.12.x ahead would be welcome, since I don't need to jump right to 1.14, skipping 1.13. Not sure if this is completely safe.

@KashifSaadat
Copy link
Contributor Author

Ah missed your previous message, yes it may be good to cherry-pick back for those using the older kops releases 👍

k8s-ci-robot added a commit that referenced this pull request Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove MixedInstancesPolicy from nodeup MIMEBOUNDARY
5 participants