-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
108 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: verifier-marketplace | ||
namespace: argocd | ||
spec: | ||
destination: | ||
namespace: deployai | ||
server: https://kubernetes.default.svc | ||
project: default | ||
source: | ||
path: aws/deployai/marketplace/iam/verifier | ||
repoURL: https://github.com/FIWARE-Ops/fiware-gitops | ||
targetRevision: HEAD | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true |
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,12 @@ | ||
apiVersion: v2 | ||
name: vcverifier | ||
description: Chart holder for argo-cd | ||
|
||
type: application | ||
version: 1.0.22 | ||
appVersion: "2.1.0" | ||
|
||
dependencies: | ||
- name: vcverifier | ||
version: 1.0.22 | ||
repository: https://i4Trust.github.io/helm-charts |
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,78 @@ | ||
vcverifier: | ||
deployment: | ||
image: | ||
repository: quay.io/fiware/vcverifier | ||
tag: 2.7.0 | ||
pullPolicy: Always | ||
logging: | ||
level: DEBUG | ||
pathsToSkip: | ||
- "/health" | ||
|
||
ssikit: | ||
auditorUrl: http://waltid-marketplace-vcwaltid:7003 | ||
verifier: | ||
tirAddress: https://tir.deployai.fiware.dev | ||
did: did:web:marketplace.deployai.fiware.dev | ||
configRepo: | ||
configEndpoint: http://ccs-marketplace-credentials-config-service:8080/ | ||
|
||
initContainers: | ||
- name: add-theme | ||
image: quay.io/fiware/verifier-theme:0.0.1 | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- name: static-volume | ||
mountPath: /target | ||
|
||
server: | ||
staticDir: /static | ||
templateDir: /templates | ||
|
||
route: | ||
enabled: true | ||
host: verifier-marketplace.deployai.fiware.dev | ||
tls: | ||
insecureEdgeTerminationPolicy: Redirect | ||
termination: edge | ||
certificate: | ||
issuer: | ||
kind: ClusterIssuer | ||
name: letsencrypt-aws-prod | ||
|
||
|
||
templates: | ||
verifier_present_qr.html: |- | ||
{{define "verifier_present_qr"}} | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link href="/static/css/w3pro.css" rel="stylesheet"> | ||
<link href="/static/css/mystyle.css" rel="stylesheet"> | ||
<link href="/static/css/prism.css" rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="theme-color" content="#2d58a7"> | ||
<title>Credential Verifier</title> | ||
</head> | ||
<body> | ||
<div class="w3-bar w3-card color-primary w3-margin-bottom w3-large"> | ||
<a class="w3-bar-item w3-right" href="https://marketplace.deployai.fiware.dev"><img src="/static/img/logo-white.svg" alt="DeployAI Marketplace" style="width:222px;height:50px;"> | ||
</a> | ||
</div> | ||
<main class="w3-container w3-center"> | ||
<h3>Scan this QR code to authenticate with a mobile</h3> | ||
<img src="data:{{.qrcode}}" alt="the qr."> | ||
</main> | ||
</body> | ||
</html> | ||
{{end}} | ||
static: | ||
enabled: true |