Upgrade Tornjak image to version v1.2.0 (#259)
Signed-off-by: Mariusz Sabath <[email protected]> Co-authored-by: Marco Franssen <[email protected]>
This commit is contained in:
committed by
Marco Franssen
co-authored by
Marco Franssen
parent
657c460e67
commit
382e0d4a47
@@ -12,7 +12,7 @@ source "${SCRIPTPATH}/../common.sh"
|
|||||||
print_helm_releases
|
print_helm_releases
|
||||||
print_spire_workload_status spire-server spire-system
|
print_spire_workload_status spire-server spire-system
|
||||||
|
|
||||||
kubectl rollout status --watch --timeout 30s --namespace spire-server deployments.apps spire-tornjak-frontend
|
kubectl rollout status --watch --timeout 180s --namespace spire-server deployments.apps spire-tornjak-frontend
|
||||||
kubectl -n spire-server get deploy spire-tornjak-frontend
|
kubectl -n spire-server get deploy spire-tornjak-frontend
|
||||||
kubectl -n spire-server get service spire-tornjak-frontend
|
kubectl -n spire-server get service spire-tornjak-frontend
|
||||||
|
|
||||||
|
|||||||
@@ -108,8 +108,8 @@ A Helm chart to install the SPIRE server.
|
|||||||
| topologySpreadConstraints | list | `[]` | |
|
| topologySpreadConstraints | list | `[]` | |
|
||||||
| tornjak.config.dataStore | object | `{"driver":"sqlite3","file":"/run/spire/data/tornjak.sqlite3"}` | persistent DB for storing Tornjak specific information |
|
| tornjak.config.dataStore | object | `{"driver":"sqlite3","file":"/run/spire/data/tornjak.sqlite3"}` | persistent DB for storing Tornjak specific information |
|
||||||
| tornjak.enabled | bool | `false` | Deploys Tornjak API (backend) |
|
| tornjak.enabled | bool | `false` | Deploys Tornjak API (backend) |
|
||||||
| tornjak.image | object | `{"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"spiffe/tornjak-be","version":"v1.0.2"}` | Tornjak API image |
|
| tornjak.image | object | `{"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"spiffe/tornjak-backend","version":"v1.2.0"}` | Tornjak API image |
|
||||||
| tornjak.image.version | string | `"v1.0.2"` | Overrides the image tag whose default is the chart appVersion. |
|
| tornjak.image.version | string | `"v1.2.0"` | Overrides the image tag whose default is the chart appVersion. |
|
||||||
| tornjak.service.annotations | object | `{}` | |
|
| tornjak.service.annotations | object | `{}` | |
|
||||||
| tornjak.service.port | int | `10000` | |
|
| tornjak.service.port | int | `10000` | |
|
||||||
| tornjak.service.type | string | `"ClusterIP"` | |
|
| tornjak.service.type | string | `"ClusterIP"` | |
|
||||||
|
|||||||
@@ -263,10 +263,10 @@ tornjak:
|
|||||||
# -- Tornjak API image
|
# -- Tornjak API image
|
||||||
image:
|
image:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repository: spiffe/tornjak-be
|
repository: spiffe/tornjak-backend
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# -- Overrides the image tag whose default is the chart appVersion.
|
# -- Overrides the image tag whose default is the chart appVersion.
|
||||||
version: "v1.0.2"
|
version: "v1.2.0"
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 10000
|
port: 10000
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name: tornjak-frontend
|
|||||||
description: A Helm chart to deploy Tornjak frontend
|
description: A Helm chart to deploy Tornjak frontend
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
appVersion: "v1.0.2"
|
appVersion: "v1.2.0"
|
||||||
home: https://github.com/spiffe/helm-charts/tree/main/charts/spire
|
home: https://github.com/spiffe/helm-charts/tree/main/charts/spire
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/spiffe/tornjak
|
- https://github.com/spiffe/tornjak
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<!-- This README.md is generated. Please edit README.md.gotmpl -->
|
<!-- This README.md is generated. Please edit README.md.gotmpl -->
|
||||||
|
|
||||||
  
|
  
|
||||||
[](https://github.com/spiffe/spiffe/blob/main/MATURITY.md#development)
|
[](https://github.com/spiffe/spiffe/blob/main/MATURITY.md#development)
|
||||||
|
|
||||||
A Helm chart to deploy Tornjak frontend
|
A Helm chart to deploy Tornjak frontend
|
||||||
@@ -53,7 +53,7 @@ port forwarding. See the chart NOTES output for more details.
|
|||||||
| fullnameOverride | string | `""` | |
|
| fullnameOverride | string | `""` | |
|
||||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
| image.registry | string | `"ghcr.io"` | |
|
| image.registry | string | `"ghcr.io"` | |
|
||||||
| image.repository | string | `"spiffe/tornjak-fe"` | |
|
| image.repository | string | `"spiffe/tornjak-frontend"` | |
|
||||||
| image.version | string | `""` | Overrides the image tag whose default is the chart appVersion. |
|
| image.version | string | `""` | Overrides the image tag whose default is the chart appVersion. |
|
||||||
| imagePullSecrets | list | `[]` | |
|
| imagePullSecrets | list | `[]` | |
|
||||||
| labels | object | `{}` | |
|
| labels | object | `{}` | |
|
||||||
@@ -67,4 +67,5 @@ port forwarding. See the chart NOTES output for more details.
|
|||||||
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
|
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
|
||||||
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
|
| 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 |
|
| 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 |
|
||||||
|
| spireHealthCheck.enabled | bool | `true` | Enables the SPIRE Healthchecker indicator |
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Tornjak UI (Frontend)
|
|||||||
image: {{ template "spire-lib.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image "global" .Values.global) }}
|
image: {{ template "spire-lib.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image "global" .Values.global) }}
|
||||||
pull policy: {{ .Values.image.pullPolicy }}
|
pull policy: {{ .Values.image.pullPolicy }}
|
||||||
Tornjak API (Backend): {{ include "tornjak-frontend.apiURL" . }}
|
Tornjak API (Backend): {{ include "tornjak-frontend.apiURL" . }}
|
||||||
|
SPIRE health check enabled: "{{ .Values.spireHealthCheck.enabled }}"
|
||||||
|
|
||||||
### WARNING ###
|
### WARNING ###
|
||||||
|
|
||||||
|
|||||||
@@ -35,15 +35,19 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: REACT_APP_API_SERVER_URI
|
- name: REACT_APP_API_SERVER_URI
|
||||||
value: {{ include "tornjak-frontend.apiURL" . }}
|
value: {{ include "tornjak-frontend.apiURL" . }}
|
||||||
|
{{- if eq (.Values.spireHealthCheck.enabled | toString) "true" }}
|
||||||
|
- name: REACT_APP_SPIRE_HEALTH_CHECK_ENABLE
|
||||||
|
value: "{{ .Values.spireHealthCheck.enabled }}"
|
||||||
|
{{- end }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
port: {{ .Values.service.port }}
|
port: {{ .Values.service.port }}
|
||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 120
|
||||||
periodSeconds: 30
|
periodSeconds: 45
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 20
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: cache
|
- name: cache
|
||||||
mountPath: /usr/src/app/node_modules/.cache
|
mountPath: /usr/src/app/node_modules/.cache
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repository: spiffe/tornjak-fe
|
repository: spiffe/tornjak-frontend
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# -- Overrides the image tag whose default is the chart appVersion.
|
# -- Overrides the image tag whose default is the chart appVersion.
|
||||||
version: ""
|
version: ""
|
||||||
@@ -54,3 +54,9 @@ service:
|
|||||||
# Since Tornjak Frontend runs in the browser, this URL must be accessible from
|
# Since Tornjak Frontend runs in the browser, this URL must be accessible from
|
||||||
# the machine running a browser.
|
# the machine running a browser.
|
||||||
apiServerURL: "http://localhost:10000/" # 👈 Use it for minikube or kind
|
apiServerURL: "http://localhost:10000/" # 👈 Use it for minikube or kind
|
||||||
|
|
||||||
|
# SPIRE Healthchecker indicator
|
||||||
|
spireHealthCheck:
|
||||||
|
# -- Enables the SPIRE Healthchecker indicator
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user