Skip to content

Instantly share code, notes, and snippets.

@kayrus
kayrus / main.go
Created May 29, 2017 15:16 — forked from zonorti/main.go
http to k8s deployment patch. gorilla + k8s go client. For local run set KUBECONFIG path to config file
package main
import (
"flag"
"fmt"
"encoding/json"
"github.com/gorilla/mux"
"github.com/gorilla/handlers"
"io"