feat: adapted construct-x connector helm chart configurations#5
feat: adapted construct-x connector helm chart configurations#5saudkhan116 wants to merge 2 commits into
Conversation
sb-embeteco
left a comment
There was a problem hiding this comment.
Both deployment options (consumer and provider) worked on my cluster using the deployments from the Construct-X IdentityHub Helm chart PR; see the PR comment in the IdentityHub repository.
Questions:
- Would the deployment using the legacy values file and Tractus-X container still work after the deployment files have been updated to use the Conststruct-X EDC Testbed Container? If not, we might want to consider opening a separate Chart for the Con-X Testbed and restore the Tractus-X Chart.
Notes:
- Since I'm using Istio as the ingress controller on my cluster, I wasn't able to explicitly test the ingress block in the values files. However, I don't think the changes to the configuration will have a negative impact on the deployment.
- The README can no longer be fully applied to the new deployment and should be updated to reflect using the new values files.
There was a problem hiding this comment.
This File is missing a License Header.
There was a problem hiding this comment.
This File is missing a License Header.
| controlplane: | ||
| nameOverride: "consumer-conn-controlplane" | ||
| fullnameOverride: "" | ||
| enabled: true |
There was a problem hiding this comment.
controlplane.nameOverride, controlplane.fullnameOverride and controlplane.enabled do not appear to have been implemented yet. The same applies to these keys in dataplane block and the corresponding entries in the provider values file.
| port: 9030 | ||
| # -- path for incoming api calls | ||
| path: /validation | ||
| # -- dsp api, use |
There was a problem hiding this comment.
NIT: wrong comments in line 194 and 200. Same applies to provider values file.
| - default | ||
| - protocol | ||
| - management | ||
| - dsp |
There was a problem hiding this comment.
controlplane.ingresses[0].endpoints dsp endpoint not configured in controlplane.endpoints. Also applies to provider values file.
| port: 9510 | ||
| # -- path for incoming api calls | ||
| path: /management | ||
| # -- authentication key, must be attached to each request as `X-Api-Key` header |
There was a problem hiding this comment.
NIT: comment implies authKey. Also applies to provider values file.
| key.json: |- | ||
| { | ||
| "data": { | ||
| "content": "-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCw/VaXnS+IrNWr\nDwcYVY+Kz4zwibh1pMUyd53lCvbP3QU2CSPURWGKnSY50PqQODdtbhHHIvrPeNaL\nX0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DV2vc/xYNf/ZW+A/eHmHhYTGdQss9ZsnQPid4m24\n1dGqWwQeX0f5r52gwFV8u9PRd8c+RS7EHP12At5gL1MY3CdmmwPd98jNAoGASvPV\n/xWtICKYi10aCip/+kl9wJoUhadD5LWOL6uvcPTUsIgVONQKCCfPAjU6pJlc7E7Q\nu4rYrqGRpYzrrMnTjtxXTH5SHqnLI69O3Rh50LmEob8FM4fH601MqPurX6WMh6Ut\n5Moy7Wc+uWQCfYE/gAVi/nnwlkhzcJNCnOKFLUUCgYA4nbhLrdEeCBJas2+Z9aGw\n/SurtHF2z2meAPO3VaYslf0D0xKzUIv5hkkzaNgs0pFGt0BcKfTWkYy/Hh4QXZhm\n//ZrqbkVsqzDOcqGwQcDmUEN/T+vprUJVKqpNHXT6fz3OTydxLQ7K7SXzwXWYfRW\ncpjdr0c1tVVLMyNG+Wahrg==\n-----END PRIVATE KEY-----\n" |
There was a problem hiding this comment.
We should consider generating those key pairs on the fly and storing them securely as well.
| cons_priv.json: |- | ||
| { | ||
| "data": { | ||
| "content": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC9zbB90iPotlvz\nsTCAt246XNL+dHoiSlEYgBsPgroqfEuLWQkVeM2F0L2fWEsvNc6ZU5SJBEDqPTVe\noaYnv6iXShbTaBaZVoFbt2L8+rJmQQ2YoB5qQwLtfsqIDIwuTwQUgiNe747NDtsb\nJmjMpib3fTsB6m+0CsWYDPuU/7bmUJvYytnw/MOLhaUiHAC68jKsgsAemyDzOSUN\nYJfcIbnS/o12OFZ4Na3nKdr96kMB1zN+PE4+K2oTgFRh69zq+z/G5au7mliBdwns\n5Efmf1ijlH6MFZeaeTVMjfHSq8IOIpOSvigjjK5p8T7vCSYettej2rfcgZpBRa44\n3V8m+F7zAgMBAAECggEAF/cnyMtG03RrKdr+p9IBbgcYcR6d6UR+9tv+DrhP71tg\nYojsd7SYJsRTnRIV9DEUFBIUmDRcSfdOj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W+1Wi11cFYXfsBrmb\nJTnK1u7EZDebm9hFBzpp7/yY5uu38NduGKh5+goAVtPXZR9s/8ypyt3xVflcDxzA\nt7VMyFNRxj517ZJPCNN+ImU=\n-----END PRIVATE KEY-----\n" |
There was a problem hiding this comment.
We should consider generating those key pairs on the fly and storing them securely as well.
| prov_priv.json: |- | ||
| { | ||
| "data": { | ||
| "content": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDN/ECrw6rbkvkw\nNGoJX1TatjytEvfwhFm/IViYPXfPccQHyVhG9YiQNS1e9v5UhUc8BGNvrZjIm7e9\nHNhPGlOlLiHh3wfU/wG5srcqz1aSV2omFVPz9Nc9TSkwaF6oJcs4AL+Z0+IyQN1e\nPThoqu9aVd5wtRXnS0nh5Dd0CC0spchZdUbtslQXs4c8uBDRGdT2/mkBu5isMxW0\nCg+muQWk1t8vgYVxlokGGvsKjQXFV3RPJQ6hNjsZjVmAqDGYFcA/AxK1WYBV5Hyu\nAZHUU2yityva/IqQPLXN/4fcXQcLxLjrl0MSpWUik/YeuV2bQFyakpvj5wox/w7E\nMNjWBodnAgMBAAECggEADELlO83Tm4ScQuNqPArJyGEYeIby0+uhufy+qZ7f3sab\nXO+xZDvuXpzDvO2zH8EO1FxAg2yc3E6LBkqAXikN7JaAtTf4K+FOe+LPADd3JEWC\nAvVT2edrpPFoYvWVGNymRAjYK7Lb019eesl/7f8ROcCqk1PvYCUjpzruybN8GOmq\naAuvCmrn9+zW8nPDSvFvNC7TTV4LnaRGsWabCA2589c6rDr52ddbXQZ2bXhIkVlw\n+RcfCIA2yZhrYfwDynQP/dPIwaC12y/phONIOFgDmurJHTTm0/3GmyDgU4xdfEan\nqWN2BwYfG2eOaGRTktUxjvmfj4kQF+6V8BiEA1KGAQKBgQDz0tuJBolkCn4nTMXl\nQx/QaacZBLJdHeniD2B6s7715TOgv+6DYzJypxYsNkKX4jLKykOJAQ3SUmWNq+ar\n6HJUE9Ral27zg8AAgZwQBCBr3hXulUkN3Ca2Qe3zhM6OtKlQvCY91zkXIecvQ7/s\ncLepmEXqMe0VXsR6c5C2VFiOAQKBgQDYRaeTcES+LSqHeAUqNytc4qy27lIEA4Vm\nzCd2oK0B1QuBCe2nVPsIMPnv92yfZ2RExEkqJXk0WfxB0fKM6BphTWFGnzbleHH3\nE+0BAfi/JmvOtJUbsbQdqTnV1OjCBL3YsubOJJwF+u9yzYoJdy7oldOmqrKC3zgs\nSOehRF9lZwKBgHEqwv58bDRkslznQ0q/tvpyrz3rciXKBo4H+Q26c72JnkbUDo4o\n8ndImf/3Rz1bnZuF+YaTWKjv2XbB/JR5lOb1NTC+7J5V3j3d6mN8pteqAp/z5i5q\nqgUZ4KmQUJbnv1ZbnZxCUpsr/zNuzJufTX+Hz5t9hL7Qd30mOlqGF3wBAoGBAKKb\nhIqTf+wpU2+1qtR51I2rFMcZ2uqPpy6KUyWbW1kkUNj9mQUWHQSkpldphe84MqiN\nmKEqub3F5qeqbh7JqIP+RSRvMzxHWhC2l50JWXiHL8mj9vRyoQUoJocC5Npz7DXR\nFT5rQjAw4vZDWgUR6mAPvqnyb/N8V+TcD+Qt3zgDAoGBAL001/N43dI6NR+Mlcw8\nYtrfTO5xoakVzx7tdC1g3gry/MiJn/+iftpFSf/hNp8HyQEHlRkubQuL4j0I/Fe3\nHjTc3wPIZhcOpitfbn9VMgpXXWmguK/s4oMMNxoe+Ey71/hlp5UdGOidGhaWq9Jk\nAsqJhS57iz0RP3ikSic9Tb3s\n-----END PRIVATE KEY-----\n" |
There was a problem hiding this comment.
We should consider generating those key pairs on the fly and storing them securely as well.
There was a problem hiding this comment.
The specific values.yaml files should only contain the values that differ from the default values.yaml to reduce complexity for the user.
There was a problem hiding this comment.
The specific values.yaml files should only contain the values that differ from the default values.yaml to reduce complexity for the user.
There was a problem hiding this comment.
This default values.yaml should work on its own, aside from domain specific configuration. It still contains deprecated configurations such as BPNM (?).
It is good practice to keep it as clean as possible so that environment specific overrides can remain minimal, making it much easier for the user to identify which values actually need to be changed for each Helm deployment.
There was a problem hiding this comment.
Those deployments look nearly identical. We could consider using a loop for the "controlplane" and "dataplane" deployments. This also applies to the HPA and Service resources, reducing the number of ressources and code duplication.
{{- range $component := list "controlplane" "dataplane" }}...
There was a problem hiding this comment.
Those deployments look nearly identical. We could consider using a loop for the "controlplane" and "dataplane" deployments. This also applies to the HPA and Service resources, reducing the number of ressources and code duplication.
{{- range $component := list "controlplane" "dataplane" }}...
WHAT
Briefly describe what your PR changes, which features it adds/modifies.
values-consumer.yamlandvalues-provider.yamlregistry.onstackit.cloud/constructx/con-x-controlplane-postgresql-hashicorp-vaultregistry.onstackit.cloud/constructx/con-x-dataplane-postgresql-hashicorp-vaultWHY
Briefly state why the change was necessary.
To demonstrate data exchange using Construct-X connectors and ensure compatibility between IdentityHub, Issuer-service and portal registration service.
FURTHER NOTES
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Closes # <-- insert Issue number if one exists