Skip to content

Commit

Permalink
chore: remove test seeding files
Browse files Browse the repository at this point in the history
Refs: #77
  • Loading branch information
Phil91 committed Oct 24, 2024
1 parent eb3496e commit 6072ac5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
18 changes: 2 additions & 16 deletions charts/ssi-asr/templates/job-registry-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,29 +85,15 @@ spec:
protocol: TCP
resources:
{{- toYaml .Values.migrations.resources | nindent 10 }}
{{- if or (.Values.migrations.seeding.useInitial) (and (.Values.migrations.seeding.seedTestData.useOwnConfigMap.configMap) (.Values.migrations.seeding.seedTestData.useOwnConfigMap.filename)) }}
{{- if .Values.migrations.seeding.useInitial }}
volumeMounts:
{{- if (.Values.migrations.seeding.useInitial) }}
- name: data-initial
mountPath: /migrations/Seeder/Data/overwrite
{{- end }}
{{- if and (.Values.migrations.seeding.seedTestData.useOwnConfigMap.configMap) (.Values.migrations.seeding.seedTestData.useOwnConfigMap.filename) }}
- name: test-data-custom
mountPath: /migrations/Seeder/Data/import/custom-test-data
{{- end }}
{{- end }}
{{- if or (.Values.migrations.seeding.useInitial) (and (.Values.migrations.seeding.seedTestData.useOwnConfigMap.configMap) (.Values.migrations.seeding.seedTestData.useOwnConfigMap.filename)) }}
{{- if .Values.migrations.seeding.useInitial }}
volumes:
{{- if (.Values.migrations.seeding.useInitial) }}
- name: data-initial
configMap:
name: {{ .Release.Name }}-initial-data
optional: true
{{- end }}
{{- if and (.Values.migrations.seeding.seedTestData.useOwnConfigMap.configMap) (.Values.migrations.seeding.seedTestData.useOwnConfigMap.filename) }}
- name: test-data-custom
configMap:
name: "{{ .Values.migrations.seeding.seedTestData.useOwnConfigMap.configMap }}"
optional: true
{{- end }}
{{- end }}
7 changes: 0 additions & 7 deletions charts/ssi-asr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ migrations:
# -- Enables dynamic seeding of information related to the operator company: operator.bpn;
# If set to `true` the data configured in the config map 'configmap-seeding-initialdata.yaml' will be taken to insert the initial data;
useInitial: true
# -- Option to seed test data provided in a configMap
seedTestData:
useOwnConfigMap:
# -- ConfigMap containing json files for the tables to seed, e.g. credentials.test.json, authorities.test.json, etc.
configMap: ""
# -- Filename identifying the test data files e.g. for credentials.test.json the value would be "test"
filename: ""
logging:
default: "Information"

Expand Down

0 comments on commit 6072ac5

Please sign in to comment.