comms(mas): fix admin client secret job

This commit is contained in:
Brad Stein 2026-01-01 17:52:18 -03:00
parent ac1ba5c692
commit af44657001

View File

@ -33,7 +33,7 @@ subjects:
apiVersion: batch/v1
kind: Job
metadata:
name: mas-admin-client-secret-ensure-1
name: mas-admin-client-secret-ensure-2
namespace: comms
spec:
backoffLimit: 2
@ -52,7 +52,7 @@ spec:
- |
set -euo pipefail
umask 077
openssl rand -hex 32 > /work/client_secret
dd if=/dev/urandom bs=32 count=1 2>/dev/null | od -An -tx1 | tr -d ' \n' > /work/client_secret
volumeMounts:
- name: work
mountPath: /work
@ -72,4 +72,3 @@ spec:
volumeMounts:
- name: work
mountPath: /work