integration-tests/src/test/java/oracle/kubernetes/operator/utils/DbUtils.java
public static void createDockerRegistrySecret(String namespace) throws Exception {
    String secret = System.getenv("IMAGE_PULL_SECRET_FMWINFRA");
    if (secret == null) {
      secret = DEFAULT_ImagePullSecret;
    }
    String ocrserver = System.getenv("OCR_SERVER");
    if (ocrserver == null) {
      ocrserver = "container-registry.oracle.com";
    }
   
    TestUtils.createDockerRegistrySecret(
          secret,
          ocrserver,
          System.getenv("OCR_USERNAME"),
          System.getenv("OCR_PASSWORD"),
          System.getenv("OCR_USERNAME"),
          namespace);
  }
/**
   * Create Docker Registry Secret in the specified namespace.
   * 
   * @param namespace namespace where the docker registry secret is going to create
   * @throws Exception when the kubectl create secret command fails
   */
Create Docker Registry Secret in the specified namespace.

@param namespace namespace where the docker registry secret is going to create
@throws Exception when the kubectl create secret command fails
Create Docker Registry Secret in the specified namespace . @param namespace namespace where the docker registry secret is going to create @throws Exception when the kubectl create secret command fails
public static void createDockerRegistrySecret(String namespace) throws Exception {
    String secret = System.getenv("IMAGE_PULL_SECRET_FMWINFRA");
    if (secret == null) {
      secret = DEFAULT_ImagePullSecret;
    }
    String ocrserver = System.getenv("OCR_SERVER");
    if (ocrserver == null) {
      ocrserver = "container-registry.oracle.com";
    }
    TestUtils.createDockerRegistrySecret(
          secret,
          ocrserver,
          System.getenv("OCR_USERNAME"),
          System.getenv("OCR_PASSWORD"),
          System.getenv("OCR_USERNAME"),
          namespace);
  }
public static void createDockerRegistrySecret ( String namespace ) throws Exception { String secret = System . getenv ( "IMAGE_PULL_SECRET_FMWINFRA" ) ; if ( secret == null ) { secret = DEFAULT_ImagePullSecret ; } String ocrserver = System . getenv ( "OCR_SERVER" ) ; if ( ocrserver == null ) { ocrserver = "container-registry.oracle.com" ; } TestUtils . createDockerRegistrySecret ( secret , ocrserver , System . getenv ( "OCR_USERNAME" ) , System . getenv ( "OCR_PASSWORD" ) , System . getenv ( "OCR_USERNAME" ) , namespace ) ; }
Create Docker Registry Secret in the specified namespace.
Create Docker Registry Secret in the specified namespace .