Skip to content

Commit 9904a8e

Browse files
sadikneippSadi Kneipp
andauthored
fix yaml alignment (#426)
Co-authored-by: Sadi Kneipp <[email protected]>
1 parent 26dc796 commit 9904a8e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/xpk/core/pathways.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,20 @@ def get_pathways_sidecar_container(args) -> str:
8787
str: yaml containing arguments for the Pathways sidecar container.
8888
"""
8989
yaml = """initContainers:
90-
- name: remote-python-sidecar
91-
image: {args.remote_python_sidecar_image}
92-
imagePullPolicy: Always
93-
securityContext:
94-
privileged: true
95-
volumeMounts:
96-
- mountPath: /tmp # Shared volume mount with the main container.
97-
name: shared-tmp
98-
restartPolicy: Always
99-
ports:
100-
- containerPort: 50051
101-
env:
102-
- name: GRPC_SERVER_ADDRESS
103-
value: '0.0.0.0:50051'"""
90+
- name: remote-python-sidecar
91+
image: {args.remote_python_sidecar_image}
92+
imagePullPolicy: Always
93+
securityContext:
94+
privileged: true
95+
volumeMounts:
96+
- mountPath: /tmp # Shared volume mount with the main container.
97+
name: shared-tmp
98+
restartPolicy: Always
99+
ports:
100+
- containerPort: 50051
101+
env:
102+
- name: GRPC_SERVER_ADDRESS
103+
value: '0.0.0.0:50051'"""
104104
if args.use_pathways and args.remote_python_sidecar_image is not None:
105105
return yaml.format(args=args)
106106
else:

0 commit comments

Comments
 (0)