k8s deployment
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mcp-jira
|
||||
namespace: mcp
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mcp-jira
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: mcp-jira
|
||||
spec:
|
||||
containers:
|
||||
- name: mcp-jira
|
||||
image: ghcr.io/sooperset/mcp-atlassian:latest
|
||||
args: ["--transport", "streamable-http", "--port", "9000"]
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: mcp-jira-credentials
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: mcp
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: mcp-jira-credentials
|
||||
namespace: mcp
|
||||
type: Opaque
|
||||
stringData:
|
||||
JIRA_URL: "https://your-org.atlassian.net"
|
||||
JIRA_USERNAME: "your-email@example.com"
|
||||
JIRA_API_TOKEN: "your-api-token"
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mcp-jira
|
||||
namespace: mcp
|
||||
spec:
|
||||
selector:
|
||||
app: mcp-jira
|
||||
ports:
|
||||
- port: 9000
|
||||
targetPort: 9000
|
||||
Reference in New Issue
Block a user