Change Tornjak backend default port (#436)

This commit is contained in:
Mariusz Sabath
2023-08-09 16:46:08 +02:00
committed by GitHub
parent 1e3039ccb9
commit 7a6e4f8d75
8 changed files with 12 additions and 12 deletions
@@ -15,7 +15,7 @@ Tornjak runs without authentication and is therefore NOT suitable to run in prod
Only use in test environments!
Access Tornjak:
kubectl -n {{ include "spire-server.namespace" . }} port-forward service/{{ include "spire-tornjak.servicename" . }} {{ .Values.tornjak.service.ports.http }}:10080
kubectl -n {{ include "spire-server.namespace" . }} port-forward service/{{ include "spire-tornjak.servicename" . }} {{ .Values.tornjak.service.ports.http }}:10000
{{- if eq (include "spire-tornjak.connectionType" .) "http" }}
Open browser to: http://localhost:{{ .Values.tornjak.service.ports.http }}
{{- else if eq (include "spire-tornjak.connectionType" .) "tls" }}
@@ -183,7 +183,7 @@ spec:
httpGet:
scheme: HTTP
path: /api/tornjak/serverinfo
port: 10080
port: 10000
{{- toYaml .Values.tornjak.startupProbe | nindent 12 }}
{{- end }}
args:
@@ -193,7 +193,7 @@ spec:
- /run/spire/tornjak-config/server.conf
ports:
- name: tornjak-http
containerPort: 10080
containerPort: 10000
protocol: TCP
- name: tornjak-https
containerPort: 10443
@@ -11,7 +11,7 @@ data:
{{- if eq (include "spire-tornjak.connectionType" .) "http" }}
http {
enabled = true # if true, opens HTTP server
port = "10080" # if HTTP enabled, opens HTTP listen port at specified container port
port = "10000" # if HTTP enabled, opens HTTP listen port at specified container port
}
{{- end }}
{{- if eq (include "spire-tornjak.connectionType" .) "tls" }}