This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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 <marco.franssen@gmail.com>
- Loading branch information
1 parent
e5f6b58
commit 45c4202
Showing
6 changed files
with
60 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
charts/spire/charts/spire-server/templates/tornjak-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{{- 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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters