Merge pull request #529 from botzill/add-helm3-envs

Added helm3 extra envs
chart-security-mitigation
Karolis 2020-08-04 20:29:33 +01:00 committed by GitHub
commit 6d7506ac7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1
name: keel
description: Open source, tool for automating Kubernetes deployment updates. Keel is stateless, robust and lightweight.
version: 0.9.0
version: 0.9.1
# Note that we use appVersion to get images tag, so make sure this is correct.
appVersion: 0.16.1
keywords:

View File

@ -81,6 +81,8 @@ The following table lists has the main configurable parameters (polling, trigger
| ------------------------------------------- | -------------------------------------- | --------------------------------------------------------- |
| `polling.enabled` | Docker registries polling | `true` |
| `helmProvider.enabled` | Enable/disable Helm provider | `true` |
| `helmProvider.helmDriver` | Set driver for Helm3 | `` |
| `helmProvider.helmDriverSqlConnectionString`| Set SQL connection string for Helm3 | `` |
| `gcr.enabled` | Enable/disable GCR Registry | `false` |
| `gcr.projectId` | GCP Project ID GCR belongs to | |
| `gcr.pubsub.enabled` | Enable/disable GCP Pub/Sub trigger | `false` |

View File

@ -72,6 +72,14 @@ spec:
# Enable/disable Helm provider
- name: HELM3_PROVIDER
value: "true"
{{- if .Values.helmProvider.helmDriver }}
- name: HELM_DRIVER
value: "{{ .Values.helmProvider.helmDriver }}"
{{- end }}
{{- if .Values.helmProvider.helmDriverSqlConnectionString }}
- name: HELM_DRIVER_SQL_CONNECTION_STRING
value: "{{ .Values.helmProvider.helmDriverSqlConnectionString }}"
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.gcr.enabled }}

View File

@ -25,6 +25,8 @@ helmProvider:
# if you are using default configuration, setting it to
# 'tiller-deploy:44134' is usually fine
tillerAddress: 'tiller-deploy:44134'
# helmDriver: ''
# helmDriverSqlConnectionString: ''
# Google Container Registry
# GCP Project ID