npm-wharf / mcgonagall

Transfigures toml cluster and service specifications into working Kubernetes cluster specifcations
ISC License
9 stars 1 forks source link

support `self` shorthand in deployment affinities #7

Closed zxaos closed 5 years ago

zxaos commented 5 years ago

To avoid having to repeat the pod name in affinities, self can be used. It will be translated to name = <generated name>.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.1%) to 84.13% when pulling f26f2ebad6981aa9f4e82781d069d28e19714bed on self-affinities into 7f762704e9253458abd6516a971dbff63b4bd9e0 on master.

zxaos commented 5 years ago

Merging per discussion on slack