🌳
pt0/deployF/ethF/validatorKeysDeploymentPropsF.mts
2export const validatorKeysDeploymentProps = ({walletSecName, valsecretsName}: {walletSecName: string, valsecretsName: string}) => {
3 const walletDir = '/wallet'
4 // const walletFilePath = '/wallet/direct/accounts.json'
5 const walletFilePath = '/wallet/direct/accounts/all-accounts.keystore.json'
6 const passwordFilePath = `/valsecrets/walletpassword.txt`
8 const volumeMounts = [
9 {
10 mountPath: walletFilePath,
11 name: walletSecName,
12 subPath: walletSecName,
13 },
14 {
15 mountPath: passwordFilePath,
16 name: valsecretsName,
17 subPath: valsecretsName,
18 }
19 ]
21 const volumes = [
22 {
23 name: walletSecName,
24 secret: {
25 secretName: walletSecName
26 }
27 },
28 {
29 name: valsecretsName,
30 secret: {
31 secretName: valsecretsName
32 }
33 }
34 ]
36 return {volumeMounts, volumes, passwordFilePath, walletDir, walletFilePath}