carvel-dev / carvel-dev/ytt

Ytt removes quotes for hex strings, which makes them ambiguous

Open
#822 13 comments 7 reactions 1 assignee Assigned to @prembhaskal View on GitHub
bug can be replicated carvel accepted priority/unprioritized-backlog
Dominant language
Go
Stars
1.9k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**What steps did you take:**

```shell
echo 'hex-string: "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed"' > template.yaml
ytt -f template.yaml
```

**What happened:**

quotes removed

**What did you expect:**

quotes preserved, as hex string format might contain specific encoding where string format required (e.g. upper/lower case letters provides checksum)

**Environment:**

- ytt version (use `ytt --version`): 0.45.0
- OS (e.g. from `/etc/os-release`): Fedora 36

---
Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.