Skip to content

Commit

Permalink
chore: adjust seeding configuration
Browse files Browse the repository at this point in the history
Refs: #77
  • Loading branch information
Phil91 committed Nov 8, 2024
1 parent 3c756ac commit ad65e66
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 42 deletions.
41 changes: 9 additions & 32 deletions charts/ssi-asr/templates/configmap-seeding-initialdata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,56 +27,33 @@ data:
authorities.json: |-
[
{
"bpn": "{{ .Values.operator.bpn }}"
"bpn": "{{ .Values.authorities.authorityOne.bpn }}"
},
{
"bpn": "BPNL00000003CRHL"
}
]
credentials.json: |-
[
{
"id": "255e01fc-65f6-43cd-8dfa-95e95fa95f60",
"type_id": 1,
"name": "BusinessPartnerCredential"
},
{
"id": "255e01fc-65f6-43cd-8dfa-95e95fa95f61",
"type_id": 2,
"name": "MembershipCredential"
},
{
"id": "10df6ecd-faa3-45ed-8da5-96261f6542dd",
"type_id": 3,
"name": "DataExchangeGovernanceCredential"
},
{
"id": "255e01fc-65f6-43cd-8dfa-95e95fa95f6b",
"type_id": 4,
"name": "DismantlerCredential"
"bpn": "{{ .Values.authorities.authorityTwo.bpn }}"
}
]
credential_authorities.json: |-
[
{
"credential_id": "255e01fc-65f6-43cd-8dfa-95e95fa95f60",
"bpn": "{{ .Values.operator.bpn }}"
"bpn": "{{ .Values.authorities.authorityOne.bpn }}"
},
{
"credential_id": "255e01fc-65f6-43cd-8dfa-95e95fa95f61",
"bpn": "{{ .Values.operator.bpn }}"
"bpn": "{{ .Values.authorities.authorityOne.bpn }}"
},
{
"credential_id": "255e01fc-65f6-43cd-8dfa-95e95fa95f6b",
"bpn": "{{ .Values.operator.bpn }}"
"credential_id": "10df6ecd-faa3-45ed-8da5-96261f6542dd",
"bpn": "{{ .Values.authorities.authorityOne.bpn }}"
},
{
"credential_id": "255e01fc-65f6-43cd-8dfa-95e95fa95f6b",
"bpn": "BPNL00000003CRHL"
"bpn": "{{ .Values.authorities.authorityOne.bpn }}"
},
{
"credential_id": "10df6ecd-faa3-45ed-8da5-96261f6542dd",
"bpn": "{{ .Values.operator.bpn }}"
"credential_id": "255e01fc-65f6-43cd-8dfa-95e95fa95f6b",
"bpn": "{{ .Values.authorities.authorityTwo.bpn }}"
}
]
Expand Down
12 changes: 8 additions & 4 deletions charts/ssi-asr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@
# SPDX-License-Identifier: Apache-2.0
###############################################################

# -- Set information related to the operator company
operator:
# -- The bpn of the operator
bpn: "empty"
# -- Set information related the authorities
authorities:
# -- The first authority
authorityOne:
bpn: "BPNL00000003CRHK"
# -- The second authority
authority1Two:
bpn: "BPNL00000003CRHL"

service:
image:
Expand Down
3 changes: 0 additions & 3 deletions environments/helm-values/values-int.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
#
# SPDX-License-Identifier: Apache-2.0
###############################################################
operator:
bpn: "BPNL00000003CRHK"

ingress:
enabled: true
className: "nginx"
Expand Down
3 changes: 0 additions & 3 deletions environments/helm-values/values-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
#
# SPDX-License-Identifier: Apache-2.0
###############################################################
operator:
bpn: "BPNL00000003CRHK"

ingress:
enabled: true
className: "nginx"
Expand Down

0 comments on commit ad65e66

Please sign in to comment.