Closed evegufy closed 1 month ago
Enable helm chart to seed test data with configmap and move default seeding path and processidentity userid out of values file, into migrations job, as changing those values isn't intuitive.
Example for configmap:
apiVersion: v1 kind: ConfigMap metadata: name: example-config namespace: {{ .Release.Namespace }} data: addresses.test.json: |- [ { "id": "b4db3945-19a7-4a50-97d6-e66e8dfd04fc", "date_created": "2022-03-24 18:01:33.306000 +00:00", "date_last_changed": "2022-03-24 18:01:33.306000 +00:00", "city": "Munich", "region": null, "streetadditional": null, "streetname": "Street", "streetnumber": "1", "zipcode": "00001", "country_alpha2code": "DE" } ] companies.test.json: |- [ { "id": "2dc4249f-b5ca-4d42-bef1-7a7a950a4f88", "date_created": "2022-03-24 18:01:33.306000 +00:00", "business_partner_number": "BPNL00000003CRHL", "name": "CX-Test-Access", "shortname": "CX-Test-Access", "company_status_id": 2, "address_id": "b4db3945-19a7-4a50-97d6-e66e8dfd04fe", "self_description_document_id": "f90962ee-a358-4381-8947-c56268ff32c7" } ]
analog change as for portal-backend
relates to https://github.com/eclipse-tractusx/ssi-credential-issuer/issues/205#issuecomment-2231735875
Description
Enable helm chart to seed test data with configmap and move default seeding path and processidentity userid out of values file, into migrations job, as changing those values isn't intuitive.
Example for configmap:
Additional Information
analog change as for portal-backend
relates to https://github.com/eclipse-tractusx/ssi-credential-issuer/issues/205#issuecomment-2231735875