Create a Git Function ​
This tutorial shows how you can build a Function from code and dependencies stored in a Git repository, which is an alternative way to keeping the code in the Function CR. The tutorial is based on the Function from the redis rest example. It describes steps required to fetch the Function's source code and dependencies from a public Git repository that does not need any authentication method. However, it also provides additional guidance on how to secure it if you are using a private repository.
To learn more about Git repository sources for Functions and different ways of securing your repository, read about the Git source type.
NOTE
Read about the purpose and benefits of Istio sidecar proxies. Then, check how to enable Istio sidecar proxy injection. For more details, see Default Istio Configuration.
Prerequisites ​
- You have the Serverless module added.
Procedure ​
You can create a Function either with kubectl or Kyma dashboard: