Skip to content

Commit

Permalink
fix:(charts): api key config missing in dataplane for proxy (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood authored Aug 25, 2023
1 parent 7022c82 commit c04e5e1
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/tractusx-connector-azure-vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ helm install my-release tractusx-edc/tractusx-connector-azure-vault --version 0.
| dataplane.endpoints.default.port | int | `8080` | |
| dataplane.endpoints.metrics.path | string | `"/metrics"` | |
| dataplane.endpoints.metrics.port | int | `9090` | |
| dataplane.endpoints.proxy.authKey | string | `""` | |
| dataplane.endpoints.proxy.path | string | `"/proxy"` | |
| dataplane.endpoints.proxy.port | int | `8186` | |
| dataplane.endpoints.public.path | string | `"/api/public"` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ spec:
#######
# API #
#######
- name: "EDC_API_AUTH_KEY"
value: {{ .Values.dataplane.endpoints.proxy.authKey | required ".Values.proxy.endpoints.proxy.authKey is required" | quote }}
- name: "WEB_HTTP_DEFAULT_PORT"
value: {{ .Values.dataplane.endpoints.default.port | quote }}
- name: "WEB_HTTP_DEFAULT_PATH"
Expand Down
1 change: 1 addition & 0 deletions charts/tractusx-connector-azure-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ dataplane:
proxy:
port: 8186
path: /proxy
authKey: ""
metrics:
port: 9090
path: /metrics
Expand Down
1 change: 1 addition & 0 deletions charts/tractusx-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.5.1 \
| dataplane.endpoints.default.port | int | `8080` | |
| dataplane.endpoints.metrics.path | string | `"/metrics"` | |
| dataplane.endpoints.metrics.port | int | `9090` | |
| dataplane.endpoints.proxy.authKey | string | `""` | |
| dataplane.endpoints.proxy.path | string | `"/proxy"` | |
| dataplane.endpoints.proxy.port | int | `8186` | |
| dataplane.endpoints.public.path | string | `"/api/public"` | |
Expand Down
2 changes: 2 additions & 0 deletions charts/tractusx-connector/templates/deployment-dataplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ spec:
#######
# API #
#######
- name: "EDC_API_AUTH_KEY"
value: {{ .Values.dataplane.endpoints.proxy.authKey | required ".Values.proxy.endpoints.proxy.authKey is required" | quote }}
- name: "WEB_HTTP_DEFAULT_PORT"
value: {{ .Values.dataplane.endpoints.default.port | quote }}
- name: "WEB_HTTP_DEFAULT_PATH"
Expand Down
1 change: 1 addition & 0 deletions charts/tractusx-connector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ dataplane:
proxy:
port: 8186
path: /proxy
authKey: ""
metrics:
port: 9090
path: /metrics
Expand Down
3 changes: 3 additions & 0 deletions docs/samples/example-dataspace/plato-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ controlplane:
id: ""
secretAlias: "client-secret"
dataplane:
endpoints:
management:
authKey: password
image:
pullPolicy: Never
tag: "latest"
Expand Down
3 changes: 3 additions & 0 deletions docs/samples/example-dataspace/sokrates-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ controlplane:
id: ""
secretAlias: "client-secret"
dataplane:
endpoints:
proxy:
authKey: password
image:
pullPolicy: Never
tag: "latest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ controlplane:
# avoids some errors in the log: cannot write temp files of large multipart requests when R/O
readOnlyRootFilesystem: false
dataplane:
endpoints:
proxy:
authKey: password
image:
pullPolicy: Never
tag: "latest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ controlplane:
client:
secretAlias: "client-secret"
dataplane:
endpoints:
proxy:
authKey: password
image:
pullPolicy: Never
tag: "latest"
Expand Down

0 comments on commit c04e5e1

Please sign in to comment.