1) Enabled authentication and default admin user for InfluxDB by
default. This will prevent any unauthorized access to InfluxDB
2) Fixed the issue in the helm charts. It was resulting in default
user to be not enabled and influxdb helm chart was failing
Issue-ID: RIC-903
Signed-off-by: mabelgaumkar1 <mabelgaumkar@parallelwireless.com>
Change-Id: I7e3fbc9a7995d6e2452351d5aa6abfa64e4ca49e
# See the License for the specific language governing permissions and #
# limitations under the License. #
################################################################################
-{{- if .Values.setDefaultUser.enabled -}}
+{{ if .Values.setDefaultUser.enabled -}}
apiVersion: batch/v1
kind: Job
metadata:
# See the License for the specific language governing permissions and #
# limitations under the License. #
################################################################################
-{{- if .Values.setDefaultUser.enabled -}}
-{{- if not (.Values.setDefaultUser.user.existingSecret) -}}
+{{ if .Values.setDefaultUser.enabled -}}
+{{ if not (.Values.setDefaultUser.user.existingSecret) -}}
apiVersion: v1
kind: Secret
metadata:
## Defaults indicated below
##
setDefaultUser:
- enabled: false
+ enabled: true
## Image of the container used for job
## Default: appropriate/curl:latest
retention: {}
shard_precreation: {}
monitor: {}
- http: {}
- logging: {}
+ http:
+ auth-enabled: true
+ logging:
+ level: "debug"
subscriber: {}
graphite: {}
collectd: {}