3 Customizing Cloud Native Policy and Charging Rules Function
This chapter describes how to customize the Cloud Native Policy and Charging Rules Function (CNPCRF) deployment in a cloud native environment.
The CNPCRF deployment is customized by overriding the default values of various configurable parameters in the custom-values-cnpcrf.yaml file.
To customize the
custom-values-cnpcrf.yaml
file as per the required parameters:
- Go to the Oracle Help Center (OHC) Web site:
- Navigate to Industries->Communications->Cloud Native Core
- Click the CNPCRF Custom Templates link to download the zip file.
- Unzip the file to get the
occnpcrf-custom-values-1.6.0.yaml. This file is used during installation. - Customize the occnpcrf-custom-values-1.6.0.yaml file.
- Save the updated occnpcrf-custom-values-1.6.0.yaml file in the helm chart directory.
Following is a sample occnpcrf-custom-values-1.6.0.yaml file .
#section: global
global:
# docker registry name
dockerRegistry: '<>'
imageServiceDetector: readiness-detector:1.6.0
# Tag name of image
imageTag: '<>'
# Primary MYSQL Host IP or Hostname
envMysqlHost: '<>'
# Jaegar hostname
envJaegerAgentHost: ''
# System name
envSystemName: 'PCRF'
releaseDbName: 'pcrf_release'
# K8s secret object name containing cnPCRF MYSQL UserName and Password
dbCredSecretName: 'pcrf-db-pass'
privilegedDbCredSecretName: 'pcrf-privileged-db-pass'
# section: for core service
pcrf-core:
# database name core service will connect to
envMysqlDatabase: pcrf
# section: for config server
config-server:
# database name config service will connect to
envMysqlDatabase: ocpm_config_server