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.
Split Tornjak Frontend into separate subchart (#179)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com> Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
- Loading branch information
1 parent
0a3105f
commit 6ae950e
Showing
21 changed files
with
479 additions
and
113 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v2 | ||
name: tornjak-frontend | ||
description: A Helm chart to deploy Tornjak frontend | ||
type: application | ||
version: 0.1.0 | ||
appVersion: "v1.0.2" | ||
maintainers: | ||
- name: mrsabath | ||
email: mrsabath@gmail.com | ||
url: https://mrsabath.github.io |
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,64 @@ | ||
# tornjak-frontend | ||
|
||
<!-- This README.md is generated. Please edit README.md.gotmpl --> | ||
|
||
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.2](https://img.shields.io/badge/AppVersion-v1.0.2-informational?style=flat-square) | ||
[![Development Phase](https://github.com/spiffe/spiffe/blob/main/.img/maturity/dev.svg)](https://github.com/spiffe/spiffe/blob/main/MATURITY.md#development) | ||
|
||
A Helm chart to deploy Tornjak frontend | ||
|
||
## Version support | ||
|
||
> **Note**: This Chart is still in development and still subject to change the API (`values.yaml`). | ||
> Until we reach a `1.0.0` version of the chart we can't guarantee backwards compatibility although | ||
> we do aim for as much stability as possible. | ||
| Dependency | Supported Versions | | ||
|:-----------|:-------------------| | ||
| SPIRE | `1.5.3+`, `1.6.x` | | ||
| Tornjak | `1.0.x` | | ||
| Helm | `3.x` | | ||
|
||
## Prerequisites | ||
|
||
This chart requires access to Tornjak Backend (`tornjakFrontend.apiServerURL`). | ||
This URL needs to be reachable from your webbrowser 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 | Email | Url | | ||
| ---- | ------ | --- | | ||
| mrsabath | <mrsabath@gmail.com> | <https://mrsabath.github.io> | | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| apiServerURL | string | `"http://localhost:10000/"` | URL of the Tornjak APIs (backend) Since Tornjak Frontend runs in the browser, this URL must be accessible from the machine running a browser. | | ||
| fullnameOverride | string | `""` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | | | ||
| image.registry | string | `"ghcr.io"` | | | ||
| image.repository | string | `"spiffe/tornjak-fe"` | | | ||
| image.version | string | `""` | Overrides the image tag whose default is the chart appVersion. | | ||
| imagePullSecrets | list | `[]` | | | ||
| labels | object | `{}` | | | ||
| nameOverride | string | `""` | | | ||
| namespaceOverride | string | `""` | | | ||
| podSecurityContext | object | `{}` | | | ||
| securityContext | object | `{}` | | | ||
| service.annotations | object | `{}` | | | ||
| service.port | int | `3000` | | | ||
| service.type | string | `"ClusterIP"` | | | ||
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | | ||
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | ||
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | ||
---------------------------------------------- |
Oops, something went wrong.