Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow hostAliases definition #109

Merged
merged 10 commits into from
Sep 17, 2024
4 changes: 4 additions & 0 deletions templates/analytics/analytics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/cas/cas-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/console/console-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/datafeeder/datafeeder-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/datafeeder/import-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/gateway/gateway-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/geonetwork/elasticsearch/es-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,9 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}

4 changes: 4 additions & 0 deletions templates/geonetwork/geonetwork-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/geonetwork/kibana/kibana-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end -}}
4 changes: 4 additions & 0 deletions templates/geoserver/geoserver-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/geowebcache/geowebcache-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/header/header-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,9 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}

4 changes: 4 additions & 0 deletions templates/ldap/openldap-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/mapstore/mapstore-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,9 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}

4 changes: 4 additions & 0 deletions templates/security-proxy/security-proxy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions templates/smtp-smarthost/smtp-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@ spec:
tolerations:
{{- $webapp.tolerations | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.hostAliases }}
hostAliases:
{{- .Values.hostAliases | toYaml | nindent 8 }}
{{- end }}
{{- end -}}
9 changes: 8 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ georchestra:
harvester_logs:
enabled: false
schedule: "0 1 * * *"
tolerations: []
tolerations: []
service:
annotations: {}
geoserver:
Expand Down Expand Up @@ -392,3 +392,10 @@ rabbitmq:
# pv_name: rabbitmq-data
# storage_class_name: default
# size: 1Gi

# Allow to override /etc/hosts for ALL apps
# https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
hostAliases: []
# - ip: "127.0.0.1"
# hostnames:
# - "host.alias.com"
Loading