Skip to content

Commit

Permalink
Update default builder template image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii-Klimov committed Dec 2, 2024
1 parent 23244f8 commit f28a697
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@ The application can be configured using environment variables or by modifying th

### Environment Variables

| Setting | Default | Required | Description |
|---------------------------------|------------------------------------------|------------|--------------------------------------------------------------|
| `APP_DOCKER_REGISTRY` | | Yes | The Docker registry where images are stored. |
| `APP_DIAL_BASE_URL` | | Yes | The base URL for the DIAL service. |
| `APP_DEPLOY_NAMESPACE` | `default` | No | The Kubernetes namespace used for deploying services. |
| `APP_BUILD_NAMESPACE` | `default` | No | The Kubernetes namespace used for building images. |
| `APP_HEARTBEAT_PERIOD_SEC` | `30` | No | The interval in seconds for sending heartbeat events. |
| `APP_IMAGE_NAME_FORMAT` | `app-%s` | No | Format for naming Docker images. |
| `APP_IMAGE_LABEL` | `latest` | No | The label used for Docker images. |
| `APP_IMAGE_BUILD_TIMEOUT_SEC` | `300` | No | Timeout in seconds for building Docker images. |
| `APP_SERVICE_SETUP_TIMEOUT_SEC` | `300` | No | Timeout in seconds for setting up Knative services. |
| `APP_MAX_ERROR_LOG_LINES` | `20` | No | Maximum number of error log lines to return in message. |
| `APP_MAX_ERROR_LOG_CHARS` | `1000` | No | Maximum number of error log characters to return in message. |
| `APP_TEMPLATE_IMAGE` | `${app.docker-registry}/template:latest` | No | The Docker image used as the template for building. |
| `APP_BUILDER_IMAGE` | `gcr.io/kaniko-project/executor:latest` | No | The Docker image used for building applications. |
| `APP_TEMPLATE_CONTAINER` | `template` | No | Name of the template container in Kubernetes job. |
| `APP_BUILDER_CONTAINER` | `builder` | No | Name of the builder container in Kubernetes job. |
| `APP_SERVICE_CONTAINER` | `app-container` | No | Name of the service container. |
| `APP_DEFAULT_RUNTIME` | `python3.11` | No | Default runtime for Python applications. |
| Setting | Default | Required | Description |
|---------------------------------|--------------------------------------------------|------------|--------------------------------------------------------------|
| `APP_DOCKER_REGISTRY` | | Yes | The Docker registry where images are stored. |
| `APP_DIAL_BASE_URL` | | Yes | The base URL for the DIAL service. |
| `APP_DEPLOY_NAMESPACE` | `default` | No | The Kubernetes namespace used for deploying services. |
| `APP_BUILD_NAMESPACE` | `default` | No | The Kubernetes namespace used for building images. |
| `APP_HEARTBEAT_PERIOD_SEC` | `30` | No | The interval in seconds for sending heartbeat events. |
| `APP_IMAGE_NAME_FORMAT` | `app-%s` | No | Format for naming Docker images. |
| `APP_IMAGE_LABEL` | `latest` | No | The label used for Docker images. |
| `APP_IMAGE_BUILD_TIMEOUT_SEC` | `300` | No | Timeout in seconds for building Docker images. |
| `APP_SERVICE_SETUP_TIMEOUT_SEC` | `300` | No | Timeout in seconds for setting up Knative services. |
| `APP_MAX_ERROR_LOG_LINES` | `20` | No | Maximum number of error log lines to return in message. |
| `APP_MAX_ERROR_LOG_CHARS` | `1000` | No | Maximum number of error log characters to return in message. |
| `APP_TEMPLATE_IMAGE` | `${app.docker-registry}/builder-template:latest` | No | The Docker image used as the template for building. |
| `APP_BUILDER_IMAGE` | `gcr.io/kaniko-project/executor:latest` | No | The Docker image used for building applications. |
| `APP_TEMPLATE_CONTAINER` | `template` | No | Name of the template container in Kubernetes job. |
| `APP_BUILDER_CONTAINER` | `builder` | No | Name of the builder container in Kubernetes job. |
| `APP_SERVICE_CONTAINER` | `app-container` | No | Name of the service container. |
| `APP_DEFAULT_RUNTIME` | `python3.11` | No | Default runtime for Python applications. |

## Usage

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ app:
build-namespace: default
deploy-namespace: default
docker-registry-protocol: https
template-image: ${app.docker-registry}/template:latest
template-image: ${app.docker-registry}/builder-template:latest
builder-image: gcr.io/kaniko-project/executor:latest
image-name-format: app-%s
image-label: latest
Expand Down

0 comments on commit f28a697

Please sign in to comment.