VOL-2238 - support a single rw-core deployment
Change-Id: I9e043af09e2974f93c15fa257d9a87acfcd5cd57
diff --git a/voltha/templates/ro-core.yaml b/voltha/templates/ro-core.yaml
index 0879cc0..e463cc1 100644
--- a/voltha/templates/ro-core.yaml
+++ b/voltha/templates/ro-core.yaml
@@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+{{- if not .Values.therecanbeonlyone }}
{{- $set_log_level := tpl .Values.rw_core.log_level . | upper }}
{{- $log_level := 3 }}
{{- if eq $set_log_level "DEBUG" }}
@@ -139,3 +140,4 @@
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
+{{- end }}