You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
467 B
20 lines
467 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "sigi.fullname" . }}
|
|
labels:
|
|
{{- include "sigi.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
# hack para testar se funciona
|
|
- port: 8000
|
|
targetPort: 80
|
|
name: 8000
|
|
# Original a ser revisto
|
|
# - port: {{ .Values.service.port }}
|
|
# targetPort: http
|
|
# protocol: TCP
|
|
# name: http
|
|
selector:
|
|
{{- include "sigi.selectorLabels" . | nindent 4 }}
|
|
|