X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fnbi%2Fconfig.yaml;h=b465e7a1b12480b34f032ad238629cc830d6a039;hb=5b78193597bfcf487d4700d68809d0390bc68857;hp=7f3275273c5fc024973b0cde72c9b1f6ccff0c31;hpb=d68e0b4f0bc482d61f2e2a775b899237e15f93e9;p=osm%2Fdevops.git diff --git a/installers/charm/nbi/config.yaml b/installers/charm/nbi/config.yaml index 7f327527..b465e7a1 100644 --- a/installers/charm/nbi/config.yaml +++ b/installers/charm/nbi/config.yaml @@ -72,3 +72,66 @@ options: mongodb_uri: type: string description: MongoDB URI (external database) + image_pull_policy: + type: string + description: | + ImagePullPolicy configuration for the pod. + Possible values: always, ifnotpresent, never + default: always + debug_mode: + description: | + If true, debug mode is activated. It means that the service will not run, + and instead, the command for the container will be a `sleep infinity`. + Note: If enabled, security_context will be disabled. + type: boolean + default: false + debug_pubkey: + description: | + Public SSH key that will be injected to the application pod. + type: string + debug_nbi_local_path: + description: | + Local full path to the NBI project. + + The path will be mounted to the docker image, + which means changes during the debugging will be saved in your local path. + type: string + debug_common_local_path: + description: | + Local full path to the COMMON project. + + The path will be mounted to the docker image, + which means changes during the debugging will be saved in your local path. + type: string + security_context: + description: Enables the security context of the pods + type: boolean + default: false + tcpsocket_readiness_probe: + description: | + Configuration of tcpsocket readiness probe. + + Default values (when configuration is empty): + initial_delay_seconds = 5 + timeout_seconds = 5 + period_seconds = 10 + success_threshold = 1 + failure_threshold = 3 + + Example of configuration: + juju config nbi tcpsocket_readiness_probe='{"failure_threshold": 7}' + type: string + tcpsocket_liveness_probe: + description: | + Configuration of tcpsocket liveness probe. + + Default values (when configuration is empty): + initial_delay_seconds = 45 + timeout_seconds = 10 + period_seconds = 10 + success_threshold = 1 + failure_threshold = 3 + + Example of configuration: + juju config nbi tcpsocket_liveness_probe='{"initial_delay_seconds": 10}' + type: string