Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 690a359

Browse files
committedApr 25, 2023
add helm test and CI job
1 parent c5df3a5 commit 690a359

File tree

2 files changed

+34
-6
lines changed

2 files changed

+34
-6
lines changed
 

‎.github/workflows/deployment-test.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,27 @@ jobs:
9999
100100
# execute the helm test
101101
helm test tx-prod --logs
102+
103+
test-azure-vault-postgres:
104+
runs-on: ubuntu-latest
105+
needs: test-prepare
106+
steps:
107+
- name: Checkout
108+
uses: actions/checkout@v3.3.0
109+
- uses: ./.github/actions/run-deployment-test
110+
name: "Run deployment test using KinD and Helm"
111+
with:
112+
imagename: "edc-controlplane-postgresql-azure-vault edc-dataplane-azure-vault"
113+
rootDir: "."
114+
helm_command: |-
115+
helm install tx-azkv charts/tractusx-connector-azure-vault-app \
116+
-f charts/tractusx-connector-azure-vault-app/example.yaml \
117+
--dependency-update \
118+
--wait-for-jobs --timeout=120s
119+
120+
# wait for the pod to become ready
121+
kubectl rollout status deployment tx-azkv-runtime-controlplane
122+
kubectl rollout status deployment tx-azkv-runtime-dataplane
123+
124+
# execute the helm test
125+
helm test tx-azkv --logs

‎charts/tractusx-connector/values.yaml

+10-6
Original file line numberDiff line numberDiff line change
@@ -494,12 +494,16 @@ postgresql:
494494
password: ""
495495

496496
vault:
497-
azure:
498-
name: ""
499-
client: ""
500-
tenant: ""
501-
secret:
502-
certificate:
497+
hashicorp:
498+
url: ""
499+
token: ""
500+
timeout: 30
501+
healthCheck:
502+
enabled: true
503+
standbyOk: true
504+
paths:
505+
secret: /v1/secret
506+
health: /v1/sys/health
503507
secretNames:
504508
transferProxyTokenSignerPrivateKey: transfer-proxy-token-signer-private-key
505509
transferProxyTokenSignerPublicKey: transfer-proxy-token-signer-public-key

0 commit comments

Comments
 (0)
Please sign in to comment.