crypto: drop wallet rpc bootstrap job

This commit is contained in:
Brad Stein 2026-01-15 02:31:31 -03:00
parent 2ecd274f28
commit f9fa6dcbb4
3 changed files with 0 additions and 45 deletions

View File

@ -3,7 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- pvc.yaml - pvc.yaml
- serviceaccount.yaml
- secrets-ensure-job.yaml
- deployment.yaml - deployment.yaml
- service.yaml - service.yaml

View File

@ -1,37 +0,0 @@
# services/crypto/wallet-monero-temp/secrets-ensure-job.yaml
apiVersion: batch/v1
kind: Job
metadata:
name: wallet-monero-temp-secrets-ensure
namespace: crypto
spec:
backoffLimit: 1
template:
spec:
serviceAccountName: crypto-secrets-ensure
restartPolicy: OnFailure
containers:
- name: vault-write
image: hashicorp/vault:1.17.6
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "-c"]
args:
- |
set -euo pipefail
export VAULT_ADDR=http://vault.vault.svc.cluster.local:8200
VAULT_TOKEN="$(vault write -field=token auth/kubernetes/login role=crypto-secrets jwt=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token))"
export VAULT_TOKEN
vault kv put kv/atlas/crypto/wallet-monero-temp-rpc-auth \
username="${RPC_USER}" \
password="${RPC_PASS}"
env:
- name: RPC_USER
valueFrom:
secretKeyRef:
name: wallet-monero-temp-rpc-auth
key: username
- name: RPC_PASS
valueFrom:
secretKeyRef:
name: wallet-monero-temp-rpc-auth
key: password

View File

@ -1,6 +0,0 @@
# services/crypto/wallet-monero-temp/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: crypto-secrets-ensure
namespace: crypto