5.1.1 Global Parameters
Table 5-1 Global Paramaters
| Parameter | Description | Details | 
|---|---|---|
global.test.nfName | 
                           
                               This is a mandatory parameter. The value of nfName is specified as ocnwdaf. The nfName is used as a prefix in the test container name.  | 
                           
                               Default value: ocnwdaf  | 
                        
global.test.image.name | 
                           
                               This is a mandatory parameter. Name of the test image.  | 
                           
                               Default value: nf_test  | 
                        
global.test.image.tag | 
                           
                               This is a mandatory parameter. Name of the test image tag.  | 
                           
                               Default value: 22.2.0  | 
                        
global.test.config.logLevel | 
                           
                               This is an optional parameter. Helm test hook-related configurations. It indicates the logging level of the test container.  | 
                           
                               Range: INFO, DEBUG, FATAL, ERROR, WARN Default value: INFO  | 
                        
global.test.config.timeout | 
                           
                               This is an optional parameter. Helm test hook-related configurations. Beyond this duration, helm test is considered as a failure.  | 
                           Default value: 240 | 
global.test.complianceEnable | 
                           
                               This is an optional parameter. Helm test hook-related configurations. Sets the test container as compliant.  | 
                           Range: true, false
                               Default value: true  | 
                        
global.test.resources | 
                           
                               This is a mandatory parameter. It specifies the resources to which the test pod needs access.  | 
                           
                               Default value: - deployments/v1 - configmaps/v1 - serviceaccounts/v1 -poddisruptionbudgets/v1 - roles/v1 - statefulsets/v1 - services/v1 - rolebindings/v1  | 
                        
Example of the configurations that should be included under the global section of the oc-nwdaf-custom-values.yaml file.
global:
  test:
    nfName: ocnwdaf
    image:
      name: nf_test
      tag: 22.2.0
    config:
      logLevel: INFO
      timeout: 240
    complianceEnable: true
    resources:
      - deployments/v1
      - configmaps/v1
      - serviceaccounts/v1
      - poddisruptionbudgets/v1
      - roles/v1
      - statefulsets/v1
      - services/v1
      - rolebindings/v1