Skip to content

Commit

Permalink
adopt test case
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprasad-sap committed Oct 15, 2024
1 parent 2e4f5f8 commit 422e152
Showing 1 changed file with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ spec:
value: tenant-id-for-provider
- name: CAPOP_PROVIDER_SUBDOMAIN
value: my-provider
- name: SERVICE_BINDING_ROOT
value: "/etc/secrets"
- name: CAPOP_SUBSCRIPTION_PAYLOAD
valueFrom:
secretKeyRef:
name: test-cap-01-gen
key: subscriptionContext
- name: CAPOP_TENANT_MTXS_OPERATION
value: subscribe
- name: SERVICE_BINDING_ROOT
value: "/etc/secrets"
volumeMounts:
- mountPath: /cache
name: cache-vol
Expand All @@ -124,13 +126,8 @@ spec:
- name: cap-service-manager
readOnly: true
mountPath: "/etc/secrets/service-manager"
command:
- node
- ./node_modules/@sap/cds-mtxs/bin/cds-mtx
- subscribe
- tenant-id-for-provider
- --body
- $(CAPOP_SUBSCRIPTION_PAYLOAD)
command: ["node", "./node_modules/@sap/cds-mtxs/bin/cds-mtx"]
args: ["$(CAPOP_TENANT_MTXS_OPERATION)", "tenant-id-for-provider", "--body", "$(CAPOP_SUBSCRIPTION_PAYLOAD)"]
resources:
limits:
cpu: 200m
Expand Down Expand Up @@ -233,6 +230,13 @@ spec:
value: tenant-id-for-provider
- name: CAPOP_PROVIDER_SUBDOMAIN
value: my-provider
- name: CAPOP_SUBSCRIPTION_PAYLOAD
valueFrom:
secretKeyRef:
name: test-cap-01-gen
key: subscriptionContext
- name: CAPOP_TENANT_MTXS_OPERATION
value: subscribe
- name: SERVICE_BINDING_ROOT
value: "/etc/secrets"
resources:
Expand Down Expand Up @@ -279,6 +283,13 @@ spec:
value: tenant-id-for-provider
- name: CAPOP_PROVIDER_SUBDOMAIN
value: my-provider
- name: CAPOP_SUBSCRIPTION_PAYLOAD
valueFrom:
secretKeyRef:
name: test-cap-01-gen
key: subscriptionContext
- name: CAPOP_TENANT_MTXS_OPERATION
value: subscribe
- name: SERVICE_BINDING_ROOT
value: "/etc/secrets"
resources:
Expand Down

0 comments on commit 422e152

Please sign in to comment.