mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-21 00:55:46 +03:00
fix: make sure container get's stopped once job is done
This commit is contained in:
parent
83379a0d72
commit
882340fa5c
3 changed files with 7 additions and 13 deletions
|
@ -5,7 +5,7 @@ kind: Pod
|
|||
metadata:
|
||||
name: ublue-os_forge
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
restartPolicy: OnFailure
|
||||
volumes:
|
||||
- name: ublue-os_forge-certs-pvc
|
||||
persistentVolumeClaim:
|
||||
|
@ -74,6 +74,11 @@ spec:
|
|||
subPath: ssh
|
||||
name: ublue-os_forge-certs-pvc
|
||||
readOnly: true
|
||||
workingDir: /ansible
|
||||
command:
|
||||
- ansible-playbook
|
||||
args:
|
||||
- main.yml
|
||||
resources:
|
||||
limits:
|
||||
memory: 512Mi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue