Configuration Example

The following example shows configuration of NRF Client:

matrixx-app:
  deployment:
    volumes:
      default-config:
        configMap:
          name: nrf-client-application-config
      certs:
        secret:
          secretName: server-pem-secret
 
    containers:
      nrf-client:
        env:
          VERTX_CONFIG_PATH:
            value: /opt/mtx/conf/application.yaml
        volumeMounts:
          default-config:
            mountPath: /opt/mtx/conf
          certs:
            mountPath: /opt/mtx/sec
 
  configMap:
    enabled: true
    files:
      application-config:
        application.yaml: |
          nrf:
            security:
              tls:
                enabled: true
                clientCertificatePath: /opt/mtx/sec/client-cert.pem
                clientKeyPath: /opt/mtx/sec/client-key.pem
                serverCertificatePaths: 
                  - /opt/mtx/sec/server-cert.pem                  
            clients:
              - host: https://nrf1.matrixx.svc.cluster.local
                retryInterval: 20s
 
            nfServiceQuery:
              enabled: true
              port: 8081
              selectors:
                - label: app
                  value: chf-proxy
            mapping:
              registration:
                nfProfile:
                  heartBeatTimer: 30
                  fqdn: chf-proxy

For more information about properties common to all Charging Function components, see the discussion about common component configuration properties. For more information about properties specific to NRF Client, see the disscussion about application configuration properties.