To deploy didcomm mediator in cluster firstly need to create a Memcached instance, Redis and PostgreSQL database. Mediator contain required variables such as MEMCACHED, DATABASE_HOST, MSG_DELIVERY_SERVICES (Redis hosts) e.t.c.
For more info see: https://github.com/Sirius-social/didcomm/blob/k8s-deploy-docs/docs/AdminGuide.md
Create namespace for didcomm mediator in cluster.
⚠️ Because "Projects" are a concept introduced by Rancher, kubectl does not have the capability to restrict the creation of namespaces to a project the creator has access to. This means that when users create a namespaces withkubectl
, it may be unusable because kubectl doesn’t require the new namespace to be scoped within a certain project.
More info Projects and Namespaces with Rancher
├── Chart.yaml
├── values.yml
└── templates
├──didcomm-configmap.yml
├── didcomm-deployment.yml
├── didcomm-secret.yml
└── didcomm-service.yml
helm install <release_name> helm-didcomm --namespace <release_namespace> \
--set dbPasswd=<pgsql_password> \
--set dbUser=<pgsql_user> \
--set dbName=<pgsql_name> \
--set seed=<seed_value> \
--set psqlHost=<postgresql_host> \
--set memcached=<memcached_service> \
--set redis=<redis_service>