Skip to content

Commit

Permalink
APT-1632, APT-1635: DB configured for deployment #21
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Kosiak <[email protected]>
  • Loading branch information
lukozill and uHappyLogic authored Jan 8, 2025
1 parent c52ff56 commit 87d395e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 6 deletions.
14 changes: 12 additions & 2 deletions render_config_devnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ k8s_clusters:

registry: asia-docker.pkg.dev/prj-d-devops-services-4dgwlsse/zilliqa-private

dbs_to_instances: []
dbs_to_instances:
- names:
- service: main/zq2-staking/zq2-staking-frontend
db_user: op://prj-d-staging/zq2-staking-devnet/username
db_user_password: op://prj-d-staging/zq2-staking-devnet/password
cluster:
name: zq2-staking-devnet
address: 10.40.3.30
admin:
username: op://prj-d-staging/zq2-staking-devnet/root_username
password: op://prj-d-staging/zq2-staking-devnet/root_password

apps_to_clusters:
- name_re: main/zq2-staking/zq2-staking-frontend
Expand All @@ -37,4 +47,4 @@ apps_to_clusters:
secrets:
zq2_staking:
wallet_connect_api_key:
_op: "op://prj-d-staging/zq2-staking/WALLET_CONNECT_API_KEY"
_op: "op://prj-d-staging/zq2-staking-devnet/WALLET_CONNECT_API_KEY"
14 changes: 12 additions & 2 deletions render_config_protomainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ k8s_clusters:

registry: asia-docker.pkg.dev/prj-p-devops-services-tvwmrf63/zilliqa-private

dbs_to_instances: []
dbs_to_instances:
- names:
- service: main/zq2-staking/zq2-staking-frontend
db_user: op://prj-p-prod-apps/zq2-staking-protomainnet/username
db_user_password: op://prj-p-prod-apps/zq2-staking-protomainnet/password
cluster:
name: zq2-staking-protomainnet
address: 10.110.2.49
admin:
username: op://prj-p-prod-apps/zq2-staking-protomainnet/root_username
password: op://prj-p-prod-apps/zq2-staking-protomainnet/root_password

apps_to_clusters:
- name_re: main/zq2-staking/zq2-staking-frontend
Expand All @@ -37,4 +47,4 @@ apps_to_clusters:
secrets:
zq2_staking:
wallet_connect_api_key:
_op: "op://prj-d-staging/zq2-staking/WALLET_CONNECT_API_KEY"
_op: "op://prj-p-prod-apps/zq2-staking-protomainnet/WALLET_CONNECT_API_KEY"
14 changes: 12 additions & 2 deletions render_config_prototestnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ k8s_clusters:

registry: asia-docker.pkg.dev/prj-d-devops-services-4dgwlsse/zilliqa-private

dbs_to_instances: []
dbs_to_instances:
- names:
- service: main/zq2-staking/zq2-staking-frontend
db_user: op://prj-d-staging/zq2-staking-prototestnet/username
db_user_password: op://prj-d-staging/zq2-staking-prototestnet/password
cluster:
name: zq2-staking-prototestnet
address: 10.40.3.30
admin:
username: op://prj-d-staging/zq2-staking-prototestnet/root_username
password: op://prj-d-staging/zq2-staking-prototestnet/root_password

apps_to_clusters:
- name_re: main/zq2-staking/zq2-staking-frontend
Expand All @@ -37,4 +47,4 @@ apps_to_clusters:
secrets:
zq2_staking:
wallet_connect_api_key:
_op: "op://prj-p-prod-apps/zq2-staking/WALLET_CONNECT_API_KEY"
_op: "op://prj-d-staging/zq2-staking-prototestnet/WALLET_CONNECT_API_KEY"

0 comments on commit 87d395e

Please sign in to comment.