Skip to content

Commit

Permalink
Merge pull request #145 from WadeBarnes/indy-askar-migration
Browse files Browse the repository at this point in the history
Migrate agents from Indy/Askar to Askar only ACA-Py images
  • Loading branch information
esune authored Oct 5, 2023
2 parents e272bea + ff9f0df commit c1fbfd3
Show file tree
Hide file tree
Showing 13 changed files with 135 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SOURCE_IMAGE_NAME=issuer-kit-agent
TAG_PREFIX=idim-qa-
TAG_NAME=test
APP_CONFIG_MAP_NAME=agent-config
APP_CONFIG_MOUNT_PATH=/home/indy/
APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=IDIM (QA)
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://idim-qa-agent-test.apps.silver.devops.gov.bc.ca
Expand Down Expand Up @@ -59,7 +59,7 @@ WALLET_CREDENTIAL_STORE_NAME=agent-wallet-credentials
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
WALLET_SUFFIX=-idim-qa
TAILS_FILES_DIR=/home/indy/.indy_client/tails
TAILS_FILES_DIR=/home/aries/.indy_client/tails
TAILS_FILES_VOLUME_CLASS=netapp-file-standard
TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails-test.vonx.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SOURCE_IMAGE_NAME=issuer-kit-agent
TAG_PREFIX=idim-sit-
TAG_NAME=dev
APP_CONFIG_MAP_NAME=agent-config
APP_CONFIG_MOUNT_PATH=/home/indy/
APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=IDIM (SIT)
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://idim-sit-agent-dev.apps.silver.devops.gov.bc.ca
Expand Down Expand Up @@ -59,7 +59,7 @@ WALLET_CREDENTIAL_STORE_NAME=agent-wallet-credentials
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
WALLET_SUFFIX=-idim-sit
TAILS_FILES_DIR=/home/indy/.indy_client/tails
TAILS_FILES_DIR=/home/aries/.indy_client/tails
TAILS_FILES_VOLUME_CLASS=netapp-file-standard
TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails-dev.vonx.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ADMIN_APPLICATION_DOMAIN=idim-agent-admin-dev.apps.silver.devops.gov.bc.ca
TAG_PREFIX=idim-
TAG_NAME=dev
# APP_CONFIG_MAP_NAME=agent-config
# APP_CONFIG_MOUNT_PATH=/home/indy/
# APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=IDIM (Dev)
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://idim-agent-dev.apps.silver.devops.gov.bc.ca
Expand Down Expand Up @@ -59,7 +59,7 @@ ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers-candy.yaml
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
# WALLET_SUFFIX=-idim
# TAILS_FILES_DIR=/home/indy/.indy_client/tails
# TAILS_FILES_DIR=/home/aries/.indy_client/tails
# TAILS_FILES_VOLUME_CLASS=netapp-file-standard
# TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails-dev.vonx.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SOURCE_IMAGE_NAME=issuer-kit-agent
TAG_PREFIX=idim-
TAG_NAME=dev
APP_CONFIG_MAP_NAME=agent-config
APP_CONFIG_MOUNT_PATH=/home/indy/
APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=IDIM (Dev)
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://idim-agent-dev.apps.silver.devops.gov.bc.ca
Expand Down Expand Up @@ -59,7 +59,7 @@ WALLET_CREDENTIAL_STORE_NAME=agent-wallet-credentials
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
WALLET_SUFFIX=-idim
TAILS_FILES_DIR=/home/indy/.indy_client/tails
TAILS_FILES_DIR=/home/aries/.indy_client/tails
TAILS_FILES_VOLUME_CLASS=netapp-file-standard
TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails-dev.vonx.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ADMIN_APPLICATION_DOMAIN=idim-agent-admin.apps.silver.devops.gov.bc.ca
TAG_PREFIX=idim-
TAG_NAME=prod
# APP_CONFIG_MAP_NAME=agent-config
# APP_CONFIG_MOUNT_PATH=/home/indy/
# APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=IDIM
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://idim-agent.apps.silver.devops.gov.bc.ca
Expand Down Expand Up @@ -59,7 +59,7 @@ ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers-candy.yaml
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
# WALLET_SUFFIX=-idim
# TAILS_FILES_DIR=/home/indy/.indy_client/tails
# TAILS_FILES_DIR=/home/aries/.indy_client/tails
# TAILS_FILES_VOLUME_CLASS=netapp-file-standard
# TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails.vonx.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ADMIN_APPLICATION_DOMAIN=idim-agent-admin-test.apps.silver.devops.gov.bc.ca
TAG_PREFIX=idim-
TAG_NAME=test
# APP_CONFIG_MAP_NAME=agent-config
# APP_CONFIG_MOUNT_PATH=/home/indy/
# APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=IDIM (test)
ACAPY_READ_ONLY_LEDGER=true
AGENT_BASE_URL=https://idim-agent-test.apps.silver.devops.gov.bc.ca
Expand Down Expand Up @@ -59,7 +59,7 @@ ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers-candy.yaml
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
# WALLET_SUFFIX=-idim
# TAILS_FILES_DIR=/home/indy/.indy_client/tails
# TAILS_FILES_DIR=/home/aries/.indy_client/tails
# TAILS_FILES_VOLUME_CLASS=netapp-file-standard
# TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails-test.vonx.io
Expand Down
43 changes: 32 additions & 11 deletions openshift/templates/issuer-agent/issuer-agent-deploy.lsbc.param
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,63 @@ APP_NAME=issuer
APP_GROUP=lsbc
SUFFIX=-lsbc
ROLE=agent
API_ROLE=api
APPLICATION_DOMAIN=lsbc-agent-dev.apps.silver.devops.gov.bc.ca
ADMIN_APPLICATION_DOMAIN=lsbc-agent-admin-dev.apps.silver.devops.gov.bc.ca
CERTBOT_MANAGED_ROUTE=false
ROUTE_TIMEOUT=120s
IMAGE_NAMESPACE=e79518-tools
NAMESPACE_NAME=e79518
SOURCE_IMAGE_NAME=issuer-kit-agent
TAG_PREFIX=lsbc-
TAG_NAME=dev
APP_CONFIG_MAP_NAME=agent-config
APP_CONFIG_MOUNT_PATH=/home/indy/
APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=The Law Society of British Columbia (DEV)
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://lsbc-agent-dev.apps.silver.devops.gov.bc.ca
ACAPY_IMAGE_URL=
# WEBHOOK_URL=
AGENT_ADMIN_PORT=8024
ADMIN_API_KEY=[a-zA-Z0-9]{16}
API_HOST=api
API_ROLE=api
AGENT_HTTP_PORT=8021
ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers.yaml
ACAPY_LOG_LEVEL=WARNING
ACAPY_WALLET_TYPE=indy
ACAPY_INVITE_PUBLIC=false
ACAPY_PUBLIC_INVITES=false
ACAPY_REQUESTS_THROUGH_PUBLIC_DID=false
ACAPY_AUTO_ACCEPT_INVITES=true
ACAPY_AUTO_ACCEPT_REQUESTS=true
ACAPY_AUTO_PING_CONNECTION=true
ACAPY_MONITOR_PING=false
ACAPY_AUTO_RESPOND_MESSAGES=true
ACAPY_AUTO_RESPOND_CREDENTIAL_OFFER=true
ACAPY_AUTO_RESPOND_CREDENTIAL_REQUEST=false
ACAPY_AUTO_VERIFY_PRESENTATION=true
ACAPY_AUTO_PROVISION=true
ACAPY_NOTIFY_REVOCATION=false
ACAPY_ENDORSER_ROLE=author
ACAPY_ENDORSER_ALIAS=Endorser
ACAPY_AUTO_REQUEST_ENDORSEMENT=true
ACAPY_AUTO_WRITE_TRANSACTIONS=true
ACAPY_CREATE_REVOCATION_TRANSACTIONS=true
ACAPY_WALLET_TYPE=askar
ACAPY_WALLET_STORAGE_TYPE=postgres_storage
WALLET_HOST=wallet
WALLET_HOST_PORT=5432
WALLET_STORAGE_CONFIG={\"url\":\"${POSTGRESQL_WALLET_HOST}:${POSTGRESQL_WALLET_PORT}\",\"max_connections\":5}
WALLET_STORAGE_CREDS={\"account\":\"${POSTGRESQL_WALLET_USER}\",\"password\":\"${POSTGRESQL_WALLET_PASSWORD}\",\"admin_account\":\"postgres\",\"admin_password\":\"${POSTGRESQL_WALLET_ADMIN_PASSWORD}\"}
WALLET_CREDENTIAL_STORE_NAME=agent-wallet-credentials
WALLET_KEY=[a-zA-Z0-9]{10}
WALLET_SEED=[a-zA-Z0-9]{32}
WALLET_DID=[a-zA-Z0-9]{16}
# WALLET_KEY=[a-zA-Z0-9]{10}
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
WALLET_SUFFIX=-lsbc
TAILS_FILES_DIR=/home/indy/.indy_client/tails
TAILS_FILES_DIR=/home/aries/.indy_client/tails
TAILS_FILES_VOLUME_CLASS=netapp-file-standard
TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails-dev.vonx.io
CPU_REQUEST=10m
CPU_LIMIT=300m
MEMORY_REQUEST=10Mi
MEMORY_LIMIT=512Mi
CPU_REQUEST=100m
CPU_LIMIT=250m
MEMORY_REQUEST=128Mi
MEMORY_LIMIT=256Mi
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,48 @@
# APP_GROUP=lsbc
# SUFFIX=-lsbc
# ROLE=agent
# API_ROLE=api
APPLICATION_DOMAIN=lsbc-agent.apps.silver.devops.gov.bc.ca
ADMIN_APPLICATION_DOMAIN=lsbc-agent-admin.apps.silver.devops.gov.bc.ca
# CERTBOT_MANAGED_ROUTE=false
# ROUTE_TIMEOUT=120s
# IMAGE_NAMESPACE=e79518-tools
# NAMESPACE_NAME=e79518
# SOURCE_IMAGE_NAME=issuer-kit-agent
# TAG_PREFIX=lsbc-
TAG_NAME=prod
# APP_CONFIG_MAP_NAME=agent-config
# APP_CONFIG_MOUNT_PATH=/home/indy/
ACAPY_LABEL=The Law Society of British Columbia
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://lsbc-agent.apps.silver.devops.gov.bc.ca
# ACAPY_IMAGE_URL=
# WEBHOOK_URL=
# AGENT_ADMIN_PORT=8024
# ADMIN_API_KEY=[a-zA-Z0-9]{16}
# API_HOST=api
# API_ROLE=api
# AGENT_HTTP_PORT=8021
ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers.yaml
# ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers.yaml
# ACAPY_LOG_LEVEL=WARNING
# ACAPY_WALLET_TYPE=indy
# ACAPY_INVITE_PUBLIC=false
# ACAPY_PUBLIC_INVITES=false
# ACAPY_REQUESTS_THROUGH_PUBLIC_DID=false
# ACAPY_AUTO_ACCEPT_INVITES=true
# ACAPY_AUTO_ACCEPT_REQUESTS=true
# ACAPY_AUTO_PING_CONNECTION=true
# ACAPY_MONITOR_PING=false
# ACAPY_AUTO_RESPOND_MESSAGES=true
# ACAPY_AUTO_RESPOND_CREDENTIAL_OFFER=true
# ACAPY_AUTO_RESPOND_CREDENTIAL_REQUEST=false
# ACAPY_AUTO_VERIFY_PRESENTATION=true
# ACAPY_AUTO_PROVISION=true
# ACAPY_NOTIFY_REVOCATION=false
ACAPY_ENDORSER_ROLE=none
ACAPY_ENDORSER_ALIAS=
ACAPY_AUTO_REQUEST_ENDORSEMENT=false
ACAPY_AUTO_WRITE_TRANSACTIONS=false
ACAPY_CREATE_REVOCATION_TRANSACTIONS=false
ACAPY_WALLET_TYPE=indy
# ACAPY_WALLET_STORAGE_TYPE=postgres_storage
# WALLET_HOST=wallet
# WALLET_HOST_PORT=5432
Expand All @@ -43,8 +64,7 @@ ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers.yaml
# TAILS_FILES_VOLUME_CLASS=netapp-file-standard
# TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails.vonx.io
# CPU_REQUEST=10m
# CPU_LIMIT=300m
# MEMORY_REQUEST=10Mi
# MEMORY_LIMIT=512Mi
#
# CPU_REQUEST=100m
# CPU_LIMIT=250m
# MEMORY_REQUEST=128Mi
# MEMORY_LIMIT=256Mi
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,48 @@
# APP_GROUP=lsbc
# SUFFIX=-lsbc
# ROLE=agent
# API_ROLE=api
APPLICATION_DOMAIN=lsbc-agent-test.apps.silver.devops.gov.bc.ca
ADMIN_APPLICATION_DOMAIN=lsbc-agent-admin-test.apps.silver.devops.gov.bc.ca
# CERTBOT_MANAGED_ROUTE=false
# ROUTE_TIMEOUT=120s
# IMAGE_NAMESPACE=e79518-tools
# NAMESPACE_NAME=e79518
# SOURCE_IMAGE_NAME=issuer-kit-agent
# TAG_PREFIX=lsbc-
TAG_NAME=test
# APP_CONFIG_MAP_NAME=agent-config
# APP_CONFIG_MOUNT_PATH=/home/indy/
# APP_CONFIG_MOUNT_PATH=/home/aries/
ACAPY_LABEL=The Law Society of British Columbia (TEST)
ACAPY_READ_ONLY_LEDGER=false
AGENT_BASE_URL=https://lsbc-agent-test.apps.silver.devops.gov.bc.ca
# ACAPY_IMAGE_URL=
# WEBHOOK_URL=
# AGENT_ADMIN_PORT=8024
# ADMIN_API_KEY=[a-zA-Z0-9]{16}
# API_HOST=api
# API_ROLE=api
# AGENT_HTTP_PORT=8021
# ACAPY_GENESIS_TRANSACTIONS_LIST=ledgers.yaml
# ACAPY_LOG_LEVEL=WARNING
# ACAPY_WALLET_TYPE=indy
# ACAPY_INVITE_PUBLIC=false
# ACAPY_PUBLIC_INVITES=false
# ACAPY_REQUESTS_THROUGH_PUBLIC_DID=false
# ACAPY_AUTO_ACCEPT_INVITES=true
# ACAPY_AUTO_ACCEPT_REQUESTS=true
# ACAPY_AUTO_PING_CONNECTION=true
# ACAPY_MONITOR_PING=false
# ACAPY_AUTO_RESPOND_MESSAGES=true
# ACAPY_AUTO_RESPOND_CREDENTIAL_OFFER=true
# ACAPY_AUTO_RESPOND_CREDENTIAL_REQUEST=false
# ACAPY_AUTO_VERIFY_PRESENTATION=true
# ACAPY_AUTO_PROVISION=true
# ACAPY_NOTIFY_REVOCATION=false
# ACAPY_ENDORSER_ROLE=author
# ACAPY_ENDORSER_ALIAS=Endorser
# ACAPY_AUTO_REQUEST_ENDORSEMENT=true
# ACAPY_AUTO_WRITE_TRANSACTIONS=true
# ACAPY_CREATE_REVOCATION_TRANSACTIONS=true
# ACAPY_WALLET_TYPE=askar
# ACAPY_WALLET_STORAGE_TYPE=postgres_storage
# WALLET_HOST=wallet
# WALLET_HOST_PORT=5432
Expand All @@ -39,12 +60,11 @@ AGENT_BASE_URL=https://lsbc-agent-test.apps.silver.devops.gov.bc.ca
# WALLET_SEED=[a-zA-Z0-9]{32}
# WALLET_DID=[a-zA-Z0-9]{16}
# WALLET_SUFFIX=-lsbc
# TAILS_FILES_DIR=/home/indy/.indy_client/tails
# TAILS_FILES_DIR=/home/aries/.indy_client/tails
# TAILS_FILES_VOLUME_CLASS=netapp-file-standard
# TAILS_FILES_VOLUME_SIZE=1Gi
ACAPY_TAILS_SERVER_BASE_URL=https://tails-test.vonx.io
# CPU_REQUEST=10m
# CPU_LIMIT=300m
# MEMORY_REQUEST=10Mi
# MEMORY_LIMIT=512Mi
#
# CPU_REQUEST=100m
# CPU_LIMIT=250m
# MEMORY_REQUEST=128Mi
# MEMORY_LIMIT=256Mi
Loading

0 comments on commit c1fbfd3

Please sign in to comment.