ChrisFraun commented on code in PR #24588:
URL: https://github.com/apache/airflow/pull/24588#discussion_r942427634


##########
chart/values.schema.json:
##########
@@ -100,6 +100,34 @@
                 }
             ]
         },
+        "securityContexts": {
+            "description": "Security context definition. The values in this 
parameter will be used when `securityContexts` is not defined for specific 
Pods/Container",
+            "type": "object",
+            "x-docsSection": "Kubernetes",
+            "properties": {
+                "pod": {
+                    "description": "Pod security context definition. The 
values in this parameter will be used when `securityContexts` is not defined 
for specific Pods",
+                    "type": "object",
+                    "$ref": 
"#/definitions/io.k8s.api.core.v1.PodSecurityContext",
+                    "default": {},
+                    "x-docsSection": "Kubernetes",
+                    "examples": [
+                        {
+                            "runAsUser": 50000,
+                            "runAsGroup": 0,
+                            "fsGroup": 0
+                        }
+                    ]
+                },
+                "container": {
+                    "description": "Container security context definition. The 
values in this parameter will be used when `securityContexts` is not defined 
for specific containers",
+                    "type": "object",
+                    "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext",
+                    "default": {},

Review Comment:
   actually I moved it to the helper: 
https://github.com/apache/airflow/blob/85ec1fede2848ae8dc45dca8d0f933c9e400c9f7/chart/templates/_helpers.yaml#L786-L814



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to