Change Tornjak backend default port (#436)
This commit is contained in:
@@ -414,7 +414,7 @@ Now you can interact with the Spire agent socket from your own application. The
|
|||||||
| spire-server.tornjak.image.version | string | `""` | This value is deprecated in favor of tag. (Will be removed in a future release) |
|
| spire-server.tornjak.image.version | string | `""` | This value is deprecated in favor of tag. (Will be removed in a future release) |
|
||||||
| spire-server.tornjak.resources | object | `{}` | |
|
| spire-server.tornjak.resources | object | `{}` | |
|
||||||
| spire-server.tornjak.service.annotations | object | `{}` | |
|
| spire-server.tornjak.service.annotations | object | `{}` | |
|
||||||
| spire-server.tornjak.service.ports | object | `{"http":10080,"https":10443}` | Ports for tornjak |
|
| spire-server.tornjak.service.ports | object | `{"http":10000,"https":10443}` | Ports for tornjak |
|
||||||
| spire-server.tornjak.service.type | string | `"ClusterIP"` | |
|
| spire-server.tornjak.service.type | string | `"ClusterIP"` | |
|
||||||
| spire-server.tornjak.startupProbe.failureThreshold | int | `3` | |
|
| spire-server.tornjak.startupProbe.failureThreshold | int | `3` | |
|
||||||
| spire-server.tornjak.startupProbe.initialDelaySeconds | int | `5` | Initial delay seconds for |
|
| spire-server.tornjak.startupProbe.initialDelaySeconds | int | `5` | Initial delay seconds for |
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ In order to run Tornjak with simple HTTP Connection only, make sure you don't cr
|
|||||||
| tornjak.image.version | string | `""` | This value is deprecated in favor of tag. (Will be removed in a future release) |
|
| tornjak.image.version | string | `""` | This value is deprecated in favor of tag. (Will be removed in a future release) |
|
||||||
| tornjak.resources | object | `{}` | |
|
| tornjak.resources | object | `{}` | |
|
||||||
| tornjak.service.annotations | object | `{}` | |
|
| tornjak.service.annotations | object | `{}` | |
|
||||||
| tornjak.service.ports | object | `{"http":10080,"https":10443}` | Ports for tornjak |
|
| tornjak.service.ports | object | `{"http":10000,"https":10443}` | Ports for tornjak |
|
||||||
| tornjak.service.type | string | `"ClusterIP"` | |
|
| tornjak.service.type | string | `"ClusterIP"` | |
|
||||||
| tornjak.startupProbe.failureThreshold | int | `3` | |
|
| tornjak.startupProbe.failureThreshold | int | `3` | |
|
||||||
| tornjak.startupProbe.initialDelaySeconds | int | `5` | Initial delay seconds for |
|
| tornjak.startupProbe.initialDelaySeconds | int | `5` | Initial delay seconds for |
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Tornjak runs without authentication and is therefore NOT suitable to run in prod
|
|||||||
Only use in test environments!
|
Only use in test environments!
|
||||||
|
|
||||||
Access Tornjak:
|
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" }}
|
{{- if eq (include "spire-tornjak.connectionType" .) "http" }}
|
||||||
Open browser to: http://localhost:{{ .Values.tornjak.service.ports.http }}
|
Open browser to: http://localhost:{{ .Values.tornjak.service.ports.http }}
|
||||||
{{- else if eq (include "spire-tornjak.connectionType" .) "tls" }}
|
{{- else if eq (include "spire-tornjak.connectionType" .) "tls" }}
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ spec:
|
|||||||
httpGet:
|
httpGet:
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
path: /api/tornjak/serverinfo
|
path: /api/tornjak/serverinfo
|
||||||
port: 10080
|
port: 10000
|
||||||
{{- toYaml .Values.tornjak.startupProbe | nindent 12 }}
|
{{- toYaml .Values.tornjak.startupProbe | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
args:
|
args:
|
||||||
@@ -193,7 +193,7 @@ spec:
|
|||||||
- /run/spire/tornjak-config/server.conf
|
- /run/spire/tornjak-config/server.conf
|
||||||
ports:
|
ports:
|
||||||
- name: tornjak-http
|
- name: tornjak-http
|
||||||
containerPort: 10080
|
containerPort: 10000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: tornjak-https
|
- name: tornjak-https
|
||||||
containerPort: 10443
|
containerPort: 10443
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ data:
|
|||||||
{{- if eq (include "spire-tornjak.connectionType" .) "http" }}
|
{{- if eq (include "spire-tornjak.connectionType" .) "http" }}
|
||||||
http {
|
http {
|
||||||
enabled = true # if true, opens HTTP server
|
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 }}
|
{{- end }}
|
||||||
{{- if eq (include "spire-tornjak.connectionType" .) "tls" }}
|
{{- if eq (include "spire-tornjak.connectionType" .) "tls" }}
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ tornjak:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
# -- Ports for tornjak
|
# -- Ports for tornjak
|
||||||
ports:
|
ports:
|
||||||
http: 10080
|
http: 10000
|
||||||
https: 10443
|
https: 10443
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ This chart requires access to Tornjak Backend (`tornjakFrontend.apiServerURL`).
|
|||||||
This URL needs to be reachable from your web browser and can therefore not be a cluster internal URL.
|
This URL needs to be reachable from your web browser and can therefore not be a cluster internal URL.
|
||||||
|
|
||||||
Obtain the URL for Tornjak APIs. If deployed in the same cluster, locally,
|
Obtain the URL for Tornjak APIs. If deployed in the same cluster, locally,
|
||||||
Tornjak APIs are typically available at `http://localhost:10080`.
|
Tornjak APIs are typically available at `http://localhost:10000`.
|
||||||
Review Tornjak documentation for more details.
|
Review Tornjak documentation for more details.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ This chart requires access to Tornjak Backend (`tornjakFrontend.apiServerURL`).
|
|||||||
This URL needs to be reachable from your web browser and can therefore not be a cluster internal URL.
|
This URL needs to be reachable from your web browser and can therefore not be a cluster internal URL.
|
||||||
|
|
||||||
Obtain the URL for Tornjak APIs. If deployed in the same cluster, locally,
|
Obtain the URL for Tornjak APIs. If deployed in the same cluster, locally,
|
||||||
Tornjak APIs are typically available at `http://localhost:10080`.
|
Tornjak APIs are typically available at `http://localhost:10000`.
|
||||||
Review Tornjak documentation for more details.
|
Review Tornjak documentation for more details.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
Reference in New Issue
Block a user