researchowl: repoint to Infisical secret + flip to Recreate
3b of the centralization. All 5 secretKeyRefs now reference researchowl-secrets-infisical (synced from /researchowl). Also adds strategy: Recreate (single-replica RWO SQLite/WAL — avoids two pods briefly sharing /data/researchowl.db during a roll), permanent. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,10 @@ metadata:
|
|||||||
app: researchowl
|
app: researchowl
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
# Single-replica bot on a RWO local-path SQLite DB (WAL): Recreate avoids two pods
|
||||||
|
# briefly opening /data/researchowl.db during a roll (double-writer corruption risk).
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: researchowl
|
app: researchowl
|
||||||
@@ -46,12 +50,12 @@ spec:
|
|||||||
- name: TELEGRAM_BOT_TOKEN
|
- name: TELEGRAM_BOT_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: researchowl-secrets
|
name: researchowl-secrets-infisical
|
||||||
key: telegram-bot-token
|
key: telegram-bot-token
|
||||||
- name: TELEGRAM_ALLOWED_USERS
|
- name: TELEGRAM_ALLOWED_USERS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: researchowl-secrets
|
name: researchowl-secrets-infisical
|
||||||
key: telegram-allowed-users
|
key: telegram-allowed-users
|
||||||
- name: OLLAMA_URL
|
- name: OLLAMA_URL
|
||||||
value: "http://ollama.ollama.svc.cluster.local:11434"
|
value: "http://ollama.ollama.svc.cluster.local:11434"
|
||||||
@@ -70,21 +74,21 @@ spec:
|
|||||||
- name: ANTHROPIC_API_KEY
|
- name: ANTHROPIC_API_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: researchowl-secrets
|
name: researchowl-secrets-infisical
|
||||||
key: anthropic-api-key
|
key: anthropic-api-key
|
||||||
- name: GHOST_URL
|
- name: GHOST_URL
|
||||||
value: "https://zonadeexclusion.com"
|
value: "https://zonadeexclusion.com"
|
||||||
- name: GHOST_API_KEY
|
- name: GHOST_API_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: researchowl-secrets
|
name: researchowl-secrets-infisical
|
||||||
key: ghost-api-key
|
key: ghost-api-key
|
||||||
- name: GHOST_URL_EN
|
- name: GHOST_URL_EN
|
||||||
value: "https://www.theexclusionzone.com"
|
value: "https://www.theexclusionzone.com"
|
||||||
- name: GHOST_API_KEY_EN
|
- name: GHOST_API_KEY_EN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: researchowl-secrets
|
name: researchowl-secrets-infisical
|
||||||
key: ghost-api-key-en
|
key: ghost-api-key-en
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
|
|||||||
Reference in New Issue
Block a user