auth in magic change

This commit is contained in:
Nicolas 2025-08-22 13:35:12 +08:00
parent f0469d0816
commit 86b4cf81da
4 changed files with 34 additions and 34 deletions

View File

@ -1,7 +1,7 @@
apiVersion: freeleaps.com/v1alpha1
kind: FreeleapsSecret
metadata:
name: magicleaps-authentication-alpha-secrets
name: {{ .Values.authentication.secrets.target.name }}
namespace: {{ .Release.Namespace }}
spec:
secretStoreRef:

View File

@ -18,11 +18,11 @@ authentication:
registry: docker.io
repository: null
name: magicleaps-authentication
tag: snapshot-0000000
tag: snapshot-c93ce6b
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8004
containerPort: 8015
protocol: TCP
resources:
requests:
@ -36,7 +36,7 @@ authentication:
type: httpGet
config:
path: /api/_/readyz
port: 8004
port: 8015
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 3
@ -46,7 +46,7 @@ authentication:
type: httpGet
config:
path: /api/_/livez
port: 8004
port: 8015
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 3
@ -56,8 +56,8 @@ authentication:
services:
- name: magicleaps-authentication-service
type: ClusterIP
port: 8004
targetPort: 8004
port: 8015
targetPort: 8015
serviceMonitor:
enabled: false
ingresses:
@ -71,7 +71,7 @@ authentication:
service:
name: magicleaps-authentication-service
port:
number: 8004
number: 8015
tls:
exists: false
issuerRef:
@ -81,11 +81,11 @@ authentication:
configs:
tz: America/Settle
appName: magicleaps-authentication
devsvcWebapiUrlBase: http://devsvc-service.magicleaps-alpha.svc.cluster:8007/api/devsvc/
devsvcWebapiUrlBase: http://devsvc-service.freeleaps-alpha.svc.cluster:8007/api/devsvc/
notificationWebapiUrlBase: http://notification-service.freeleaps-alpha.svc.freeleaps.cluster:8003/api/notification/
jwtAlgorithm: HS256
serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8004
serviceApiAccessPort: 8015
mongodbName: interview
mongodbPort: 27017
metricsEnabled: 'false'
@ -95,13 +95,13 @@ authentication:
kind: FreeleapsSecretStore
name: freeleaps-main-secret-store
target:
name: "magicleaps-authentication-alpha-secrets"
name: "freeleaps-authentication-alpha-secrets"
creationPolicy: "Owner"
refreshInterval: 30s
data:
- key: jwtSecretKey
remoteRef:
key: "magicleaps-alpha-jwt-secret-key"
key: "freeleaps-alpha-jwt-secret-key"
type: Secret
- key: mongodbUri
remoteRef:

View File

@ -18,11 +18,11 @@ authentication:
registry: docker.io
repository: null
name: magicleaps-authentication
tag: snapshot-0000000
tag: snapshot-c93ce6b
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8004
containerPort: 8015
protocol: TCP
resources:
requests:
@ -36,7 +36,7 @@ authentication:
type: httpGet
config:
path: /api/_/readyz
port: 8004
port: 8015
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 3
@ -46,7 +46,7 @@ authentication:
type: httpGet
config:
path: /api/_/livez
port: 8004
port: 8015
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 3
@ -56,8 +56,8 @@ authentication:
services:
- name: magicleaps-authentication-service
type: ClusterIP
port: 8004
targetPort: 8004
port: 8015
targetPort: 8015
serviceMonitor:
enabled: false
ingresses:
@ -71,7 +71,7 @@ authentication:
service:
name: magicleaps-authentication-service
port:
number: 8004
number: 8015
tls:
exists: false
issuerRef:
@ -81,11 +81,11 @@ authentication:
configs:
tz: America/Settle
appName: magicleaps-authentication
devsvcWebapiUrlBase: http://devsvc-service.magicleaps.svc.cluster:8007/api/devsvc/
devsvcWebapiUrlBase: http://devsvc-service.freeleaps.svc.freeleaps.cluster:8007/api/devsvc/
notificationWebapiUrlBase: http://notification-service.freeleaps.svc.freeleaps.cluster:8003/api/notification/
jwtAlgorithm: HS256
serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8004
serviceApiAccessPort: 8015
mongodbName: interview
mongodbPort: 27017
metricsEnabled: 'false'
@ -95,13 +95,13 @@ authentication:
kind: FreeleapsSecretStore
name: freeleaps-main-secret-store
target:
name: "magicleaps-authentication-prod-secrets"
name: "freeleaps-authentication-prod-secrets"
creationPolicy: "Owner"
refreshInterval: 30s
data:
- key: jwtSecretKey
remoteRef:
key: "magicleaps-prod-jwt-secret-key"
key: "freeleaps-prod-jwt-secret-key"
type: Secret
- key: mongodbUri
remoteRef:

View File

@ -18,11 +18,11 @@ authentication:
registry: docker.io
repository: null
name: magicleaps-authentication
tag: snapshot-0000000
tag: snapshot-c93ce6b
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8004
containerPort: 8015
protocol: TCP
resources:
requests:
@ -36,7 +36,7 @@ authentication:
type: httpGet
config:
path: /api/_/readyz
port: 8004
port: 8015
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 3
@ -46,7 +46,7 @@ authentication:
type: httpGet
config:
path: /api/_/livez
port: 8004
port: 8015
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 3
@ -56,8 +56,8 @@ authentication:
services:
- name: magicleaps-authentication-service
type: ClusterIP
port: 8004
targetPort: 8004
port: 8015
targetPort: 8015
serviceMonitor:
enabled: false
ingresses:
@ -71,7 +71,7 @@ authentication:
service:
name: magicleaps-authentication-service
port:
number: 8004
number: 8015
tls:
exists: false
issuerRef:
@ -81,11 +81,11 @@ authentication:
configs:
tz: America/Settle
appName: magicleaps-authentication
devsvcWebapiUrlBase: http://devsvc-service.magicleaps.svc.cluster:8007/api/devsvc/
devsvcWebapiUrlBase: http://devsvc-service.freeleaps.svc.freeleaps.cluster:8007/api/devsvc/
notificationWebapiUrlBase: http://notification-service.freeleaps.svc.freeleaps.cluster:8003/api/notification/
jwtAlgorithm: HS256
serviceApiAccessHost: 0.0.0.0
serviceApiAccessPort: 8004
serviceApiAccessPort: 8015
mongodbName: interview
mongodbPort: 27017
metricsEnabled: 'false'
@ -95,13 +95,13 @@ authentication:
kind: FreeleapsSecretStore
name: freeleaps-main-secret-store
target:
name: "magicleaps-authentication-secrets"
name: "freeleaps-authentication-secrets"
creationPolicy: "Owner"
refreshInterval: 30s
data:
- key: jwtSecretKey
remoteRef:
key: "magicleaps-jwt-secret-key"
key: "freeleaps-jwt-secret-key"
type: Secret
- key: mongodbUri
remoteRef: