Remove default values from templates/ as they are in values.yaml file

This commit is contained in:
tompizmor
2018-05-02 17:59:37 +02:00
parent c57351afcc
commit f061393e91
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
name: tomcat
version: 0.4.24
version: 0.4.25
appVersion: 8.5.30
description: Chart for Apache Tomcat
keywords:

View File

@@ -25,14 +25,14 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
env:
- name: TOMCAT_USERNAME
value: {{ default "" .Values.tomcatUsername | quote }}
value: {{ .Values.tomcatUsername | quote }}
- name: TOMCAT_PASSWORD
valueFrom:
secretKeyRef:
name: {{ template "fullname" . }}
key: tomcat-password
- name: TOMCAT_ALLOW_REMOTE_MANAGEMENT
value: {{ default "" .Values.tomcatAllowRemoteManagement | quote }}
value: {{ .Values.tomcatAllowRemoteManagement | quote }}
ports:
- name: http
containerPort: 8080