AETHER-1902 Allow arbitary annotations for UPF service definition
Change-Id: I3e327eb4f53f1a3fece3edfaac0998810d633664
diff --git a/omec/omec-user-plane/templates/service-upf.yaml b/omec/omec-user-plane/templates/service-upf.yaml
index 321197e..ea23935 100644
--- a/omec/omec-user-plane/templates/service-upf.yaml
+++ b/omec/omec-user-plane/templates/service-upf.yaml
@@ -11,6 +11,10 @@
name: upf
labels:
{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
+{{- with .Values.service.annotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+{{- end }}
spec:
type: {{ .Values.service.type }}
selector:
@@ -26,6 +30,10 @@
name: upf-http
labels:
{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
+{{- with .Values.service.annotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+{{- end }}
spec:
type: {{ .Values.service.type }}
selector: