@@ -267,6 +267,15 @@ hull:
267267 register : true
268268 remove : false
269269
270+ templates :
271+ pod :
272+ global : {}
273+ no-root :
274+ securityContext :
275+ runAsNonRoot : true
276+ runAsUser : 1001
277+ container :
278+ global : {}
270279# ##################################################
271280
272281 objects :
@@ -309,15 +318,15 @@ hull:
309318 helm.sh/hook-weight : " -15"
310319 helm.sh/hook-delete-policy : before-hook-creation
311320
312- clusterrolebinding :
321+ rolebinding :
313322 hull-install-events :
314323 annotations :
315324 helm.sh/hook : pre-install,pre-upgrade
316325 helm.sh/hook-weight : " -15"
317326 helm.sh/hook-delete-policy : before-hook-creation
318327 roleRef :
319328 apiGroup : rbac.authorization.k8s.io
320- kind : ClusterRole
329+ kind : Role
321330 name : _HT^events
322331 subjects :
323332 - kind : ServiceAccount
@@ -330,13 +339,14 @@ hull:
330339 helm.sh/hook-delete-policy : before-hook-creation
331340 roleRef :
332341 apiGroup : rbac.authorization.k8s.io
333- kind : ClusterRole
342+ kind : Role
334343 name : _HT^events
335344 subjects :
336345 - kind : ServiceAccount
337346 name : _HT^hull-configure
338347 namespace : _HT!{{ (index . "$").Release.Namespace }}
339- clusterrole :
348+
349+ role :
340350 events :
341351 annotations :
342352 helm.sh/hook : pre-install,pre-upgrade
@@ -377,6 +387,8 @@ hull:
377387 annotations :
378388 " helm.sh/hook-delete-policy " : before-hook-creation
379389 pod :
390+ sources :
391+ - no-root
380392 containers :
381393 installation :
382394 command : ["/bin/sh", "-c"]
@@ -420,7 +432,7 @@ hull:
420432 installation :
421433 image :
422434 repository : hull/hull-integration
423- tag : <HULL-VIDISPINE-ADDON-VERSION>
435+ tag : <HULL-VIDISPINE-ADDON-VERSION>-noroot
424436 args : _HT![
425437 {{ if (or (index . "$").Values.hull.config.general.data.installation.config.customCaCertificates (index . "$").Values.hull.config.general.data.installation.config.certificateSecrets) }}
426438 echo Updating Certificates;
@@ -448,7 +460,7 @@ hull:
448460 installation :
449461 image :
450462 repository : hull/hull-integration
451- tag : <HULL-VIDISPINE-ADDON-VERSION>
463+ tag : <HULL-VIDISPINE-ADDON-VERSION>-noroot
452464 args : _HT![
453465 {{ if (or (index . "$").Values.hull.config.general.data.installation.config.customCaCertificates (index . "$").Values.hull.config.general.data.installation.config.certificateSecrets) }}
454466 echo Updating Certificates;
0 commit comments