-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.yaml
More file actions
174 lines (165 loc) · 4.2 KB
/
deployment.yaml
File metadata and controls
174 lines (165 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# Example Agent VS — Helm chart values
#
# Uses hologram-generic-ai-agent-chart which bundles:
# - Chatbot (with agent pack, LLM, RAG, MCP)
# - VS Agent (DIDComm, wallet)
# - Redis (vector store, memory, queues)
# - PostgreSQL (session persistence)
#
# Deployment target: sandbox.hologram.zone
chartSource: oci://registry-1.docker.io/io2060/hologram-generic-ai-agent-chart
chartVersion: v1.13.0
global:
domain: sandbox.hologram.zone
nameOverride: 'example-agent-chart'
# Credential definition ID for user authentication (injected from config.env by workflow)
credentialDefinitionId: ''
# === Redis ===
redis:
enabled: true
port: 6379
image:
pullPolicy: Always
persistence:
enabled: true
mountPath: /data
accessModes:
- ReadWriteOnce
size: 1Gi
resources:
requests:
cpu: '100m'
memory: '128Mi'
limits:
cpu: '500m'
memory: '512Mi'
service:
type: ClusterIP
# === PostgreSQL ===
postgres:
enabled: true
port: 5432
image:
pullPolicy: Always
env:
- name: PGDATA
value: '/var/lib/postgresql/data/pgdata'
secret:
POSTGRES_PASSWORD: 'placeholder'
POSTGRES_USER: 'example_agent_db'
POSTGRES_DB: 'example-agent'
resources:
requests:
cpu: '100m'
memory: '128Mi'
limits:
cpu: '500m'
memory: '512Mi'
storage:
size: 2Gi
storageClassName: csi-cinder-high-speed
service:
type: ClusterIP
# === Chatbot ===
chatbot:
replicas: 1
image:
pullPolicy: Always
resources:
requests:
cpu: '200m'
memory: '256Mi'
limits:
cpu: '1000m'
memory: '512Mi'
env:
- name: APP_PORT
value: '3003'
- name: LOG_LEVEL
value: '3'
- name: LLM_PROVIDER
value: 'openai'
- name: OPENAI_MODEL
value: 'gpt-5.4-mini'
- name: VECTOR_STORE
value: 'redis'
- name: VECTOR_INDEX_NAME
value: 'example_agent'
- name: RAG_PROVIDER
value: 'langchain'
- name: RAG_DOCS_PATH
value: '/app/rag/docs'
- name: AGENT_MEMORY_BACKEND
value: 'redis'
- name: AGENT_MEMORY_WINDOW
value: '20'
- name: REDIS_URL
value: 'redis://example-agent-chart-redis.{{ .Release.Namespace }}:6379'
- name: VS_AGENT_ADMIN_URL
value: 'http://example-agent.{{ .Release.Namespace }}:3000'
- name: POSTGRES_HOST
value: 'example-agent-chart-postgres.{{ .Release.Namespace }}'
- name: CREDENTIAL_DEFINITION_ID
value: '{{ .Values.credentialDefinitionId | default "" }}'
- name: CONTEXT7_MCP_URL
value: 'https://mcp.context7.com/mcp'
agentPack:
enabled: true
name: example-agent
mountPath: /app/agent-packs/example-agent
fileName: agent-pack.yaml
existingConfigMap: 'example-agent-agent-pack'
secret:
POSTGRES_PASSWORD: 'placeholder'
POSTGRES_USER: 'example_agent_db'
POSTGRES_DB_NAME: 'example-agent'
service:
type: ClusterIP
port: 3003
storage:
size: 1Gi
storageClassName: csi-cinder-high-speed
ingress:
enabled: false
# === Stats (disabled) ===
stats:
enabled: false
# === Artemis (disabled) ===
artemis:
enabled: false
# === VS Agent ===
vs-agent-chart:
enabled: true
name: example-agent
didcommLabel: 'Hologram Example Agent'
didcommInvitationImageUrl: 'https://hologram.zone/images/ico-hologram.png'
eventsBaseUrl: http://example-agent-chart-chatbot:3003
ingress:
host: "example-agent.{{ .Values.global.domain }}"
tlsSecret: "example-agent.{{ .Values.global.domain }}-cert"
public:
enableCors: true
private:
whitelistSourceRange: ""
host: ""
extraEnv:
- name: AGENT_WALLET_ID
value: "Hologram Example Agent"
- name: USE_CORS
value: "true"
- name: REDIS_HOST
value: "example-agent-chart-redis"
- name: AGENT_LOG_LEVEL
value: "3"
- name: SELF_ISSUED_VTC_ORG_TYPE
value: "PRIVATE"
- name: SELF_ISSUED_VTC_ORG_COUNTRYCODE
value: "EE"
- name: SELF_ISSUED_VTC_ORG_ADDRESS
value: "Tallinn, Estonia"
- name: SELF_ISSUED_VTC_SERVICE_TYPE
value: "AI Agent"
- name: SELF_ISSUED_VTC_SERVICE_DESCRIPTION
value: "Example Hologram AI agent with Context7 MCP"
- name: SELF_ISSUED_VTC_SERVICE_MINIMUMAGEREQUIRED
value: "1"