mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/spinnaker] Add support for adding env vars to Halyard (#13356)
Environment variables such as DEFAULT_JVM_OPTS need to be set in order for Halyard to use a proxy. This adds an option to let you pass through any env vars to the Halyard pod. Signed-off-by: Rhys Meaclem <rhysmeaclem@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
1e45a092d4
commit
29f0dd5910
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence.
|
||||
name: spinnaker
|
||||
version: 1.10.2
|
||||
version: 1.11.0
|
||||
appVersion: 1.12.5
|
||||
home: http://spinnaker.io/
|
||||
sources:
|
||||
|
||||
@@ -163,3 +163,12 @@ halyard:
|
||||
annotations:
|
||||
iam.amazonaws.com/role: <role_arn>
|
||||
```
|
||||
|
||||
### Set environment variables on the halyard pod
|
||||
|
||||
```yaml
|
||||
halyard:
|
||||
env:
|
||||
- name: DEFAULT_JVM_OPTS
|
||||
value: -Dhttp.proxyHost=proxy.example.com
|
||||
```
|
||||
|
||||
@@ -139,6 +139,10 @@ spec:
|
||||
mountPath: /opt/halyard/config
|
||||
- name: reg-secrets
|
||||
mountPath: /opt/registry/passwords
|
||||
{{- if .Values.halyard.env }}
|
||||
env:
|
||||
{{ toYaml .Values.halyard.env | indent 8 }}
|
||||
{{- end }}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: halyard-home
|
||||
|
||||
@@ -71,6 +71,11 @@ halyard:
|
||||
# memory: "2Gi"
|
||||
# cpu: "200m"
|
||||
|
||||
## Uncomment if you want to set environment variables on the Halyard pod.
|
||||
# env:
|
||||
# - name: DEFAULT_JVM_OPTS
|
||||
# value: -Dhttp.proxyHost=proxy.example.com
|
||||
|
||||
# Define which registries and repositories you want available in your
|
||||
# Spinnaker pipeline definitions
|
||||
# For more info visit:
|
||||
|
||||
Reference in New Issue
Block a user