formatted kaniko.ts

This commit is contained in:
Nikola Jokic
2022-09-27 12:40:45 +02:00
parent a99346d1ab
commit 5b7b738864

View File

@@ -194,7 +194,8 @@ export function kanikoPod(
{ {
name: POD_VOLUME_NAME, name: POD_VOLUME_NAME,
mountPath: '/mnt/kan', mountPath: '/mnt/kan',
subPath: "_actions/fhammerl/container-actions-demo/main/docker-built-from-file", subPath:
'_actions/fhammerl/container-actions-demo/main/docker-built-from-file',
readOnly: true readOnly: true
} }
] ]
@@ -217,7 +218,8 @@ export function kanikoPod(
pod.spec.volumes = [ pod.spec.volumes = [
{ {
name: POD_VOLUME_NAME, name: POD_VOLUME_NAME,
persistentVolumeClaim: { claimName }, persistentVolumeClaim: { claimName }
}] }
]
return pod return pod
} }