generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
63 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Function Operator | ||
|
||
The Function Operator is a Kubernetes controller that install Serverless. | ||
|
||
## Prerequisites | ||
The Function Operator requires the following components to be installed: | ||
- [Go](https://go.dev/) | ||
|
||
## Development | ||
|
||
### Installing locally build serverless operator image on k3d with serverless | ||
|
||
To install serverless-manager from local sources on k3d cluster run: | ||
```bash | ||
make install-operator-k3d | ||
``` | ||
|
||
This target does: | ||
- build local image with serverless-operator | ||
- tag local serverless-operator image with its hash to be sure to deployment be updated | ||
- upload local image to k3d | ||
- update image in serverless-operator deployment | ||
|
||
### Running/Debugging serverless-operator locally | ||
To develop the component as normal binary, set up environment variables. | ||
|
||
### Environment Variables | ||
|
||
#### The Function Operator Uses These Environment Variables: | ||
|
||
| Variable | Description | Default value | | ||
|----------------------------------|------------------------------| ------------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
| **CHART_PATH** | Location of serverless chart | `/module-chart` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters