new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static boolean createClusterRoleBinding(V1ClusterRoleBinding clusterRoleBinding)
          throws ApiException {
    try {
      V1ClusterRoleBinding crb = rbacAuthApi.createClusterRoleBinding(
              clusterRoleBinding, // role binding configuration data
              PRETTY, // pretty print output
              null, // indicates that modifications should not be persisted
              null // fieldManager is a name associated with the actor
      );
    } catch (ApiException apex) {
      getLogger().severe(apex.getResponseBody());
      throw apex;
    }

    return true;
  }
/**
   * Create a Cluster Role Binding.
   *
   * @param clusterRoleBinding V1ClusterRoleBinding object containing role binding configuration data
   * @return true if successful
   * @throws ApiException if Kubernetes client API call fails
   */
Create a Cluster Role Binding.
@param clusterRoleBinding V1ClusterRoleBinding object containing role binding configuration data
@return true if successful
@throws ApiException if Kubernetes client API call fails
Create a Cluster Role Binding . @param clusterRoleBinding V1ClusterRoleBinding object containing role binding configuration data @return true if successful @throws ApiException if Kubernetes client API call fails
public static boolean createClusterRoleBinding(V1ClusterRoleBinding clusterRoleBinding)
          throws ApiException {
    try {
      V1ClusterRoleBinding crb = rbacAuthApi.createClusterRoleBinding(
              clusterRoleBinding, 
              PRETTY, 
              null, 
              null 
      );
    } catch (ApiException apex) {
      getLogger().severe(apex.getResponseBody());
      throw apex;
    }
    return true;
  }
public static boolean createClusterRoleBinding ( V1ClusterRoleBinding clusterRoleBinding ) throws ApiException { try { V1ClusterRoleBinding crb = rbacAuthApi . createClusterRoleBinding ( clusterRoleBinding , PRETTY , null , null ) ; } catch ( ApiException apex ) { getLogger ( ) . severe ( apex . getResponseBody ( ) ) ; throw apex ; } return true ; }
Create a Cluster Role Binding.
Create a Cluster Role Binding .
// role binding configuration data // pretty print output // indicates that modifications should not be persisted // fieldManager is a name associated with the actor