Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #141 from tunaman/hostnet-fix
Browse files Browse the repository at this point in the history
Hostnet fix
  • Loading branch information
banzo authored May 28, 2021
2 parents 42f02dc + 677f951 commit 2e40d72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2
name: nifi
version: 0.7.0
version: 0.7.1
appVersion: 1.12.1
description: Apache NiFi is a software project from the Apache Software Foundation designed to automate the flow of data between software systems.
keywords:
Expand Down
4 changes: 4 additions & 0 deletions templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ spec:
}
mkdir -p ${NIFI_HOME}/config-data/conf
{{- if .Values.sts.useHostNetwork }}
FQDN="0.0.0.0"
{{- else }}
FQDN=$(hostname -f)
{{- end }}

cat "${NIFI_HOME}/conf/nifi.temp" > "${NIFI_HOME}/conf/nifi.properties"

Expand Down

0 comments on commit 2e40d72

Please sign in to comment.