Skip to content

Commit 5bdf9ac

Browse files
committed
update kustomization
1 parent f1ab22b commit 5bdf9ac

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

kustomize/base/configmap-mcp.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: bugzooka-mcp-config
5+
namespace: ${BUGZOOKA_NAMESPACE}
6+
labels:
7+
app: ${BUGZOOKA_NAMESPACE}
8+
data:
9+
mcp_config.json: |
10+
{
11+
"mcp_servers": {
12+
"jira_mcp_server": {
13+
"command": "python3",
14+
"args": [
15+
"-m",
16+
"bugzooka.integrations.jira_client"
17+
],
18+
"env": {
19+
"PYTHONPATH": "/app-packages",
20+
"JIRA_BASE_URL": "${JIRA_BASE_URL}",
21+
"JIRA_TOKEN": "${JIRA_TOKEN}",
22+
"JIRA_ALLOWED_PROJECTS": "${JIRA_ALLOWED_PROJECTS}"
23+
},
24+
"transport": "stdio"
25+
}
26+
}
27+
}

kustomize/base/deploymentconfig.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ spec:
5151
- name: prompts
5252
mountPath: /app/prompts.json
5353
subPath: prompts.json
54+
- name: mcp-config
55+
mountPath: /app/mcp_config.json
56+
subPath: mcp_config.json
5457
resources:
5558
requests:
5659
cpu: "1"
@@ -65,3 +68,9 @@ spec:
6568
items:
6669
- key: prompts.json
6770
path: prompts.json
71+
- name: mcp-config
72+
configMap:
73+
name: bugzooka-mcp-config
74+
items:
75+
- key: mcp_config.json
76+
path: mcp_config.json

kustomize/base/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ namespace: ${BUGZOOKA_NAMESPACE}
66
resources:
77
- namespace.yaml
88
- secret-quay.yaml
9+
- secret-jira.yaml
910
- serviceaccount-patch.yaml
1011
- imagestream.yaml
1112
- configmap-prompts.yaml
13+
- configmap-mcp.yaml
1214
- deploymentconfig.yaml
1315

1416
generatorOptions:

kustomize/base/secret-jira.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ kind: Secret
33
metadata:
44
name: bugzooka-jira
55
namespace: ${BUGZOOKA_NAMESPACE}
6+
annotations:
7+
kubernetes.io/service-account.name: default
68
type: Opaque
79
stringData:
810
JIRA_BASE_URL: "${JIRA_BASE_URL}"

0 commit comments

Comments
 (0)