-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add annotations to pod and deployment
- Loading branch information
Showing
4 changed files
with
21 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
nginx | ||
===== | ||
# nginx | ||
|
||
![Version: 0.0.9](https://img.shields.io/badge/Version-0.0.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.17.9](https://img.shields.io/badge/AppVersion-1.17.9-informational?style=flat-square) | ||
|
||
Helm chart to deploy [nginx](https://www.nginx.com). | ||
|
||
Chart supports environment variables inside of the nginx.conf file. | ||
|
||
Current chart version is `0.0.8` | ||
|
||
Source code can be found [here](https://github.com/slamdev/helm-charts/tree/master/charts/nginx) | ||
**Homepage:** <https://github.com/slamdev/helm-charts/tree/master/charts/nginx> | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| slamdev | [email protected] | | | ||
|
||
## Chart Values | ||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | affinity for scheduler pod assignment | | ||
| deploymentAnnotations | object | `{}` | annotations to add to the deployment | | ||
| dnsmasq.enabled | bool | `false` | enable simple dns server for nginx | | ||
| env | list | `[]` | additional environment variables for the deployment | | ||
| fullnameOverride | string | `""` | full name of the chart. | | ||
|
@@ -31,6 +36,7 @@ Source code can be found [here](https://github.com/slamdev/helm-charts/tree/mast | |
| nameOverride | string | `""` | override name of the chart | | ||
| nginxConf | string | `"# nginx version: ENV_NGINX_VERSION_ENV\nuser nginx;\nworker_processes auto;\nerror_log /var/log/nginx/error.log warn;\npid /var/run/nginx.pid;\nevents {\n worker_connections 1024;\n}\nhttp {\n include /etc/nginx/mime.types;\n default_type application/octet-stream;\n log_format main '$remote_addr - $remote_user [$time_local] \"$request\" '\n '$status $body_bytes_sent \"$http_referer\" '\n '\"$http_user_agent\" \"$http_x_forwarded_for\" '\n '$request_time $upstream_response_time $pipe';\n access_log /var/log/nginx/access.log main;\n sendfile on;\n keepalive_timeout 65;\n server {\n listen 80;\n server_name localhost;\n location / {\n default_type text/plain;\n access_log off;\n error_log off;\n return 200 'ok';\n }\n }\n}"` | nginx config to provision inside of the container | | ||
| nodeSelector | object | `{}` | node for scheduler pod assignment | | ||
| podAnnotations | object | `{}` | annotations to add to the pod | | ||
| podSecurityContext | object | `{}` | specifies security settings for a pod | | ||
| readinessProbe.httpGet.path | string | `"/"` | path for readiness probe | | ||
| readinessProbe.httpGet.port | string | `"http"` | port for readiness probe | | ||
|
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