chore: Auto-update chart README [skip ci]

This commit is contained in:
k8s-at-home[bot] 2022-03-29 21:54:39 +00:00
parent 471101b5b5
commit 1a7b78f5df

View File

@ -1,14 +1,14 @@
# nginx-php
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 2.4.0](https://img.shields.io/badge/AppVersion-2.4.0-informational?style=flat-square)
nginx-php helm package
Nginx and PHP FPM for running PHP applications
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
## Source Code
* <https://github.com/nginx-php/nginx-php-docker>
* <https://github.com/TrafeX/docker-php-nginx>
## Requirements
@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 4.0.0 |
| https://library-charts.k8s-at-home.com | common | 4.3.0 |
## TL;DR
@ -67,7 +67,33 @@ helm install nginx-php k8s-at-home/nginx-php -f values.yaml
## Custom configuration
N/A
There are keys in this charts yaml that allows the user to overwrite the following config files in the container. This allows for control over:
* Nginx configuration (/etc/nginx/conf.d/server.conf)
* PHP configuration (/etc/php8/conf.d/settings.ini)
* PHP-FPM configuration (/etc/php8/php-fpm.d/server.conf)
And can be found under `config:` in this charts [values.yaml](values.yaml)
```yaml
config:
nginx-server.conf: {}
php-settings.ini: {}
php-fpm-server.conf: {}
```
This is achieved in the helm chart by creating a configmap, which is then mounted to the file locations in the pod.
An example of using this feature would be adding the following to your `values.yaml`
```yaml
config:
nginx-server.conf: |
[Date]
date.timezone="Australia/Melbourne"
```
The defauls for these files can be found at [https://github.com/TrafeX/docker-php-nginx/tree/master/config](https://github.com/TrafeX/docker-php-nginx/tree/master/config)
## Values
@ -75,11 +101,12 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| config | object | See https://github.com/TrafeX/docker-php-nginx/tree/master/config for defaults | Overwrites default config files for nginx or php/php-fpm if enabled. |
| env | object | See below | environment variables. See more environment variables in the [nginx-php documentation](https://nginx-php.org/docs). |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"nginx-php/nginx-php"` | image repository |
| image.tag | string | `"1.0.0"` | image tag |
| image.repository | string | `"trafex/php-nginx"` | image repository |
| image.tag | string | chart.appVersion | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
@ -90,7 +117,7 @@ N/A
#### Added
- Initial version
* Initial version
#### Changed
@ -100,6 +127,10 @@ N/A
N/A
### Older versions
A historical overview of changes can be found on [ArtifactHUB](https://artifacthub.io/packages/helm/k8s-at-home/nginx-php?modal=changelog)
## Support
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
@ -108,4 +139,4 @@ N/A
- Join our [Discord](https://discord.gg/sTMX7Vh) community
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
Autogenerated from chart metadata using [helm-docs v0.1.1](https://github.com/k8s-at-home/helm-docs/releases/v0.1.1)