class LoadAndCreateCustomResourceDefinition {
  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    try (final KubernetesClient k8s = new KubernetesClientBuilder().build()) {
      CustomResourceDefinition crd = k8s.apiextensions().v1()
          .customResourceDefinitions()
          .load(LoadAndCreateCustomResourceDefinition.class.getResourceAsStream("/test-crd.yaml"))
          .item();

      k8s.apiextensions().v1().customResourceDefinitions().resource(crd).create();
    }
  
<no_super_class>