Skip to content

Commit

Permalink
fix templates for cluster-test-suites (#78)
Browse files Browse the repository at this point in the history
* fix templates

* CHANGELOG
  • Loading branch information
ssyno authored Sep 25, 2024
1 parent e2ca77e commit 6fa41fa
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Fix issues with templates
- Change ownership to Team Shield

## [0.10.1] - 2024-09-04
Expand Down
2 changes: 1 addition & 1 deletion helm/teleport-kube-agent/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if serviceAccount is not defined or serviceAccount.name is empty, use .Release.N
{{- if .Values.teleportVersionOverride -}}
{{- .Values.teleportVersionOverride -}}
{{- else -}}
{{- .Chart.AppVersion -}}
{{- .Chart.Version -}}
{{- end -}}
{{- end -}}
Expand Down
15 changes: 15 additions & 0 deletions helm/teleport-kube-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,21 @@ spec:
imagePullPolicy: {{ toYaml .Values.imagePullPolicy }}
{{- end }}
env:
{{- $proxy := deepCopy .Values.cluster.proxy | mustMerge .Values.proxy }}
{{- if and $proxy.noProxy $proxy.http $proxy.https }}
- name: NO_PROXY
value: {{ $proxy.noProxy }}
- name: no_proxy
value: {{ $proxy.noProxy }}
- name: HTTP_PROXY
value: {{ $proxy.http }}
- name: http_proxy
value: {{ $proxy.http }}
- name: HTTPS_PROXY
value: {{ $proxy.https }}
- name: https_proxy
value: {{ $proxy.https }}
{{- end }}
# This variable is set for telemetry purposes.
# Telemetry is opt-in and controlled at the auth level.
- name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT
Expand Down

0 comments on commit 6fa41fa

Please sign in to comment.