Sample values.yaml file

This section provides information about the configurable parameters and values defined in the custom values.yaml template file.

The following sample illustrates the values.yaml file:
# Copyright 2019 (C), Oracle and/or its affiliates. All rights reserved.


# This yaml file could be supplied in helm install command when deploying OCNSSF v1.x.y


# e.g. helm install <helm-repo>/ocnssf --name ocnssf --namespace ocnssf -f <this file>


# Compatible with OCNSSF CHART VERSION 1.x.y


# - Set the docker registry (repository) in:

#     nsselection.image.repository

#     nspolicy.image.repository

#     nsconfig.image.repository

#     nsregistration.image.repository


# - Override (if needed) the ambassador id in:

#     ambassador.ambassador.id

#     ambassador.service.annotations.getambassador.io/config

#     nsselection.ambassador.id

#     nspolicy.ambassador.id

#     nsconfig.ambassador.id

#     nsregistration.ambassador.id


# - Set the MetalLB pool name in:

#     ambassador.service.annotations.metallb.universe.tf/address-pool


# - To integrate with NDB DB-Tier cluster,

#     set the hostname of the primary sql node in:

#       nspolicy.mysql.primary.host

#       nsconfig.mysql.primary.host

#     AND

#     set the hostname of the secondary sql node in

#       nspolicy.mysql.secondary.host

#       nsconfig.mysql.secondary.host

#     AND

#     set the username and password in

#       nsconfig.mysql.username

#       nsconfig.mysql.password

#     (note: the username and password can be provided in an alternative way by creating a kubernetes secret

#            with the following properties:

#              name: ocnssf-creds

#              namespace: same as ocnssf deployment

#              data:

#                mysql-username: <username>

#                mysql-password: <password>

#

# - To connect to the PLMN level NRF to utilize registration services

#     set the fqdn and port of NRF in:

#       nsregistration.nrf.host and nsregistration.nrf.port

#     AND

#     configure the NSSF profile in

#       nsregistration.configFiles.nssf.profile

#     AND

#     set the NSSF fqdn in

#       nsregistration.nssf.fqdn


# - To connect to the PLMN level NRF to utilize discovery serrvice for AMF candidates

#     set the fqdn and port of NRF in:

#       nspolicy.nrf.host and nspolicy.nrf.port

#     AND

#     set nspolicy.nsp.nrfdisc to true


# - To turn on logging

#     set the appropriate logging level (one of: OFF, INFO, DEBUG, ERROR, ALL) in one or more of the following:

#       nsselection.nss.loglevel

#       npolicy.nsp.loglevel

#       nsregistration.nsr.loglevel

#       nsconfig.nsc.loglevel


ambassador:

  ambassador:

    id: ocnssf-nsgateway

  service:

    annotations :

      metallb.universe.tf/address-pool: signaling1

      getambassador.io/config: |

           ---

           apiVersion: ambassador/v1

           kind: Module

           name: ambassador

           ambassador_id: ocnssf-nsgateway

           config:

             service_port: 8080



nsselection:

  image:

    repository: reg-1:5000

  loglevel: "OFF"

  ambassador:

    id: ocnssf-nsgateway

nspolicy:

  image:

    repository: reg-1:5000

  mysql:

    primary:

      host: "ocnssf-nsdb.ocnssf"

    secondary:

      host: "ocnssf-nsdb.ocnssf" 

    port: 3306

  nrf:

    primaryUrl: http://ocnrf.oracle.com:80

    secondaryUrl: http://ocnrf.oracle.com:80

  homeMcc: "100"

  homeMnc: "101"

  loglevel: "OFF"

  reqnftime: false

  outboundProxy: disabled

  features:

    nrfdiscovery: true

    relevance: true

    candidateResolution: true

  nrfDiscoveryProperties:

    disclimit: 5

    httpMaxRetries: 3      

  candidateResolutionProperties:

    maxcandidates: 3

  ambassador:

    id: ocnssf-nsgateway

nsavailability:

  image:

    repository: reg-1:5000

  mysql:

    primary:

      host: "ocnssf-nsdb.ocnssf"

    secondary:

      host: "ocnssf-nsdb.ocnssf"

    port: 3306

  loglevel: "OFF"

  ambassador:

    id: ocnssf-nsgateway

  maxExpiryDuration: 240

  minExpiryDuration: 0

nsconfig:

  image:

    repository: reg-1:5000

  mysql:

    primary:

      host: "ocnssf-nsdb.ocnssf"

    secondary:

      host: "ocnssf-nsdb.ocnssf"

    port: 3306

    username: changeme

    password: changeme

  loglevel: "OFF"

  nrf:

    subscription: true

  ambassador:

    id: ocnssf-nsgateway

    fqdn: http://ocnssf-nsgateway:80


nsregistration:

  configFiles:

    nf.profile: |-

      {

        "plmnList": [{"mcc": "310", "mnc": "14"}],

        "fqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",

        "interPlmnFqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",

        "ipv4Addresses": [ "127.0.0.1", "10.0.0.1" ],

        "ipv6Addresses": [ "::1", "::2" ],

        "priority": 5,

        "locality": "us-east",

        "nfServices": [{

                "serviceName": "nssf-nsselection",

                "versions": [{

                        "apiVersionInUri": "v1",

                        "apiFullVersion": "1.15.3.0",

                        "expiry": "2019-12-31T23:59:59.000+0000"

                }],

                "scheme": "http",

                "allowedNfTypes": [ "AMF" ],

                "fqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",

                "interPlmnFqdn": "ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com",

                "ipEndPoints": [{

                        "ipv4Address": "127.0.0.1",

                        "transport": "TCP",

                        "port": 80

                }]

        }]

      }
  

  image:

    repository: reg-1:5000

  nrf:

    primaryUrl: http://ocnrf.oracle.com:80

    secondaryUrl: http://ocnrf.oracle.com:80

  nf:

    fqdn: ocnssf-nsgateway.ocnssf.svc.us.lab.oracle.com

  httpMaxRetries: 0

  loglevel: "OFF"

  outboundProxy: disabled

  ambassador:

    id: ocnssf-nsgateway
  

nssubscription:

  image:

    repository: reg-1:5000

  mysql:

    primary:

      host: "ocnssf-nsdb.ocnssf"

    secondary:

      host: "ocnssf-nsdb.ocnssf" 

    port: 3306

  httpMaxRetries: 3

  loglevel: "OFF"

  ambassador:

    id: ocnssf-nsgateway