first commit
This commit is contained in:
24
templates/apiportal/apiportal-service.yaml
Normal file
24
templates/apiportal/apiportal-service.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
{{- if .Values.apiportal.enabled -}}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "gateway.fullname" . }}-apiportal
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{- include "gateway.labels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: apiportal
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: {{ .Values.apiportal.service.ports.http.port }}
|
||||
targetPort: {{ .Values.apiportal.service.ports.http.port }}
|
||||
protocol: TCP
|
||||
name: {{ include "gateway.fullname" . }}-apiportal-http
|
||||
- port: {{ .Values.apiportal.service.ports.https.port }}
|
||||
targetPort: {{ .Values.apiportal.service.ports.https.port }}
|
||||
protocol: TCP
|
||||
name: {{ include "gateway.fullname" . }}-apiportal-https
|
||||
selector:
|
||||
{{- include "gateway.selectorLabels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: apiportal
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user