File tree Expand file tree Collapse file tree 14 files changed +190
-20
lines changed Expand file tree Collapse file tree 14 files changed +190
-20
lines changed Original file line number Diff line number Diff line change 17
17
JIRA_PERSONAL_TOKEN
18
18
JIRA_URL
19
19
```
20
+
21
+ ` mcp-server-keytab ` :
22
+ ```
23
+ oc create secret generic mcp-server-keytab --from-file=jotnar-bot.keytab
24
+ ```
20
25
21
26
Values of these secrets are documented in [ README] ( https://github.com/packit/jotnar?tab=readme-ov-file#service-accounts--authentication ) .
22
27
Original file line number Diff line number Diff line change 4
4
MAX_RETRIES : " 3"
5
5
MCP_JIRA_URL : http://mcp-atlassian:9000/sse
6
6
REDIS_URL : redis://valkey:6379/0
7
+ MCP_GATEWAY_URL : http://mcp-gateway:8000/sse
8
+ GIT_REPO_BASEPATH : /git-repos
7
9
immutable : false
8
10
kind : ConfigMap
9
11
metadata :
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ data :
3
+ SSE_PORT : " 8000"
4
+ KEYTAB_FILE : " /home/mcp/mcp-server-keytab/jotnar-bot.keytab"
5
+ KRB5CCNAME : " FILE:/tmp/krb5cc"
6
+ immutable : false
7
+ kind : ConfigMap
8
+ metadata :
9
+ name : mcp-gateway
Original file line number Diff line number Diff line change @@ -46,11 +46,17 @@ spec:
46
46
configMapKeyRef :
47
47
key : MAX_RETRIES
48
48
name : x-beeai-agent-configmap
49
- - name : GITLAB_TOKEN
49
+ - name : MCP_GATEWAY_URL
50
50
valueFrom :
51
- secretKeyRef :
52
- key : GITLAB_TOKEN
53
- name : beeai-agent-secrets
51
+ configMapKeyRef :
52
+ key : MCP_GATEWAY_URL
53
+ name : x-beeai-agent-configmap
54
+ - name : GIT_REPO_BASEPATH
55
+ valueFrom :
56
+ configMapKeyRef :
57
+ key : GIT_REPO_BASEPATH
58
+ name : x-beeai-agent-configmap
59
+
54
60
- name : GITLAB_USER
55
61
valueFrom :
56
62
secretKeyRef :
66
72
secretKeyRef :
67
73
key : GEMINI_API_KEY
68
74
name : beeai-agent-secrets
75
+
69
76
- name : DRY_RUN
70
77
value : " true"
71
- image : ' image-registry.openshift-image-registry.svc:5000/jotnar-prod/ beeai-agent@sha256:649cc82f9529d48c6f4f61654d87fee6e18155944054acfa074928e5e73844a8 '
78
+ image : ' beeai-agent:prod '
72
79
imagePullPolicy : Always
73
80
name : backport-agent
74
81
ports :
78
85
resources : {}
79
86
terminationMessagePath : /dev/termination-log
80
87
terminationMessagePolicy : File
88
+ volumeMounts :
89
+ - mountPath : /git-repos
90
+ name : mcp-server-git-repos
81
91
dnsPolicy : ClusterFirst
82
92
restartPolicy : Always
83
93
schedulerName : default-scheduler
84
94
securityContext : {}
85
95
# TODO: this should be reset when we have enough data.
86
96
terminationGracePeriodSeconds : 30
97
+ volumes :
98
+ - name : mcp-server-git-repos
99
+ persistentVolumeClaim :
100
+ claimName : mcp-server-git-repos
Original file line number Diff line number Diff line change 38
38
secretKeyRef :
39
39
key : JIRA_URL
40
40
name : mcp-atlassian-secret
41
- image : image-registry.openshift-image-registry.svc:5000/jotnar-prod/ mcp-atlassian@sha256:0a33e7a171cf54297dceb3b2cd473133b172978d5dbde9b68bf088d201696b3c
41
+ image : mcp-atlassian:prod
42
42
imagePullPolicy : Always
43
43
name : mcp-atlassian
44
44
ports :
Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : mcp-gateway
5
+ spec :
6
+ progressDeadlineSeconds : 600
7
+ replicas : 1
8
+ revisionHistoryLimit : 10
9
+ selector :
10
+ matchLabels :
11
+ app : mcp-gateway
12
+ strategy :
13
+ rollingUpdate :
14
+ maxSurge : 25%
15
+ maxUnavailable : 25%
16
+ type : RollingUpdate
17
+ template :
18
+ metadata :
19
+ labels :
20
+ app : mcp-gateway
21
+ deployment : mcp-gateway
22
+ spec :
23
+ containers :
24
+ - args :
25
+ - mcp_server/gateway.py
26
+ command :
27
+ - /usr/bin/python
28
+ env :
29
+ - name : SSE_PORT
30
+ valueFrom :
31
+ configMapKeyRef :
32
+ key : SSE_PORT
33
+ name : mcp-gateway
34
+
35
+ - name : GITLAB_TOKEN
36
+ valueFrom :
37
+ secretKeyRef :
38
+ key : GITLAB_TOKEN
39
+ name : beeai-agent-secrets
40
+
41
+ - name : JIRA_TOKEN
42
+ valueFrom :
43
+ secretKeyRef :
44
+ key : JIRA_PERSONAL_TOKEN
45
+ name : mcp-atlassian-secret
46
+ - name : JIRA_URL
47
+ valueFrom :
48
+ secretKeyRef :
49
+ key : JIRA_URL
50
+ name : mcp-atlassian-secret
51
+
52
+ image : mcp-server:prod
53
+ imagePullPolicy : Always
54
+ name : mcp-gateway
55
+ ports :
56
+ - containerPort : 8000
57
+ protocol : TCP
58
+ # TODO: add limits on cpu and memory.
59
+ resources : {}
60
+ terminationMessagePath : /dev/termination-log
61
+ terminationMessagePolicy : File
62
+ volumeMounts :
63
+ - mountPath : /git-repos
64
+ name : mcp-server-git-repos
65
+ - mountPath : /home/mcp/mcp-server-keytab
66
+ name : mcp-server-keytab
67
+ dnsPolicy : ClusterFirst
68
+ restartPolicy : Always
69
+ schedulerName : default-scheduler
70
+ securityContext : {}
71
+ terminationGracePeriodSeconds : 30
72
+ volumes :
73
+ - name : mcp-server-git-repos
74
+ persistentVolumeClaim :
75
+ claimName : mcp-server-git-repos
76
+ - name : mcp-server-keytab
77
+ secret :
78
+ secretName : mcp-server-keytab
Original file line number Diff line number Diff line change 26
26
value : /mnt/data
27
27
- name : PHOENIX_PORT
28
28
value : " 6006"
29
- image : image-registry.openshift-image-registry.svc:5000/jotnar-prod/ phoenix@sha256:6b2cbca1e7b2516b174d3fe844a4462236e4cf6b1b747b941f92a57db29b4390
29
+ image : phoenix:prod
30
30
imagePullPolicy : IfNotPresent
31
31
name : phoenix
32
32
ports :
Original file line number Diff line number Diff line change @@ -56,19 +56,19 @@ spec:
56
56
secretKeyRef :
57
57
key : GEMINI_API_KEY
58
58
name : beeai-agent-secrets
59
- - name : GITLAB_TOKEN
60
- valueFrom :
61
- secretKeyRef :
62
- key : GITLAB_TOKEN
63
- name : beeai-agent-secrets
64
59
- name : GITLAB_USER
65
60
valueFrom :
66
61
secretKeyRef :
67
62
key : GITLAB_USER
68
63
name : beeai-agent-secrets
69
64
- name : DRY_RUN
70
65
value : " true"
71
- image : ' image-registry.openshift-image-registry.svc:5000/jotnar-prod/beeai-agent@sha256:649cc82f9529d48c6f4f61654d87fee6e18155944054acfa074928e5e73844a8'
66
+ - name : MCP_GATEWAY_URL
67
+ valueFrom :
68
+ configMapKeyRef :
69
+ key : MCP_GATEWAY_URL
70
+ name : x-beeai-agent-configmap
71
+ image : ' beeai-agent:prod'
72
72
imagePullPolicy : Always
73
73
name : rebase-agent
74
74
ports :
78
78
resources : {}
79
79
terminationMessagePath : /dev/termination-log
80
80
terminationMessagePolicy : File
81
+ volumeMounts :
82
+ - mountPath : /git-repos
83
+ name : mcp-server-git-repos
81
84
dnsPolicy : ClusterFirst
82
85
restartPolicy : Always
83
86
schedulerName : default-scheduler
84
87
securityContext : {}
85
88
# TODO: this should be reset when we have enough data.
86
89
terminationGracePeriodSeconds : 30
90
+ volumes :
91
+ - name : mcp-server-git-repos
92
+ persistentVolumeClaim :
93
+ claimName : mcp-server-git-repos
Original file line number Diff line number Diff line change 24
24
- env :
25
25
- name : REDIS_HOSTS
26
26
value : local:valkey:6379
27
- image : image-registry.openshift-image-registry.svc:5000/jotnar-prod/ redis-commander@sha256:d33e338d4d441a75b7bdc23fc148c9353233707ccd0234176e51f1b2fbb97ceb
27
+ image : redis-commander:prod
28
28
imagePullPolicy : IfNotPresent
29
29
name : redis-commander
30
30
ports :
Original file line number Diff line number Diff line change @@ -61,12 +61,12 @@ spec:
61
61
secretKeyRef :
62
62
key : GITLAB_USER
63
63
name : beeai-agent-secrets
64
- - name : GITLAB_TOKEN
64
+ - name : MCP_GATEWAY_URL
65
65
valueFrom :
66
- secretKeyRef :
67
- key : GITLAB_TOKEN
68
- name : beeai-agent-secrets
69
- image : ' image-registry.openshift-image-registry.svc:5000/jotnar-prod/ beeai-agent@sha256:649cc82f9529d48c6f4f61654d87fee6e18155944054acfa074928e5e73844a8 '
66
+ configMapKeyRef :
67
+ key : MCP_GATEWAY_URL
68
+ name : x- beeai-agent-configmap
69
+ image : ' beeai-agent:prod '
70
70
imagePullPolicy : Always
71
71
name : triage-agent
72
72
ports :
76
76
resources : {}
77
77
terminationMessagePath : /dev/termination-log
78
78
terminationMessagePolicy : File
79
+ volumeMounts :
80
+ - mountPath : /git-repos
81
+ name : mcp-server-git-repos
79
82
dnsPolicy : ClusterFirst
80
83
restartPolicy : Always
81
84
schedulerName : default-scheduler
82
85
securityContext : {}
83
86
# TODO: this should be reset when we have enough data.
84
87
terminationGracePeriodSeconds : 30
88
+ volumes :
89
+ - name : mcp-server-git-repos
90
+ persistentVolumeClaim :
91
+ claimName : mcp-server-git-repos
You can’t perform that action at this time.
0 commit comments