Configure Deployment file¶
Verify deployment file¶
Open bank-knative-service/deployment.yaml file
- Make sure the image name is correct. It's the one you built on the previous step, Building the example serverless application
containers:
- image: <YOUR_DOCKER_HUB>/serverless-workshop-example:1.0
Verify the environment variables below. The secret bank-oidc-adminuser-workshop
that you created will be used by this serverless app. The secret mobile-simulator-secrets
was created during the previous labs. The environment variable TRANSACTION_SERVICE_URL
points to the transaction microservice from the previous lab as well.
envFrom:
- secretRef:
name: bank-oidc-adminuser-workshop
- secretRef:
name: mobile-simulator-secrets
env:
- name: TRANSACTION_SERVICE_URL
value: "http://transaction-service:9080/bank/v1/transactions"