fix(official-bots): mount JWT public key from ncs-jwt-keys #414
@@ -441,6 +441,12 @@ spec:
|
|||||||
key: INTERNAL_SECRET
|
key: INTERNAL_SECRET
|
||||||
- name: ACCOUNT_SERVICE_URL
|
- name: ACCOUNT_SERVICE_URL
|
||||||
value: http://nowchess-account:8083
|
value: http://nowchess-account:8083
|
||||||
|
- name: JWT_PUBLIC_KEY_PATH
|
||||||
|
value: /secrets/jwt/public.pem
|
||||||
|
volumeMounts:
|
||||||
|
- name: jwt-keys
|
||||||
|
mountPath: /secrets/jwt
|
||||||
|
readOnly: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8088
|
- containerPort: 8088
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
@@ -463,6 +469,10 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
volumes:
|
||||||
|
- name: jwt-keys
|
||||||
|
secret:
|
||||||
|
secretName: ncs-jwt-keys
|
||||||
rollbackWindow:
|
rollbackWindow:
|
||||||
revisions: 3
|
revisions: 3
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
@@ -93,6 +93,21 @@ patches:
|
|||||||
name: nowchess-core
|
name: nowchess-core
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
- patch: |-
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Rollout
|
||||||
|
metadata:
|
||||||
|
name: nowchess-official-bots
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: nowchess-official-bots
|
||||||
|
env:
|
||||||
|
- name: QUARKUS_LOG_CATEGORY__IO_SMALLRYE_JWT__LEVEL
|
||||||
|
value: DEBUG
|
||||||
|
- name: QUARKUS_LOG_CATEGORY__IO_QUARKUS_SECURITY__LEVEL
|
||||||
|
value: DEBUG
|
||||||
images:
|
images:
|
||||||
- name: ghcr.io/now-chess/now-chess-systems/account
|
- name: ghcr.io/now-chess/now-chess-systems/account
|
||||||
newTag: 0.24.0
|
newTag: 0.24.0
|
||||||
|
|||||||
Reference in New Issue
Block a user