VOL-3183 - chart best practice updates
- separated each resource into its own template
- added security context for runas
- added namespace to metadata
- added release name as part of selector
Change-Id: I2a63d099f6bbc4b0615addceccfbd04cff09ef4f
diff --git a/voltha/templates/ofagent-profile-svc.yaml b/voltha/templates/ofagent-profile-svc.yaml
index 6a18864..1e77a08 100644
--- a/voltha/templates/ofagent-profile-svc.yaml
+++ b/voltha/templates/ofagent-profile-svc.yaml
@@ -17,6 +17,7 @@
kind: Service
metadata:
name: voltha-of-agent-profiler
+ namespace: {{ .Release.Namespace }}
spec:
clusterIP: None
ports:
@@ -25,4 +26,5 @@
targetPort: 6060
selector:
app: ofagent
+ release: {{ .Release.Name }}
{{- end }}