Skip to content

Commit

Permalink
Merge pull request #123 from tryretool/june/add-hostalias
Browse files Browse the repository at this point in the history
  • Loading branch information
june-xu authored Oct 16, 2023
2 parents 2409ebd + ac7674a commit d668868
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ jobs:
# When changing versions here, check that the version exists at:
# https://github.com/yannh/kubernetes-json-schema
k8s:
- v1.28.2
- v1.27.6
- v1.26.5
- v1.25.2
- v1.24.2
- v1.22.9
- v1.18.20
- v1.16.15
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion charts/retool/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: retool
description: A Helm chart for Kubernetes
type: application
version: 6.0.3
version: 6.0.4
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
4 changes: 4 additions & 0 deletions charts/retool/templates/deployment_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.initContainers }}
initContainers:
{{- range $key, $value := .Values.initContainers }}
Expand Down
8 changes: 8 additions & 0 deletions charts/retool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,3 +557,11 @@ extraManifests: []
securityGroupPolicy:
enabled: false
groupIds: []

hostAliases: {}
# Support hostAliases on the backend deployment
# hostAliases:
# - ip: 1.1.1.1
# hostnames:
# - test.com
# - anothertest.com
8 changes: 8 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,3 +557,11 @@ extraManifests: []
securityGroupPolicy:
enabled: false
groupIds: []

hostAliases: {}
# Support hostAliases on the backend deployment
# hostAliases:
# - ip: 1.1.1.1
# hostnames:
# - test.com
# - anothertest.com

0 comments on commit d668868

Please sign in to comment.