Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Latest commit

 

History

History

Kyma Deployments

  • You have kubectl available on your machine

  • KUBECONFIG environment variable is pointing to K8S configuration file, which can be downloaded from Kyma Console/Cockpit, see the screenshot Get Kubeconfig:

    img.png

Preparation

For deployment K8S manifest files can be found from the repo.

Clone the repository:

git clone https://github.com/SAP-samples/sales-cloud-extension-address-verification.git

cd sales-cloud-extension-address-verification

Apply Secrets for Docker Images Repo, will be used to get the images of use case modules.

cd deployments
kubectl apply -n default -f ./prep/

Google Maps API Key

You need a Google account, and make sure that you enable "Geocoding API" under your Google account.

GOOGLE_API_KEY can be retrieved through a registration as described here: https://developers.google.com/maps/documentation/geocoding/get-api-key

Collect the Google API Key, and replace content of 100-c4c-address-verification-sec.yaml files with following:

apiVersion: v1
kind: Secret
metadata:
  labels:
    app: c4c-address-verification
  name: c4c-address-verification-secret
type: Opaque
data:
  GOOGLE_API_KEY: <REQUIRED: Base64 encoded Google API Key> 

Kyma Lambda Function

Install Kyma Lambda Function as service.

kubectl apply -n default -f ./