{{/* Service for the gitops-status-server Exposes the nginx server inside the cluster (ClusterIP) This allows Grafana to query the status.json endpoint */}} apiVersion: v1 kind: Service metadata: name: {{ include "gitops-status-server.fullname" . }} labels: {{- include "gitops-status-server.labels" . | nindent 4 }} {{- with .Values.service.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }} spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} targetPort: {{ .Values.service.targetPort }} protocol: TCP name: http selector: {{- include "gitops-status-server.selectorLabels" . | nindent 4 }}