Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
fix json
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed Jul 5, 2024
1 parent 3ba0ff8 commit 09fa09c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/data-space-connector/templates/dsconfig-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ metadata:
labels:
{{ include "dsc.labels" . | nindent 4 }}
data:
data-space-configuration.yaml: |-
data-space-configuration.json: |-
{
"supported_models": {{ .Values.dataSpaceConfig.supportedModels | toJson }},
"supported_protocols": {{ .Values.dataSpaceConfig.supportedProtocols | toJson }},
"authentication_protocols": {{ .Values.dataSpaceConfig.authenticationProtocols | toJson }},
"authentication_protocols": {{ .Values.dataSpaceConfig.authenticationProtocols | toJson }}
}
{{- end }}
6 changes: 5 additions & 1 deletion k3s/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ apisix:
type: roundrobin
plugins:
proxy-rewrite:
uri: /.well-known/data-space-configuration/data-space-configuration.yaml
uri: /.well-known/data-space-configuration/data-space-configuration.json
response-rewrite:
headers:
set:
content-type: application/json
- uri: /*
upstream:
nodes:
Expand Down

0 comments on commit 09fa09c

Please sign in to comment.