Sfoglia il codice sorgente

Allow running privileged containers

Waqar Ahmed 4 anni fa
parent
commit
b2cedfb137
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13 0
      test/ix-chart/2102.1.0/questions.yaml

+ 13 - 0
test/ix-chart/2102.1.0/questions.yaml

@@ -447,3 +447,16 @@ questions:
       $ref:
         - "definitions/gpuConfiguration"
       attrs: []
+
+  - variable: securityContext
+    label: "Security Context"
+    group: "Workload Details"
+    schema:
+      type: dict
+      attrs:
+        - variable: privileged
+          label: "Privileged Mode"
+          description: "Determines if any container in a pod can enable privileged mode. By default a container is not allowed to access any devices on the host, but a 'privileged' container is given access to all devices on the host. This allows the container nearly all the same access as processes running on the host."
+          schema:
+            type: boolean
+            default: false