VOL-2238 - support a single rw-core deployment
Change-Id: I9e043af09e2974f93c15fa257d9a87acfcd5cd57
diff --git a/voltha/templates/afrouter-config.yaml b/voltha/templates/afrouter-config.yaml
index 1b57d5d..669c711 100644
--- a/voltha/templates/afrouter-config.yaml
+++ b/voltha/templates/afrouter-config.yaml
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+{{- if not .Values.therecanbeonlyone }}
---
{{- $root := . }}
apiVersion: v1
@@ -284,3 +285,4 @@
metadata:
name: afrouter-config
serviceAccountName: {{ .Values.serviceaccount }}
+{{- end}}