This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Dev/provider (#5) * Add keyrock * Increase chart version * Add PDP * Add kong * Adding AS * Add AS to DSC values * Add participant label * Change issuer version and add data volume * Fix data volume * Test AS pre-release * Change to latest AS release * Switch to default PDC values * Rename folder of PDP * Make DID CM optional * Renaming walt-id chart * Renaimg default URLs and secret names for walt chart name change * verifier using did registry (#6) * Verifier using DID Registry (#8) * Allow to disable certain apps when deploying with Helm and various fixes for plain Helm deployment with Ingress (#10) * Allow to disable certain apps when deploying with Helm * Adding example values file * Add waltId ingress * Updating walt-id config and adding keycloak * Update doc * Adding verifier * Add TIL * Remove doubled PDP app * Adding Keyrock and dsba-pdp * Adding kong * Adding AS * Extend doc * Update examples/service-provider-ips/README.md Fix typo Co-authored-by: Tim Smyth <[email protected]> --------- Co-authored-by: Tim Smyth <[email protected]> Co-authored-by: Tim Smyth <[email protected]> * Updated images of keycloak-vc-issuer and waltid (#11) --------- Co-authored-by: Dennis Wendland <[email protected]> Co-authored-by: Tim Smyth <[email protected]> Co-authored-by: Tim Smyth <[email protected]>
- Loading branch information
1 parent
56e6854
commit bc44078
Showing
22 changed files
with
1,956 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
kong: | ||
image: | ||
repository: quay.io/fiware/kong | ||
tag: "0.5.2" | ||
tag: "0.5.6" | ||
pullPolicy: IfNotPresent | ||
|
||
replicaCount: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{- if .Values.ingress.enabled -}} | ||
{{- $fullName := include "waltid.fullname" . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "waltid.fullname" . }}-certs | ||
labels: | ||
{{ include "waltid.labels" . | nindent 4 }} | ||
annotations: | ||
{{- with .Values.ingress.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
ingressClassName: {{ .Values.ingress.class}} | ||
rules: | ||
- host: {{ .Values.ingress.host}} | ||
http: | ||
paths: | ||
- pathType: Prefix | ||
path: "/certs" | ||
backend: | ||
service: | ||
name: {{ include "waltid.fullname" . }}-certs | ||
port: | ||
number: 3000 | ||
{{- if .Values.ingress.tls.enabled }} | ||
tls: | ||
- hosts: | ||
- {{ .Values.ingress.host}} | ||
secretName: {{ include "waltid.fullname" . }}-tls-sec | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{- if .Values.ingress.enabled -}} | ||
{{- $fullName := include "waltid.fullname" . -}} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "waltid.fullname" . }} | ||
labels: | ||
{{ include "waltid.labels" . | nindent 4 }} | ||
annotations: | ||
nginx.ingress.kubernetes.io/rewrite-target: /v1/did/{{ .Values.did }} | ||
{{- with .Values.ingress.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
ingressClassName: {{ .Values.ingress.class}} | ||
rules: | ||
- host: {{ .Values.ingress.host}} | ||
http: | ||
paths: | ||
- pathType: Prefix | ||
path: "/did/did.json" | ||
backend: | ||
service: | ||
name: {{ $fullName }} | ||
port: | ||
number: 7000 | ||
{{- if .Values.ingress.tls.enabled }} | ||
tls: | ||
- hosts: | ||
- {{ .Values.ingress.host}} | ||
secretName: {{ include "waltid.fullname" . }}-tls-sec | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Examples | ||
|
||
Different examples for the deployment of the FIWARE Data Space Connector | ||
|
||
|
||
## IPS Service Provider (helm) | ||
|
||
This is an example of a data service provider, providing a fictitious digital service | ||
for packet delivery services as a company called `IPS`. | ||
|
||
The service is provided by the orion-ld ontext Broker via the NGSI-LD API, offering | ||
access to the entities of certain delivery orders. | ||
|
||
The example uses plain helm for the deployment. | ||
|
||
* [./service-provider-ips](./service-provider-ips) | ||
|
||
|
||
|
||
## Packet Delivery Company (ArgoCD) | ||
|
||
This is an example of a data service provider called Packet Delivery Company (PDC). | ||
|
||
Basically, it's identical to IPS above, but deployment is performed via | ||
[GitOps pattern](https://www.gitops.tech/) and [ArgoCD](https://argo-cd.readthedocs.io/en/stable/). | ||
|
||
The configuration can be found at the | ||
[fiware-gitops repository](https://github.com/FIWARE-Ops/fiware-gitops/tree/master/aws/dsba/packet-delivery/data-space-connector). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Service Provider - IPS | ||
|
||
Example deployment of a packet delivery service provider named IPS. | ||
|
||
|
||
## Prerequisites | ||
|
||
Assuming existing namespace `ips`, where the connector will be deployed. | ||
|
||
Assuming [nginx-ingress](https://docs.nginx.com/nginx-ingress-controller/) as Ingress Controller | ||
and [cert-manager](https://cert-manager.io/) being configured to issue certificates | ||
for domain `*.aws.fiware.io` with ClusterIssuer `letsencrypt-fiware-eks`. | ||
When using a different Ingress Controller or specific load balancer, make sure to add | ||
the necessary annotations. | ||
Also change the domains and hostnames according to your DNS config. | ||
|
||
It is assumed, that the organisation IPS is part of a data space where the trusted participant list | ||
can be found at [https://tir.dsba.fiware.dev](https://tir.dsba.fiware.dev). | ||
When operating a different data space with different trusted participant list, change this | ||
accordingly. | ||
|
||
|
||
## Deployment with helm | ||
|
||
After downloading the chart (see [../../README.md#deployment-with-helm](../../README.md#deployment-with-helm)), | ||
use the following command: | ||
```shell | ||
helm install -n ips -f ./values-dsc.yaml ips-dsc <PATH-TO-DSC>/data-space-connector/charts/data-space-connector | ||
``` | ||
|
||
Alternatively, install using the remote chart: | ||
```shell | ||
helm repo add dsc https://fiware-ops.github.io/data-space-connector/ | ||
helm install -n ips -f ./values-dsc.yaml ips-dsc dsc/data-space-connector | ||
``` | ||
|
Oops, something went wrong.