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 kebab-case settings as the default #26

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

jpculp
Copy link
Member

@jpculp jpculp commented Apr 2, 2021

Issue number:

N/A

Description of changes:

This adds support for settings in kebab-case which is more consistent with Bottlerocket's API.
For legacy compatibility, we have added an OR conditional for the snake_case equivalents from v0.6.0.

Testing done:

  • Launched aws-ecs-1 instance.
  • Instance connected to ecs cluster.
  • Test task deployed successfully.
  • Connected to admin container via ssh.
  • Ran sudo sheltie to verify root shell was still available.
  • Checked for failed systemd units.

Then I reran the same test as above with an ami containing a kebab-case patched shibaken.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

This adds support for settings in kebab-case which is more consistent
with Bottlerocket's API. For legacy compatibility, we have added an OR
conditional for the snake_case equivalents from v0.6.0.
Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

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

🎧

@jpculp jpculp marked this pull request as ready for review April 2, 2021 18:56
@jpculp jpculp merged commit 12ecaec into bottlerocket-os:develop Apr 2, 2021
@jpculp jpculp deleted the add-kebab-case branch April 2, 2021 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants