X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fcharm%2Fnbi%2Fconfig.yaml;h=eabd968b0f83f232b10d4cfc5b7c5ed6aea6fccd;hb=4a46c6ee105522c9018e977977542e4bee50133c;hp=89e248dc0a96012bee6d8dc18886126510cc1101;hpb=d680be4f261d4c580fcdf75abe11cfc29003915d;p=osm%2Fdevops.git diff --git a/installers/charm/nbi/config.yaml b/installers/charm/nbi/config.yaml index 89e248dc..eabd968b 100644 --- a/installers/charm/nbi/config.yaml +++ b/installers/charm/nbi/config.yaml @@ -82,9 +82,56 @@ options: 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 = 5 + timeout_seconds = 5 + period_seconds = 10 + success_threshold = 1 + failure_threshold = 3 + + Example of configuration: + juju config nbi tcpsocket_liveness_probe='{"initial_delay_seconds": 10}' + type: string