Skip to content

Instantly share code, notes, and snippets.

View rsreeni's full-sized avatar

sreenivasan rajagopalan rsreeni

  • Not willing to disclose.
  • St.Louis
View GitHub Profile
@dwmkerr
dwmkerr / k8s-patch-virtualservice.go
Last active October 10, 2022 06:06
Example showing how to patch an Istio VirtualService CRDs Golang
// 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"