-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(seeding): move configmap into own file
Refs: #205
- Loading branch information
Showing
5 changed files
with
72 additions
and
43 deletions.
There are no files selected for viewing
67 changes: 67 additions & 0 deletions
67
charts/ssi-credential-issuer/templates/configmap-seeding-testdata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{{- /* | ||
* Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Apache License, Version 2.0 which is available at | ||
* https://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/}} | ||
|
||
{{- if .Values.postgresql.enabled -}} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Release.Name }}-issuer-cm-seeding-testdata | ||
namespace: {{ .Release.Namespace }} | ||
data: | ||
use_cases.test.json: |- | ||
[ | ||
{ | ||
"id": "1aacde78-35ec-4df3-ba1e-f988cddcbbd9", | ||
"name": "None", | ||
"shortname": "None" | ||
} | ||
] | ||
verified_credential_external_type_detail_versions.test.json: |- | ||
[ | ||
{ | ||
"id": "d0f05b79-792c-4cb8-9b8d-6e476ac2e926", | ||
"verified_credential_external_type_id": 2, | ||
"version": "0.0", | ||
"template": "https://catena-x.net/fileadmin/user_upload/04_Einfuehren_und_umsetzen/Governance_Framework/231016_Catena-X_Use_Case_Framework_PCF.pdf", | ||
"valid_from": "2023-01-01 00:00:00.000000 +00:00", | ||
"expiry": "2023-12-31 00:00:00.000000 +00:00" | ||
}, | ||
{ | ||
"id": "2d17a933-f65f-49cd-84a9-cff299a79f85", | ||
"verified_credential_external_type_id": 11, | ||
"version": "1.0", | ||
"template": "https://catena-x.net/fileadmin/user_upload/04_Einfuehren_und_umsetzen/Governance_Framework/example.pdf", | ||
"valid_from": "2024-10-16 00:00:00.000000 +00:00", | ||
"expiry": "2025-10-16 00:00:00.000000 +00:00" | ||
} | ||
] | ||
verified_credential_type_assigned_external_types.test.json: |- | ||
[ | ||
{ | ||
"verified_credential_external_type_id": 11, | ||
"verified_credential_type_id": 11 | ||
} | ||
] | ||
verified_credential_type_assigned_use_cases.test.json: |- | ||
[ | ||
{ | ||
"verified_credential_type_id": 11, | ||
"use_case_id": "1aacde78-35ec-4df3-ba1e-f988cddcbbd9" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters