Make tcpsocket readiness and liveness configurable
[osm/devops.git] / installers / charm / nbi / config.yaml
index a85aa70..eabd968 100644 (file)
@@ -89,7 +89,49 @@ options:
     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