Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configmap.yaml #72

Merged
merged 5 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/vcverifier/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: vcverifier
version: 1.0.11
version: 1.0.12
appVersion: 2.0.1
home: https://github.com/fiware/vcverifier
description: A Helm chart for running the i4Trust DSBA VCVerifier.
Expand Down
3 changes: 2 additions & 1 deletion charts/vcverifier/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vcverifier

![Version: 1.0.11](https://img.shields.io/badge/Version-1.0.11-informational?style=flat-square) ![AppVersion: 2.0.1](https://img.shields.io/badge/AppVersion-2.0.1-informational?style=flat-square)
![Version: 1.0.12](https://img.shields.io/badge/Version-1.0.12-informational?style=flat-square) ![AppVersion: 2.0.1](https://img.shields.io/badge/AppVersion-2.0.1-informational?style=flat-square)

A Helm chart for running the i4Trust DSBA VCVerifier.

Expand Down Expand Up @@ -32,6 +32,7 @@ A Helm chart for running the i4Trust DSBA VCVerifier.
| deployment.logging.level | string | `"WARN"` | the log level, can be DEBUG, INFO, WARN, ERROR |
| deployment.logging.logRequests | bool | `true` | should requests be logged |
| deployment.logging.pathsToSkip | list | `["/metrics","/health"]` | list of paths to be excluded from the request logging |
| deployment.m2m | object | `{"authEnabled":false,"credentialPath":"/opt/credential/credential.json","keyPath":"/opt/did/secret/tls.key","verificationMethod":"did:example:key#1"}` | m2m related config |
| deployment.nodeSelector | object | `{}` | selector template ref: https://kubernetes.io/docs/user-guide/node-selection/ |
| deployment.port | int | `3000` | port to run the container at |
| deployment.readinessProbe.initialDelaySeconds | int | `4` | |
Expand Down
8 changes: 6 additions & 2 deletions charts/vcverifier/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ data:
port: {{ .Values.deployment.port }}
staticDir: {{ .Values.deployment.server.staticDir | quote }}
templateDir: {{ .Values.deployment.server.templateDir | quote }}

m2m:
authEnabled: {{ .Values.deployment.m2m.authEnabled }}
keyPath: {{ .Values.deployment.m2m.keyPath }}
credentialPath: {{ .Values.deployment.m2m.credentialPath }}
verificationMethod: {{ .Values.deployment.m2m.verificationMethod }}
logging:
level: {{ .Values.deployment.logging.level | quote }}
jsonLogging: {{ .Values.deployment.logging.jsonLogging | quote }}
Expand All @@ -28,4 +32,4 @@ data:
configRepo:
{{- with .Values.deployment.configRepo }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- end }}
8 changes: 7 additions & 1 deletion charts/vcverifier/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ deployment:
pathsToSkip:
- /metrics
- /health
# -- m2m related config
m2m:
authEnabled: false
keyPath: /opt/did/secret/tls.key
credentialPath: /opt/credential/credential.json
verificationMethod: did:example:key#1
# -- ssikit related configuration
ssikit:
# -- address of the auditor url
Expand Down Expand Up @@ -166,4 +172,4 @@ templates:
# <main>
# <h3>Scan the qr to login</h3>
# <img src="data:{{.qrcode}}" alt="The qr should be here.">
# </main>
# </main>