Skip to content

Commit

Permalink
fix: add hostaliases
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Jul 15, 2024
1 parent 95b212f commit 9404f0b
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/unleash-edge/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg

type: application

version: 2.6.3
version: 2.6.5

appVersion: "v19.2.0"

Expand Down
15 changes: 15 additions & 0 deletions charts/unleash-edge/examples/hostaliases.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
edge:
upstreamUrl: http://unleash.unleash:4242

hostAliases:
- ip: "127.0.0.1"
hostnames:
- "foo.local"

resources:
requests:
cpu: 100m
memory: 64Mi
limits:
cpu: 200m
memory: 64Mi
4 changes: 4 additions & 0 deletions charts/unleash-edge/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,7 @@ spec:
- {{ toYaml . | nindent 8 | trim }}
{{- end }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/unleash-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.8.1
version: 0.8.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 4 additions & 0 deletions charts/unleash-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg

type: application

version: 5.1.2
version: 5.1.3

appVersion: "6.0.6"

Expand Down
4 changes: 4 additions & 0 deletions charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}

0 comments on commit 9404f0b

Please sign in to comment.