aboutsummaryrefslogtreecommitdiffstats
path: root/helm/avcn-manager/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'helm/avcn-manager/templates/service.yaml')
-rw-r--r--helm/avcn-manager/templates/service.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/helm/avcn-manager/templates/service.yaml b/helm/avcn-manager/templates/service.yaml
new file mode 100644
index 0000000..d637d02
--- /dev/null
+++ b/helm/avcn-manager/templates/service.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "avcn-manager.fullname" . }}
+ labels:
+ {{- include "avcn-manager.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.port }}
+ targetPort: {{ .Values.service.port }}
+ nodePort: {{ .Values.service.nodePort }}
+ protocol: TCP
+ name: http
+ selector:
+ {{- include "avcn-manager.selectorLabels" . | nindent 4 }}