Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: marcofranssen <[email protected]>
18 KiB
tornjak-frontend
A Helm chart to deploy Tornjak frontend
Homepage: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
Version support
Note
This Chart is still in development and still subject to change the API (
values.yaml). Until we reach a1.0.0version of the chart we can't guarantee backwards compatibility although we do aim for as much stability as possible.
| Dependency | Supported Versions |
|---|---|
| Helm | 3.x |
Tornjak
Tornjak is the UI and Control Plane for SPIRE https://github.com/spiffe/tornjak and it is composed of two components:
- Backend - Tornjak APIs that extend SPIRE APIs with Control Plane functionality
- Frontend (this chart) - Tornjak UI
Prerequisites
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.
Obtain the URL for Tornjak APIs. If deployed in the same cluster, locally,
Tornjak APIs are typically available at http://localhost:10000.
Review Tornjak documentation for more details.
Usage
Since this is just a demo version, to access Tornjak APIs you can use port forwarding. See the chart NOTES output for more details.
Maintainers
| Name | Url | |
|---|---|---|
| mrsabath | [email protected] | https://mrsabath.github.io |
Source Code
Parameters
Chart parameters
| Name | Description | Value |
|---|---|---|
image.registry |
The OCI registry to pull the image from | ghcr.io |
image.repository |
The repository within the registry | spiffe/tornjak-frontend |
image.pullPolicy |
The image pull policy | IfNotPresent |
image.tag |
Overrides the image tag whose default is the chart appVersion | "" |
imagePullSecrets |
Pull secrets for images | [] |
nameOverride |
Name override | "" |
namespaceOverride |
Namespace override | "" |
fullnameOverride |
Fullname override | "" |
serviceAccount.create |
Specifies whether a service account should be created | true |
serviceAccount.annotations |
Annotations to add to the service account | {} |
serviceAccount.name |
The name of the service account to use. If not set and create is true, a name is generated. | "" |
labels |
Labels for tornjak frontend pods | {} |
podSecurityContext |
Pod security context | {} |
securityContext |
Security context | {} |
service.type |
Service type | ClusterIP |
service.port |
Service port | 3000 |
service.annotations |
Annotations for service resource | {} |
nodeSelector |
(Optional) Select specific nodes to run on. Tornjak currently supports amd64 and arm64 architectures | {} |
affinity |
Affinity rules | {} |
tolerations |
List of tolerations | [] |
topologySpreadConstraints |
List of topology spread constraints for resilience | [] |
apiServerURL |
URL of the Tornjak APIs (backend). Since Tornjak Frontend runs in the browser, this URL must be accessible from the machine running a browser. If not provided, auto-detection is attempted. | "" |
spireHealthCheck.enabled |
Enables the SPIRE Healthchecker indicator | true |
auth.enabled |
Enables auth for Tornjak | false |
auth.serverURL |
URL of the Auth service. Tornjak Frontend will redirect to this URL to authenticate the user | "" |
startupProbe.enabled |
Enable startupProbe on Tornjak frontend container | true |
startupProbe.initialDelaySeconds |
Initial delay seconds for startupProbe | 5 |
startupProbe.periodSeconds |
Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds |
Timeout seconds for startupProbe | 5 |
startupProbe.failureThreshold |
Failure threshold count for startupProbe | 6 |
startupProbe.successThreshold |
Success threshold count for startupProbe | 1 |
workingDir |
Set to override the default path containing the Tornjak frontend within the image | "" |
logsDir |
Directory path for NPM logs | "" |
ingress.enabled |
Flag to enable ingress for Tornjak frontend service | false |
ingress.className |
Ingress class name for Tornjak frontend service | "" |
ingress.controllerType |
Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, auto-detection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""]. | "" |
ingress.annotations |
Annotations for Tornjak frontend service | {} |
ingress.host |
Host name for the ingress. If no '.' in host, trustDomain is automatically appended. The rest of the rules will be autogenerated. For more customizability, use hosts[] instead. | tornjak-frontend |
ingress.tlsSecret |
Secret that has the certs. If blank will use default certs. Used with host var. | "" |
ingress.hosts |
Host paths for ingress object. If empty, rules will be built based on the host var. | [] |
ingress.tls |
Secrets containing TLS certs to enable https on ingress. If empty, rules will be built based on the host and tlsSecret vars. | [] |
tests.bash.image.registry |
The OCI registry to pull the image from | cgr.dev |
tests.bash.image.repository |
The repository within the registry | chainguard/bash |
tests.bash.image.pullPolicy |
The image pull policy | IfNotPresent |
tests.bash.image.tag |
Overrides the image tag whose default is the chart appVersion | latest@sha256:3ed6a0b7b498b531c631a5f314ba85e91c6fd66d47301f9f67e9422e395c80c8 |