Skip to content

Instantly share code, notes, and snippets.

@AaronDewes
Last active December 7, 2025 21:11
Show Gist options
  • Select an option

  • Save AaronDewes/e499aabc2aa97386fc3840b5ef4cfe62 to your computer and use it in GitHub Desktop.

Select an option

Save AaronDewes/e499aabc2aa97386fc3840b5ef4cfe62 to your computer and use it in GitHub Desktop.
apiVersion: batch/v1
kind: Job
metadata:
labels:
container: bootstrap
is-container: "true"
n5i-user: homs
name: bootstrap-v3
namespace: homs-citadel-bitcoin
spec:
template:
metadata:
creationTimestamp: null
labels:
container: bootstrap
is-container: "true"
n5i-user: homs
spec:
containers:
- env:
- name: APP_NS
value: homs-citadel-bitcoin
- name: BTC_NETWORK
value: mainnet
- name: BTC_RPC_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: bitcoin-credentials
- name: BTC_RPC_USER
valueFrom:
secretKeyRef:
key: username
name: bitcoin-credentials
- name: USER
value: homs
image: registry.nirvati.de/nirvati/bitcoin-bootstrap:v0.1.1
imagePullPolicy: IfNotPresent
name: bootstrap
resources: {}
securityContext:
readOnlyRootFilesystem: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /bitcoin
name: host-home-nirvati-citadel-bitcoin
dnsPolicy: ClusterFirst
restartPolicy: OnFailure
securityContext: {}
serviceAccount: bootstrap
serviceAccountName: bootstrap
volumes:
- hostPath:
path: /home/nirvati/citadel/bitcoin
type: ""
name: host-home-nirvati-citadel-bitcoin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment