Skip to content

Commit

Permalink
Merge pull request #34 from pm4ml/feat/update-ttk-in-pm4ml
Browse files Browse the repository at this point in the history
feat: removed ttk system config in pm4ml helm values template
  • Loading branch information
vijayg10 authored Feb 28, 2023
2 parents b7074f7 + 7d40747 commit 65c0a23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
20 changes: 3 additions & 17 deletions ansible/templates/pm4ml.values.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ scheme-adapter:
JWS_SIGN: true
VALIDATE_INBOUND_JWS: true
PEER_ENDPOINT: "{{ item.value.extgw_fqdn }}:{{ mojaloop_switch_extgw_port }}/fsp/1.0"
ALS_ENDPOINT: "{{ item.value.extgw_fqdn }}:{{ mojaloop_switch_extgw_port }}/fsp/1.0"
OUTBOUND_MUTUAL_TLS_ENABLED: true
INBOUND_MUTUAL_TLS_ENABLED: false
OAUTH_TOKEN_ENDPOINT: "https://{{ item.value.extgw_fqdn }}:{{ mojaloop_switch_extgw_port }}/token"
Expand Down Expand Up @@ -216,8 +217,8 @@ ttk:
host: ttk-specapi.{{ item.key }}.{{ item.value.pm4ml_subdomain }}
adminApi:
host: ttk.{{ item.key }}.{{ item.value.pm4ml_subdomain }}
className: {{ pm4ml_ingress_classname }}
annotations:
kubernetes.io/ingress.class: {{ pm4ml_ingress_classname }}
external-dns.alpha.kubernetes.io/target: {{ dfsp_access_lb_hostname }}
# Not enabling tls ingress endpoints because there is some issue in the TTK helm chart and its not accepting tls ingress configuration.
# Need to fix it in TTK helm chart and then only we can enable tls here
Expand All @@ -230,21 +231,6 @@ ttk:
"DEFAULT_ENVIRONMENT_FILE_NAME": "pm4ml-default-environment.json",
"FSPID": *dfspId
}
system_config.json: {
"API_DEFINITIONS": [
{
"type": "scheme_adapter_outbound",
"version": "1.0",
"folderPath": "mojaloop_sdk_outbound_scheme_adapter_1.0"
},
{
"type": "core_connector",
"version": "1.4",
"folderPath": "mojaloop_simulator_sim_1.4",
"hostnames": [ "{{ item.value.helm_release_name }}-ttk-backend" ]
}
]
}

ml-testing-toolkit-frontend:
nameOverride: ttk-frontend
Expand All @@ -253,8 +239,8 @@ ttk:
hosts:
ui:
host: ttk.{{ item.key }}.{{ item.value.pm4ml_subdomain }}
className: {{ pm4ml_ingress_classname }}
annotations:
kubernetes.io/ingress.class: {{ pm4ml_ingress_classname }}
external-dns.alpha.kubernetes.io/target: {{ dfsp_access_lb_hostname }}
# Not enabling tls ingress endpoints because there is some issue in the TTK helm chart and its not accepting tls ingress configuration.
# Need to fix it in TTK helm chart and then only we can enable tls here
Expand Down
2 changes: 1 addition & 1 deletion samplefiles/.env
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pm4ml_config_file=/k3s-boot/ansible_pm4ml_output.yaml
pm4ml_static_config_file=/k3s-boot/static.pm4ml.values.yaml
pm4ml_client_cert_remote_dir=/tmp/pm4ml-certoutput/
pm4ml_client_cert_local_dir=##pm4ml_client_cert_local_dir##
pm4ml_helm_version=8.0.0
pm4ml_helm_version=8.0.1
pm4ml_dfsp_internal_access_only=yes
letsencrypt_server=production
internal_pm4ml_instance=yes
Expand Down

0 comments on commit 65c0a23

Please sign in to comment.