Fix Veles feedback ACL one-off command
This commit is contained in:
parent
01d5a034c1
commit
6da91b455a
@ -1,11 +1,11 @@
|
|||||||
# services/gitea/oneoffs/veles-feedback-acl-ensure-job.yaml
|
# services/gitea/oneoffs/veles-feedback-acl-ensure-job.yaml
|
||||||
# One-off job for gitea/veles-feedback-acl-ensure-3.
|
# One-off job for gitea/veles-feedback-acl-ensure-4.
|
||||||
# Purpose: keep Veles feedback anonymously readable while limiting write access
|
# Purpose: keep Veles feedback anonymously readable while limiting write access
|
||||||
# to testers/admins and avoiding source-code repository access.
|
# to testers/admins and avoiding source-code repository access.
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: veles-feedback-acl-ensure-3
|
name: veles-feedback-acl-ensure-4
|
||||||
namespace: gitea
|
namespace: gitea
|
||||||
spec:
|
spec:
|
||||||
suspend: false
|
suspend: false
|
||||||
@ -45,7 +45,8 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: apply
|
- name: apply
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
command: ["/scripts/veles_feedback_acl_ensure.sh"]
|
command: ["/bin/sh"]
|
||||||
|
args: ["/scripts/veles_feedback_acl_ensure.sh"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: veles-feedback-acl-ensure-script
|
- name: veles-feedback-acl-ensure-script
|
||||||
mountPath: /scripts
|
mountPath: /scripts
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user