mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-03 01:00:54 +02:00
feat: anchorleverage
This commit is contained in:
69
cluster/apps/crypto/anchorleverage/deployment.yaml
Normal file
69
cluster/apps/crypto/anchorleverage/deployment.yaml
Normal file
@@ -0,0 +1,69 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: anchorleverage
|
||||
namespace: crypto
|
||||
labels:
|
||||
app.kubernetes.io/instance: anchorleverage
|
||||
app.kubernetes.io/name: anchorleverage
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: anchorleverage
|
||||
app.kubernetes.io/name: anchorleverage
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: anchorleverage
|
||||
app.kubernetes.io/name: anchorleverage
|
||||
spec:
|
||||
containers:
|
||||
- image: luigi311/anchorleverage:20220304
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: anchorleverage
|
||||
env:
|
||||
- name: SLEEP_DURATION
|
||||
value: "600"
|
||||
- name: TIMEOUT_DURATION
|
||||
value: "5"
|
||||
- name: DEBUG
|
||||
value: "False"
|
||||
- name: NOTIFY_TELEGRAM
|
||||
value: "False"
|
||||
- name: TELEGRAM_TOKEN
|
||||
value: ""
|
||||
- name: TELEGRAM_CHAT_ID
|
||||
value: ""
|
||||
- name: MNEMONIC
|
||||
value: "${SECRET_ANCHOR_MNEMONIC}"
|
||||
- name: PASSWORD
|
||||
value: "${SECRET_ANCHOR_PASSWORD}"
|
||||
- name: SALT
|
||||
value: ""
|
||||
- name: CHAIN_ID
|
||||
value: "bombay-12"
|
||||
# value: "columbus-5"
|
||||
- name: WALLET_MIN_UST_BALANCE
|
||||
value: "10"
|
||||
- name: WALLET_MAX_UST_BALANCE
|
||||
value: "20"
|
||||
- name: MAX_SPREAD
|
||||
value: "0.01"
|
||||
- name: ANCHOR_USAGE_TARGET_PERCENTAGE
|
||||
value: "75"
|
||||
- name: ANCHOR_USAGE_MIN_PERCENTAGE
|
||||
value: "70"
|
||||
- name: ANCHOR_USAGE_MAX_PERCENTAGE
|
||||
value: "85"
|
||||
- name: ANCHOR_ANC_MAX_BALANCE
|
||||
value: "20"
|
||||
- name: UST_EARN_TO_BORROW_TARGET_RATIO
|
||||
value: "30"
|
||||
- name: UST_EARN_TO_BORROW_MIN_RATIO
|
||||
value: "20"
|
||||
- name: UST_EARN_TO_BORROW_MAX_RATIO
|
||||
value: "40"
|
||||
- name: DELEVERAGE_BORROW_USAGE_TARGET
|
||||
value: "90"
|
4
cluster/apps/crypto/anchorleverage/kustomization.yaml
Normal file
4
cluster/apps/crypto/anchorleverage/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
5
cluster/apps/crypto/kustomization.yaml
Normal file
5
cluster/apps/crypto/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
# - anchorleverage
|
5
cluster/apps/crypto/namespace.yaml
Normal file
5
cluster/apps/crypto/namespace.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: crypto
|
Reference in New Issue
Block a user