Skip to content

Commit

Permalink
chore: adjust seeding config
Browse files Browse the repository at this point in the history
Refs: #449 #447
  • Loading branch information
Phil91 committed Oct 11, 2024
1 parent f6ab0f1 commit fa7d8a9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
name: "{{ include "portal.fullname" . }}-default-initialdata"
namespace: {{ .Release.Namespace }}
data:
addresses.test.json: |-
addresses.json: |-
[
{
"id": "b4db3945-19a7-4a50-97d6-e66e8dfd04fb",
Expand All @@ -39,7 +39,7 @@ data:
"country_alpha2code": "DE"
}
]
companies.test.json: |-
companies.json: |-
[
{
"id": "2dc4249f-b5ca-4d42-bef1-7a7a950a4f87",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
name: "{{ include "portal.fullname" . }}-default-testdata"
namespace: {{ .Release.Namespace }}
data:
addresses.test.json: |-
addresses.defaulttest.json: |-
[
{
"id": "b4db3945-19a7-4a50-97d6-e66e8dfd04fe",
Expand Down Expand Up @@ -111,7 +111,7 @@ data:
"country_alpha2code": "DE"
}
]
companies.test.json: |-
companies.defaulttest.json: |-
[
{
"id": "2dc4249f-b5ca-4d42-bef1-7a7a950a4f88",
Expand Down Expand Up @@ -194,7 +194,7 @@ data:
"self_description_document_id": "f90962ee-a358-4381-8947-c56268ff32c7"
}
]
connectors.test.json: |-
connectors.defaulttest.json: |-
[
{
"id": "7e86a0b8-6903-496b-96d1-0ef508206833",
Expand Down Expand Up @@ -263,7 +263,7 @@ data:
"self_description_document_id": null
}
]
documents.test.json: |-
documents.defaulttest.json: |-
[
{
"id": "f90962ee-a358-4381-8947-c56268ff32c7",
Expand Down
2 changes: 1 addition & 1 deletion charts/portal/templates/job-backend-portal-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ spec:
name: "{{ .Values.backend.portalmigrations.seeding.seedTestData.useOwnConfigMap.configMap }}"
optional: true
{{- end }}
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,8 @@ backend:
cpu: 75m
memory: 350M
seeding:
# -- If set to true the data configured in the config map 'configmap-backend-seeding-initialdata.yaml' will be taken to insert the initial data
# -- Enables dynamic seeding of bpn (dim.bpn) and did document location address (dim.didDocumentLocationAddress) of the operator;
# If set to `true` the data configured in the config map 'configmap-seeding-initialdata.yaml' will be taken to insert the initial data;
useInitial: false
# -- Option to seed test data provided in a configMap
seedTestData:
Expand Down

0 comments on commit fa7d8a9

Please sign in to comment.