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

Commit

Permalink
Re-enable safetyValve if OIDC is not enabled / clusterSecure false (#148
Browse files Browse the repository at this point in the history
)

* Re-enable safetyValve if OIDC is not enabled and clusterSecure is false (commit dbc0712 pulled in too much)
  • Loading branch information
wknickless authored Jun 21, 2021
1 parent c7dc51f commit 2c5fdc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
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.7
version: 0.7.8
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
6 changes: 2 additions & 4 deletions templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ spec:
prop_replace nifi.security.truststoreType jks
prop_replace nifi.security.truststore ${NIFI_HOME}/config-data/certs/truststore.jks
prop_replace nifi.security.truststorePasswd $(jq -r .trustStorePassword ${NIFI_HOME}/config-data/certs/config.json)
{{- end }}
{{- end }}

{{- if .Values.properties.webProxyHost }}
# Update nifi.properties for web ui proxy hostname
Expand All @@ -226,15 +228,11 @@ spec:
prop_replace nifi.web.proxy.host {{ template "apache-nifi.fullname" . }}.{{ .Release.Namespace }}.svc
{{- end }}


{{- end }}

{{- if .Values.properties.safetyValve }}
{{- range $prop, $val := .Values.properties.safetyValve }}
prop_replace {{ $prop }} "{{ $val }}" nifi.properties
{{- end }}
{{- end }}
{{- end }}


exec bin/nifi.sh run & nifi_pid="$!"
Expand Down

0 comments on commit 2c5fdc0

Please sign in to comment.