VOL-3159 - Remove python ofagent resources
Change-Id: Ic932af9c7b72f5fb274e322d91817e253e8c27cd
diff --git a/voltha/templates/ofagent-profile-svc.yaml b/voltha/templates/ofagent-profile-svc.yaml
new file mode 100644
index 0000000..6a18864
--- /dev/null
+++ b/voltha/templates/ofagent-profile-svc.yaml
@@ -0,0 +1,28 @@
+# Copyright 2020-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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 .Values.profiler.enabled }}
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: voltha-of-agent-profiler
+spec:
+ clusterIP: None
+ ports:
+ - name: ofagent-profiler
+ port: 6060
+ targetPort: 6060
+ selector:
+ app: ofagent
+{{- end }}