Skip to content

Commit

Permalink
feat(helm): allow define hostAliases & increase haproxy memory
Browse files Browse the repository at this point in the history
  • Loading branch information
nefelim4ag committed Jul 16, 2024
1 parent 6841c23 commit 8c72150
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/teamcity-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: teamcity-server
description: A Helm chart for deploy HA teamcity server
type: application
version: 3.1.0
version: 3.2.0
appVersion: "2023.11"
4 changes: 4 additions & 0 deletions charts/teamcity-server/templates/teamcity/teamcity.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ spec:
tolerations:
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- with $.Values.teamcity.hostAliases }}
hostAliases:
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
volumeClaimTemplates:
{{- with $.Values.ephemeral }}
{{- range $volume, $v_values := . }}
Expand Down
5 changes: 3 additions & 2 deletions charts/teamcity-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ proxy:
replicas: 2
image:
repository: haproxy
tag: "2.8"
tag: "3.0"
pullPolicy: IfNotPresent
imagePullSecrets: []
resources:
requests:
cpu: "10m"
memory: "12Mi"
memory: "80Mi"
startupProbe:
httpGet:
path: /login.html
Expand Down Expand Up @@ -105,6 +105,7 @@ teamcity:
labelSelector:
matchLabels:
app: "{{ $.Release.Name }}"
hostAliases: []
## @param teamcity.nodes[<index>] override per <index> of sts node
nodes:
## @param teamcity.nodes[<index>].ingress.host passed to ingress/tls if not empty
Expand Down

0 comments on commit 8c72150

Please sign in to comment.