@thejml@lemm.ee
link
fedilink
English
238M

Don’t forget, Kubernetes is totally happy with json input and output instead. Use json, be the change you want to see in the world!

Snot Flickerman
link
fedilink
English
98M

Press X to “Jason!”

That’s because YAML syntax is a superset of JSON. Any YAML parser should also accept JSON, not just the one k8s uses.

@342345@feddit.de
link
fedilink
5
edit-2
8M

It felt unusual at first that they attached semantics to (white spaces and tabs as) non-printable characters. On the other hand other n.p.- characters like line feeds always had a meaning (I.e. within multi line strings).

So why not, when it helps to reduce the amount of (printable) characters to describe your thing and increase clarity? 🤔

Add on a CI system (not Jenkins) and you got yaml controlling your yaml!

vojel
link
fedilink
28M

Wait I do that and never realized it. YAMLception

My last job is currently controlling kubernetes with Ansible (configuration management and orchestration) in a hybrid cloud model. The new engineering director likes yaml so they put yaml on his yaml.

@Azzk1kr@feddit.nl
link
fedilink
English
28M

Yo dawg…

If yaml wasn’t such a pain to edit on mobile, I wouldn’t mind it so much. Yes, XML uses closing tags, but it’s the 2020’s, I think we can stand that extra few K of space so I can edit my portainer stacks without the UI freaking the fuck out because I want to delete something. YMMV…

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog