Persist mcp token
This commit is contained in:
parent
3f540c2b5f
commit
f8a84f2cee
1 changed files with 7 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
- http://forgejo-mcp.mcp.svc.cluster.local
|
- http://forgejo-mcp.mcp.svc.cluster.local
|
||||||
env:
|
env:
|
||||||
- name: DATA_PATH
|
- name: DATA_PATH
|
||||||
value: /tmp/data
|
value: /data
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: mcp-auth-proxy-secrets
|
name: mcp-auth-proxy-secrets
|
||||||
|
|
@ -34,9 +34,15 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tmp
|
- name: tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp
|
||||||
|
- name: data
|
||||||
|
mountPath: /data
|
||||||
volumes:
|
volumes:
|
||||||
- name: tmp
|
- name: tmp
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: data
|
||||||
|
hostPath:
|
||||||
|
path: /var/local/appdata/mcp-auth-proxy
|
||||||
|
type: DirectoryOrCreate
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue