feat(gateway): multiple authentication methods

This commit is contained in:
Daniel Hougaard
2025-06-07 02:58:07 +04:00
parent ae00e74c17
commit 8445127fad
10 changed files with 498 additions and 28 deletions

View File

@@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.3
version: 0.0.4
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.3"
appVersion: "0.0.4"

View File

@@ -39,18 +39,9 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- gateway
- --token
- $(TOKEN)
envFrom:
- secretRef:
name: {{ .Values.secret.name }}
env:
- name: TOKEN_VALIDATION
valueFrom:
secretKeyRef:
name: {{ .Values.secret.name }}
key: TOKEN
optional: false
ports:
- name: http
containerPort: {{ .Values.service.port }}

View File

@@ -1,6 +1,6 @@
image:
pullPolicy: IfNotPresent
tag: "0.41.81"
tag: "0.41.83"
secret:
# The secret that contains the environment variables to be used by the gateway, such as INFISICAL_API_URL and TOKEN