mogensen / kubernetes-split-yaml

Split the 'giant yaml file' into one file pr kubernetes resource
99 stars 20 forks source link

[feature] make it work with http URL #10

Closed ebuildy closed 3 years ago

ebuildy commented 3 years ago

for lazy people like me, something like

kubernetes-split-yaml https://github.com/rabbitmq/messaging-topology-operator/releases/latest/download/messaging-topology-operator-with-certmanager.yaml
elzapp commented 3 years ago

When I'm lazy, I pipe curl to kubernetes-split-yaml

curl -L https://github.com/rabbitmq/messaging-topology-operator/releases/latest/download/messaging-topology-operator-with-certmanager.yaml | kubernetes-split-yaml -
mogensen commented 3 years ago

Hehe. I love lazy people. @ebuildy I will keep the feature request in mind for the future. But I think @elzapp has a better way for now. :)

ebuildy commented 3 years ago

absolutely !

(I hate pipe usually , because this is not compatible with container and some other tool but I will wrap this into a shell file)