redhat-cakephp-application-template
This content is experimental, do not use it in production. An example CakePHP application with no database. For more information about using this template, including OpenShift considerations, see https://github.com/sclorg/cakephp-ex/blob/master/README.md.
About this chart
CakePHP application template with no database helm chart
A Helm chart for building and deploying a CakePHP-ex application on OpenShift.
For more information about helm charts see the official Helm Charts Documentation.
You need to have access to a cluster for each operation with OpenShift 4, like deploying and testing.
Values
Below is a table of each value used to configure this chart.
| Value | Description | Default | Additional Information |
|---|---|---|---|
name | The name assigned to all of the frontend objects defined in this helm chart. | cakephp-example | |
namespace | The OpenShift Namespace where the ImageStream resides. | cakephp-example | |
php_version | Version of PHP image to be used (8.1-ubi9 by default). | 8.1-ubi9 | |
memory_limit | Maximum amount of memory the container can use. | 521Mi | |
source_repository_url | The URL of the repository with your application source code. | https://github.com/sclorg/cakephp-ex.git | |
source_repository_ref | Set this to a branch name, tag or other ref of your repository if you are not using the default branch. | master | |
context_dir | Set this to the relative path to your project if it is not in the root of your repository. | ||
application_domain | The exposed hostname that will route to the httpd service, if left blank a value will be defaulted. | ||
github_webhook_secret | Github trigger secret. A difficult to guess string encoded as part of the webhook URL. Not encrypted. | ||
cakephp_secret_token | Set this to a long random string. | ||
cakephp_security_salt | Security salt for session hash. | ||
composer_mirror | The custom Composer mirror URL. | ||
opcache_revalidate_freq | How often to check script timestamps for updates, in seconds. 0 will result in OPcache checking for updates on every request. |
Deploy redhat-cakephp-application-template with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has redhat-cakephp-application-template on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartredhat-cakephp-application-template is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply