Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

fix: correct position for security context #81

Merged
merged 2 commits into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ install = kustomize('config/default')
objects = decode_yaml_stream(install)
for o in objects:
if o.get('kind') == 'Deployment' and o.get('metadata').get('name') == 'mpas-project-controller':
o['spec']['template']['spec']['securityContext']['runAsNonRoot'] = False
o['spec']['template']['spec']['containers'][0]['securityContext']['runAsNonRoot'] = False
break

updated_install = encode_yaml_stream(objects)
Expand Down
Loading