|
1 | | -# This file provides examples of how to structure your Kubernetes Secrets |
2 | | -# if you choose to use secretKeyRef for sensitive values in your values.yaml. |
3 | | - |
4 | | -# Example for OIDC Client Secret |
5 | | -# apiVersion: v1 |
6 | | -# kind: Secret |
7 | | -# metadata: |
8 | | -# name: my-oidc-client-secret |
9 | | -# namespace: <your-namespace> # Replace with the namespace where Trieve is deployed |
10 | | -# type: Opaque |
11 | | -# data: |
12 | | -# oidcClientSecretKey: "<your-base64-encoded-oidc-client-secret>" # echo -n "yourActualClientSecret" | base64 |
13 | | - |
14 | | -# Example for SMTP Password |
15 | | -# apiVersion: v1 |
16 | | -# kind: Secret |
17 | | -# metadata: |
18 | | -# name: my-smtp-credentials |
19 | | -# namespace: <your-namespace> |
20 | | -# type: Opaque |
21 | | -# data: |
22 | | -# smtpPasswordKey: "<your-base64-encoded-smtp-password>" |
23 | | - |
24 | | -# Example for Main LLM API Key (config.llm.apiKey) |
25 | | -# apiVersion: v1 |
26 | | -# kind: Secret |
27 | | -# metadata: |
28 | | -# name: my-main-llm-apikey |
29 | | -# namespace: <your-namespace> |
30 | | -# type: Opaque |
31 | | -# data: |
32 | | -# llmApiKey: "<your-base64-encoded-llm-api-key>" |
33 | | - |
34 | | -# Example for OpenAI API Key (config.openai.apiKey) |
35 | | -# apiVersion: v1 |
36 | | -# kind: Secret |
37 | | -# metadata: |
38 | | -# name: my-openai-apikey |
39 | | -# namespace: <your-namespace> |
40 | | -# type: Opaque |
41 | | -# data: |
42 | | -# openaiApiKey: "<your-base64-encoded-openai-api-key>" |
43 | | - |
44 | | -# Example for S3 Access Key |
45 | | -# apiVersion: v1 |
46 | | -# kind: Secret |
47 | | -# metadata: |
48 | | -# name: my-s3-access-key |
49 | | -# namespace: <your-namespace> |
50 | | -# type: Opaque |
51 | | -# data: |
52 | | -# s3AccessKey: "<your-base64-encoded-s3-access-key>" |
53 | | - |
54 | | -# Example for S3 Secret Key |
55 | | -# apiVersion: v1 |
56 | | -# kind: Secret |
57 | | -# metadata: |
58 | | -# name: my-s3-secret-key |
59 | | -# namespace: <your-namespace> |
60 | | -# type: Opaque |
61 | | -# data: |
62 | | -# s3SecretKey: "<your-base64-encoded-s3-secret-key>" |
63 | | - |
64 | | -# Example for PDF2MD Service API Key (pdf2md.config.pdf2md.apiKey) |
65 | | -# apiVersion: v1 |
66 | | -# kind: Secret |
67 | | -# metadata: |
68 | | -# name: my-pdf2md-apikey |
69 | | -# namespace: <your-namespace> |
70 | | -# type: Opaque |
71 | | -# data: |
72 | | -# pdf2mdApiKey: "<your-base64-encoded-pdf2md-api-key>" |
73 | | - |
74 | | -# Example for Trieve Admin API Key (config.trieve.adminApiKey) |
75 | | -# apiVersion: v1 |
76 | | -# kind: Secret |
77 | | -# metadata: |
78 | | -# name: my-trieve-admin-apikey |
79 | | -# namespace: <your-namespace> |
80 | | -# type: Opaque |
81 | | -# data: |
82 | | -# adminApiKey: "<your-base64-encoded-trieve-admin-api-key>" |
83 | | - |
84 | | -# --- Instructions --- |
85 | | -# 1. Replace <your-namespace> with the actual namespace. |
86 | | -# 2. Replace <your-base64-encoded-value> with the base64 encoded version of your secret. |
87 | | -# You can generate this using: echo -n "yourActualSecretValue" | base64 |
88 | | -# 3. Uncomment the sections you need and save this file (or a similar one) with your actual secrets. |
89 | | -# 4. Apply this secret manifest to your Kubernetes cluster: kubectl apply -f your_secrets_file.yaml |
90 | | -# 5. Update your Trieve Helm chart's values.yaml to reference these secrets, for example: |
91 | | -# config: |
92 | | -# oidc: |
93 | | -# clientSecretRef: |
94 | | -# enabled: true |
95 | | -# secretName: "my-oidc-client-secret" |
96 | | -# secretKey: "oidcClientSecretKey" |
97 | | -# llm: |
98 | | -# apiKeyRef: |
99 | | -# enabled: true |
100 | | -# secretName: "my-main-llm-apikey" |
101 | | -# secretKey: "llmApiKey" |
102 | | -# # ... and so on for other secrets |
| 1 | +apiVersion: v1 |
| 2 | +kind: Secret |
| 3 | +metadata: |
| 4 | + name: trieve-unified-secret |
| 5 | + namespace: trieve # Ensure this is the correct namespace |
| 6 | +stringData: |
| 7 | + # LLM API Keys |
| 8 | + # openrouter.ai api key (optional) |
| 9 | + llmApiKey: |
| 10 | + # OpenAI api key |
| 11 | + openaiApiKey: |
| 12 | + |
| 13 | + # S3 Credentials (ensure you also update s3.endpoint, s3.region, s3.bucket in values.yaml) |
| 14 | + s3AccessKey: |
| 15 | + s3SecretKey: |
| 16 | + |
| 17 | + # Other API Keys |
| 18 | + adminApiKey: |
| 19 | + # jina code api key (optional for jina-code embedding model) |
| 20 | + jinaCodeApiKey: jina_************************************************************ |
| 21 | + |
| 22 | + # OIDC and Database |
| 23 | + oidcClientSecret: |
| 24 | + |
| 25 | + clickhousePassword: clickhouse |
| 26 | + |
| 27 | + # SMTP |
| 28 | + smtpPassword: "" |
| 29 | + |
| 30 | + redisPassword: "moreComplexPassword" |
| 31 | + redisUrl: "redis://:moreComplexPassword@trieve-local-redis-master:6379" |
| 32 | + |
| 33 | + pdf2mdInternalAuth: "pdf2mdPassword" |
0 commit comments