Skip to content
Snippets Groups Projects
service.yaml 460 B
apiVersion: v1
kind: Service
metadata:
  name: {{ .Chart.Name }}
  labels:
    {{- include "oai-ausf.labels" . | nindent 4 }}
spec:
  type: ClusterIP
  #clusterIP: None
  ports:
    - name: http
      # Port accessible outside cluster
      port: {{ .Values.exposedPorts.sbi }}
      # Port to forward to inside the pod
      targetPort: {{ .Values.exposedPorts.sbi }}
      protocol: TCP
  selector:
    {{- include "oai-ausf.selectorLabels" . | nindent 4 }}