Skip to content

Commit

Permalink
HELM-79: Add hostAliases option for Pods/Workload
Browse files Browse the repository at this point in the history
  • Loading branch information
gsautner committed Mar 6, 2025
1 parent eb22766 commit f82dff4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/xwiki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: XWiki is a free wiki software platform written in Java with a design emphasis on extensibility. XWiki is an enterprise wiki. It includes WYSIWYG editing, OpenDocument based document import/export, semantic annotations and tagging, and advanced permissions management.
name: xwiki
version: 1.4.2
version: 1.4.3
type: application
keywords:
- xwiki
Expand Down
4 changes: 4 additions & 0 deletions charts/xwiki/templates/xwiki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ spec:
{{- range .Values.imagePullSecrets }}
- name: "{{ . }}"
{{- end }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if .Values.extraVolumes }}
Expand Down
10 changes: 10 additions & 0 deletions charts/xwiki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,16 @@ affinity: {}
#
imagePullSecrets: []

# https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
hostAliases: []
# - ip: "127.0.0.1"
# hostnames:
# - "foo.local"
# - "bar.local"
# - ip: "10.1.2.3"
# hostnames:
# - "foo.remote"
# - "bar.remote"

# Custom configuration files for xwiki
customConfigs:
Expand Down

0 comments on commit f82dff4

Please sign in to comment.