From a6a4936118c98c6b2b8bdf8ff02f1b083e697fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emiliano=20Su=C3=B1=C3=A9?= Date: Wed, 24 Jul 2024 12:29:22 -0700 Subject: [PATCH] Update app, chart version for 2.1.0 release (#575) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emiliano Suñé --- README.md | 51 +++++++++++++++----------------- charts/vc-authn-oidc/Chart.yaml | 4 +-- charts/vc-authn-oidc/README.md | 4 +-- docker/agent/config/ledgers.yaml | 12 ++++---- 4 files changed, 34 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 40a6ab3f..894e30b1 100644 --- a/README.md +++ b/README.md @@ -69,16 +69,12 @@ curl -X 'POST' \ "names": ["given_names", "family_name", "country"], "restrictions": [ { - "schema_name": "Person", - "issuer_did": "L6ASjmDDbDH7yPL1t2yFj9" + "schema_name": "Person", + "issuer_did": "QEquAHkM35w4XVT3Ku5yat" }, { - "schema_name": "Person", - "issuer_did": "QEquAHkM35w4XVT3Ku5yat" - }, - { - "schema_name": "Person", - "issuer_did": "M6dhuFj5UwbhWkSLmvYSPc" + "schema_name": "Person", + "issuer_did": "RGjWbW1eycP7FrMf4QJvX8" } ] } @@ -120,28 +116,29 @@ After all these steps have been completed, you should be able to authenticate wi To connect a debugger to the `vc-authn` controller service, start the project using `DEBUGGER=true ./manage start` and then launch the debugger, it should connect automatically to the container. This is a sample debugger launch configuration for VSCode that can be used by adding it to `launch.json`, it assumes a `.venv` folder containing the virtual environment was created in the repository root: + ```json { - "version": "0.1.1", - "configurations": [ + "version": "0.1.1", + "configurations": [ + { + "name": "Python: Debug VC-AuthN Controller", + "type": "python", + "request": "attach", + "port": 5678, + "host": "localhost", + "pathMappings": [ { - "name": "Python: Debug VC-AuthN Controller", - "type": "python", - "request": "attach", - "port": 5678, - "host": "localhost", - "pathMappings": [ - { - "localRoot": "${workspaceFolder}/oidc-controller", - "remoteRoot": "/app" - }, - { - "localRoot": "${workspaceFolder}/.venv/Lib/site-packages", - "remoteRoot": "/usr/local/lib/python3.11/site-packages" - } - ], - "justMyCode": false + "localRoot": "${workspaceFolder}/oidc-controller", + "remoteRoot": "/app" + }, + { + "localRoot": "${workspaceFolder}/.venv/Lib/site-packages", + "remoteRoot": "/usr/local/lib/python3.11/site-packages" } - ] + ], + "justMyCode": false + } + ] } ``` diff --git a/charts/vc-authn-oidc/Chart.yaml b/charts/vc-authn-oidc/Chart.yaml index 91ad63a6..b777bf3b 100644 --- a/charts/vc-authn-oidc/Chart.yaml +++ b/charts/vc-authn-oidc/Chart.yaml @@ -6,13 +6,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.1 +version: 0.2.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "2.0.3" +appVersion: "2.1.0" # Charts the vc-authn-oidc service depends on dependencies: diff --git a/charts/vc-authn-oidc/README.md b/charts/vc-authn-oidc/README.md index 276c057a..5b55792f 100644 --- a/charts/vc-authn-oidc/README.md +++ b/charts/vc-authn-oidc/README.md @@ -1,6 +1,6 @@ # VC-AuthN OIDC -![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.3](https://img.shields.io/badge/AppVersion-2.0.3-informational?style=flat-square) +![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.1.0](https://img.shields.io/badge/AppVersion-2.1.0-informational?style=flat-square) A Helm chart to deploy Verifiable Credential Identity Provider for OpenID Connect. @@ -84,7 +84,7 @@ kubectl delete secret,pvc --selector "app.kubernetes.io/instance"=my-release | `image.repository` | | `ghcr.io/bcgov/vc-authn-oidc` | | `image.pullPolicy` | | `IfNotPresent` | | `image.pullSecrets` | | `[]` | -| `image.tag` | Overrides the image tag which defaults to the chart appVersion. | `2.0.3` | +| `image.tag` | Overrides the image tag which defaults to the chart appVersion. | `2.1.0` | | `ingressSuffix` | Domain suffix to be used for default hostpaths in ingress | `.apps.silver.devops.gov.bc.ca` | ### Controller Configuration diff --git a/docker/agent/config/ledgers.yaml b/docker/agent/config/ledgers.yaml index 5fa6b86a..3ca1f0d3 100644 --- a/docker/agent/config/ledgers.yaml +++ b/docker/agent/config/ledgers.yaml @@ -1,13 +1,13 @@ - id: BCovrinTest is_production: true - genesis_url: 'http://test.bcovrin.vonx.io/genesis' -- id: SovrinStagingNet - is_production: true - genesis_url: 'https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_sandbox_genesis' + genesis_url: "http://test.bcovrin.vonx.io/genesis" +# - id: SovrinStagingNet +# is_production: true +# genesis_url: 'https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_sandbox_genesis' - id: CANdyDev is_production: true - genesis_url: 'https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/dev/pool_transactions_genesis' + genesis_url: "https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/dev/pool_transactions_genesis" - id: CANdyTest is_production: true is_write: true - genesis_url: 'https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/test/pool_transactions_genesis' + genesis_url: "https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/test/pool_transactions_genesis"