add extraEnv (#17770)

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
This commit is contained in:
Taehyun Kim
2019-10-08 02:47:12 -07:00
committed by Kubernetes Prow Robot
parent 03c622e892
commit 322baa4a94
4 changed files with 31 additions and 25 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: goldpinger
version: 1.1.4
version: 1.2.0
appVersion: 1.5.0
description: Goldpinger makes calls between its instances for visibility and alerting.
home: https://github.com/bloomberg/goldpinger
+25 -24
View File
@@ -42,30 +42,31 @@ The command removes all the Kubernetes components associated with the chart and
The following table lists the configurable parameters of the Goldpinger chart and their default values.
| Parameter | Description | Default |
| ------------------------------- | ------------------------------- | ---------------------------------------------------------- |
| `image.repository` | Goldpinger image | `bloomberg/goldpinger` |
| `image.tag` | Goldpinger image tag | `1.5.0` |
| `pullPolicy` | Image pull policy | `IfNotPresent` |
| `rbac.create` | Install required rbac clusterrole | `true` |
| `serviceAccount.create` | Enable ServiceAccount creation | `true` |
| `serviceAccount.name` | ServiceAccount for Goldpinger pods | `default` |
| `goldpinger.port` | Goldpinger app port listen to | `80` |
| `service.type` | Kubernetes service type | `LoadBalancer` |
| `service.port` | Service HTTP port | `80` |
| `service.annotations` | Service annotations | `{}` |
| `ingress.enabled` | Enable ingress controller resource | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.path` | Ingress path | `/` |
| `ingress.hosts` | URLs to address your Goldpinger installation| `goldpinger.local` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `podAnnotations` | Pod annotations | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `affinity` | Map of node/pod affinities | `{}` |
| `resources` | CPU/Memory resource requests/limits | `{}` |
| `podSecurityPolicy.enabled` | Enable podSecuritypolicy | `false` |
| `podSecurityPolicy.policyName` | PodSecurityPolicy Name | `unrestricted-psp` |
| Parameter | Description | Default |
| ------------------------------ | -------------------------------------------- | ---------------------- |
| `image.repository` | Goldpinger image | `bloomberg/goldpinger` |
| `image.tag` | Goldpinger image tag | `1.5.0` |
| `pullPolicy` | Image pull policy | `IfNotPresent` |
| `rbac.create` | Install required rbac clusterrole | `true` |
| `serviceAccount.create` | Enable ServiceAccount creation | `true` |
| `serviceAccount.name` | ServiceAccount for Goldpinger pods | `default` |
| `goldpinger.port` | Goldpinger app port listen to | `80` |
| `extraEnv` | Extra environment variables | `[]` |
| `service.type` | Kubernetes service type | `LoadBalancer` |
| `service.port` | Service HTTP port | `80` |
| `service.annotations` | Service annotations | `{}` |
| `ingress.enabled` | Enable ingress controller resource | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.path` | Ingress path | `/` |
| `ingress.hosts` | URLs to address your Goldpinger installation | `goldpinger.local` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `podAnnotations` | Pod annotations | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `affinity` | Map of node/pod affinities | `{}` |
| `resources` | CPU/Memory resource requests/limits | `{}` |
| `podSecurityPolicy.enabled` | Enable podSecuritypolicy | `false` |
| `podSecurityPolicy.policyName` | PodSecurityPolicy Name | `unrestricted-psp` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
@@ -40,6 +40,9 @@ spec:
value: "{{ .Values.goldpinger.port }}"
- name: LABEL_SELECTOR
value: "app.kubernetes.io/name={{ include "goldpinger.name" . }}"
{{- if .Values.extraEnv }}
{{ toYaml .Values.extraEnv | indent 10 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.goldpinger.port }}
+2
View File
@@ -21,6 +21,8 @@ serviceAccount:
goldpinger:
port: 80
extraEnv: []
service:
type: LoadBalancer
port: 80