- Added AccessControl to ComboHandler for role-based access management. - Implemented gas estimation for plan execution and improved gas limit checks. - Updated execution and preparation methods to enforce step count limits and role restrictions. - Enhanced error handling in orchestrator API endpoints with AppError for better validation feedback. - Integrated request timeout middleware for improved request management. - Updated Swagger documentation to reflect new API structure and parameters.
65 lines
1.0 KiB
YAML
65 lines
1.0 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: orchestrator-service
|
|
spec:
|
|
selector:
|
|
app: orchestrator
|
|
version: blue
|
|
ports:
|
|
- port: 8080
|
|
targetPort: 8080
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: orchestrator-blue
|
|
labels:
|
|
app: orchestrator
|
|
version: blue
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: orchestrator
|
|
version: blue
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: orchestrator
|
|
version: blue
|
|
spec:
|
|
containers:
|
|
- name: orchestrator
|
|
image: orchestrator:v1.0.0
|
|
ports:
|
|
- containerPort: 8080
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: orchestrator-green
|
|
labels:
|
|
app: orchestrator
|
|
version: green
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: orchestrator
|
|
version: green
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: orchestrator
|
|
version: green
|
|
spec:
|
|
containers:
|
|
- name: orchestrator
|
|
image: orchestrator:v1.1.0
|
|
ports:
|
|
- containerPort: 8080
|
|
|