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: 23.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: 23.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

Istio Sidecar Injection Parameters

These parameters are used to enable Service Mesh support:

Note:

The label of the namespace takes precedence over the configured injection parameter. If Service Mesh has to be disabled, ensure the injection parameter is not configured in the namespace or it is disabled.

Table 5-2 Istio Sidecar Paramaters

Parameter Description Details
injection This parameter is used to enable Service Mesh support. Range: true, false

Default value: False

readinessCheck Flag to enable or disable the feature. If disabled then there is no need to configure. Range: true, false

Default value: False