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

Add local-hostname to metadata #66

Merged
merged 1 commit into from
Sep 21, 2021

Conversation

detiber
Copy link
Contributor

@detiber detiber commented Sep 15, 2021

Description

Adds local-hostname to the ec2 style metadata output to allow for better consumption of metadata by cloud-init

Why is this needed

When cloud-init attempts to set the hostname using the ec2 metadata source, it uses the value of local-hostname.

How Has This Been Tested?

Ran existing test suite

How are existing users impacted? What migration steps/scripts do we need?

This should not affect existing users, other than those that are hitting issues with cloud-init not setting the hostname when using hegel as an ec2 metadata source.

@codecov
Copy link

codecov bot commented Sep 15, 2021

Codecov Report

Merging #66 (6c0ade5) into main (2b42541) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   33.57%   33.57%           
=======================================
  Files           3        3           
  Lines         420      420           
=======================================
  Hits          141      141           
  Misses        256      256           
  Partials       23       23           
Impacted Files Coverage Δ
http-server/http_handlers.go 44.79% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b42541...6c0ade5. Read the comment docs.

Copy link
Member

@jacobweinstock jacobweinstock left a comment

Choose a reason for hiding this comment

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

/ltgm

@jacobweinstock jacobweinstock added kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. labels Sep 15, 2021
@jacobweinstock jacobweinstock merged commit 89cb9dc into tinkerbell:main Sep 21, 2021
jacobweinstock added a commit to jacobweinstock/hegel that referenced this pull request May 5, 2022
Hello. I would like to request the Approver role in the Hegel repo.

GitHub Username
@jacobweinstock

Role
Approver

Requirements:
- approver from 2020-10-01 until 2022-04-01 
- reviewer from 2022-04-29 until present

Reviews:
- tinkerbell#87
- tinkerbell#66
- tinkerbell#65
- tinkerbell#60

Maintainers
@chrisdoherty4, @nshalman, @mmlb
@jacobweinstock jacobweinstock mentioned this pull request May 5, 2022
3 tasks
mergify bot added a commit that referenced this pull request May 5, 2022
Hello. I would like to request the Approver role in the Hegel repo.

GitHub Username
@jacobweinstock

Role
Approver

Requirements:
- approver from 2020-10-01 until 2022-04-01 
- reviewer from 2022-04-29 until present

Reviews:
- #87
- #66
- #65
- #60

Maintainers
@chrisdoherty4, @nshalman, @mmlb

## Description



## Why is this needed



Fixes: #

## How Has This Been Tested?





## How are existing users impacted? What migration steps/scripts do we need?





## Checklist:

I have:

- [ ] updated the documentation and/or roadmap (if required)
- [ ] added unit or e2e tests
- [ ] provided instructions on how to upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants