Skip to content
Snippets Groups Projects
Verified Commit 334a7207 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(matrix): Prevent concurrent runs of synatainer

parent 76575d15
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,13 @@ metadata: ...@@ -4,10 +4,13 @@ metadata:
name: synatainer name: synatainer
spec: spec:
schedule: "2 2 * * *" schedule: "2 2 * * *"
concurrencyPolicy: Forbid
startingDeadlineSeconds: 21600
jobTemplate: jobTemplate:
spec: spec:
template: template:
spec: spec:
serviceAccountName: synatainer
containers: containers:
- name: synatainer - name: synatainer
image: registry.gitlab.com/mb-saces/synatainer:0.4.3 image: registry.gitlab.com/mb-saces/synatainer:0.4.3
...@@ -55,4 +58,9 @@ spec: ...@@ -55,4 +58,9 @@ spec:
runAsUser: 65534 runAsUser: 65534
runAsGroup: 65534 runAsGroup: 65534
fsGroup: 65534 fsGroup: 65534
runAsNonRoot: true runAsNonRoot: true
\ No newline at end of file ---
apiVersion: v1
kind: ServiceAccount
metadata:
name: synatainer
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment