X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=installers%2Fcharm%2Fnbi%2Fconfig.yaml;h=eabd968b0f83f232b10d4cfc5b7c5ed6aea6fccd;hb=4a46c6ee105522c9018e977977542e4bee50133c;hp=a3d94bc25e6c3468fe12f123b61a071805414b77;hpb=996a5604c7d31f3758503b08a426f1f40619b17b;p=osm%2Fdevops.git diff --git a/installers/charm/nbi/config.yaml b/installers/charm/nbi/config.yaml index a3d94bc2..eabd968b 100644 --- a/installers/charm/nbi/config.yaml +++ b/installers/charm/nbi/config.yaml @@ -27,6 +27,11 @@ options: of Keystone, it may need to be configured to handle the requested size. Note: if set to 0, there is no limit. default: 0 + ingress_class: + type: string + description: | + Ingress class name. This is useful for selecting the ingress to be used + in case there are multiple ingresses in the underlying k8s clusters. ingress_whitelist_source_range: type: string description: | @@ -67,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 = 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