diff --git a/services/communication/mas-admin-client-secret-ensure-job.yaml b/services/communication/mas-admin-client-secret-ensure-job.yaml index 9005b78..eed2dcd 100644 --- a/services/communication/mas-admin-client-secret-ensure-job.yaml +++ b/services/communication/mas-admin-client-secret-ensure-job.yaml @@ -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 -