- Align tornjak backend naming with same convention as frontend - Align Tornjak backend and frontend notes style - Add disclaimer for Tornjak usage to example --------- Signed-off-by: Marco Franssen <[email protected]>
23 lines
661 B
YAML
23 lines
661 B
YAML
{{- if eq (.Values.tornjak.enabled | toString) "true" }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
namespace: {{ include "spire-server.namespace" . }}
|
|
name: {{ include "spire-tornjak.backend" . }}
|
|
{{- with .Values.tornjak.service.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- include "spire-server.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.tornjak.service.type }}
|
|
selector:
|
|
{{- include "spire-server.selectorLabels" . | nindent 4 }}
|
|
ports:
|
|
- name: {{ include "spire-tornjak.backend" . }}
|
|
port: {{ .Values.tornjak.service.port }}
|
|
targetPort: tornjak
|
|
protocol: TCP
|
|
{{- end }}
|