Skip to content

Instantly share code, notes, and snippets.

Avatar

sreenivasan rajagopalan rsreeni

View GitHub Profile
@dwmkerr
dwmkerr / k8s-patch-virtualservice.go
Last active Aug 13, 2020
Example showing how to patch an Istio VirtualService CRDs Golang
View k8s-patch-virtualservice.go
// Example showing how to patch Kubernetes resources.
package main
import (
"encoding/json"
"fmt"
"k8s.io/apimachinery/pkg/runtime/schema"
types "k8s.io/apimachinery/pkg/types"
"k8s.io/client-go/dynamic"
You can’t perform that action at this time.