Skip to content

Instantly share code, notes, and snippets.

View diafour's full-sized avatar

Ivan Mikheykin diafour

View GitHub Profile
@tallclair
tallclair / dynamic_crds.go
Last active January 24, 2024 07:18
Example of using CRDs with the dynamic go client
package main
import (
"fmt"
"log"
"os/user"
"path/filepath"
"strings"
apixv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"