diff --git a/charts/spire/charts/spire-server/templates/NOTES.txt b/charts/spire/charts/spire-server/templates/NOTES.txt index 27b3c78..37cef28 100644 --- a/charts/spire/charts/spire-server/templates/NOTES.txt +++ b/charts/spire/charts/spire-server/templates/NOTES.txt @@ -7,7 +7,7 @@ Installed {{ .Chart.Name }}… {{- if eq (.Values.tornjak.enabled | toString) "true" }} -### WARNING ### +### WARNING ### This Tornjak is configured without authentication and it is intended for testing only. Please do not use this version in production. diff --git a/charts/spire/charts/spire-server/templates/_helpers.tpl b/charts/spire/charts/spire-server/templates/_helpers.tpl index 0060b36..48d3339 100644 --- a/charts/spire/charts/spire-server/templates/_helpers.tpl +++ b/charts/spire/charts/spire-server/templates/_helpers.tpl @@ -141,4 +141,4 @@ Create URL for accessing Tornjak Frontend {{- define "tornjak.FrontendURL" -}} {{- $feurl := print "http://localhost:3000" }} {{- $feurl }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/spire/charts/spire-server/templates/service.yaml b/charts/spire/charts/spire-server/templates/service.yaml index 673fae1..f843e53 100644 --- a/charts/spire/charts/spire-server/templates/service.yaml +++ b/charts/spire/charts/spire-server/templates/service.yaml @@ -58,4 +58,4 @@ spec: port: 10000 targetPort: 10000 protocol: TCP -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/spire/charts/spire-server/templates/statefulset.yaml b/charts/spire/charts/spire-server/templates/statefulset.yaml index e7b4f36..0330d31 100644 --- a/charts/spire/charts/spire-server/templates/statefulset.yaml +++ b/charts/spire/charts/spire-server/templates/statefulset.yaml @@ -156,7 +156,7 @@ spec: startupProbe: httpGet: scheme: HTTP - port: 3000 + port: 3000 failureThreshold: 6 initialDelaySeconds: 60 periodSeconds: 30 @@ -165,7 +165,7 @@ spec: env: {{- if .Values.tornjak.config.frontend }} - name: REACT_APP_API_SERVER_URI - value: {{ include "tornjak.apiURL" . | required "Either .Values.tornjak.config.backend.ingress or .Values.tornjak.config.frontend.apiServerURL is required." }} + value: {{ include "tornjak.apiURL" . | required "Either .Values.tornjak.config.backend.ingress or .Values.tornjak.config.frontend.apiServerURL is required." }} {{- end }} args: - -c diff --git a/charts/spire/charts/spire-server/templates/tornjak-config.yaml b/charts/spire/charts/spire-server/templates/tornjak-config.yaml index 407c23e..f1bd3ce 100644 --- a/charts/spire/charts/spire-server/templates/tornjak-config.yaml +++ b/charts/spire/charts/spire-server/templates/tornjak-config.yaml @@ -20,4 +20,4 @@ data: } {{- end }} } - {{- end }} \ No newline at end of file + {{- end }} diff --git a/charts/spire/charts/spire-server/values.yaml b/charts/spire/charts/spire-server/values.yaml index 16e2150..268af20 100644 --- a/charts/spire/charts/spire-server/values.yaml +++ b/charts/spire/charts/spire-server/values.yaml @@ -225,4 +225,4 @@ tornjak: # dataStore - persistent DB for storing Tornjak specific information dataStore: driver: "sqlite3" - file: "/run/spire/data/tornjak.sqlite3" \ No newline at end of file + file: "/run/spire/data/tornjak.sqlite3"