decomposer: fix validation failure for Migrate the kab_ingestion domain models, ports, GitHub SCM connector, and SharePoint CMS connector into the repository's app/ package.; Wire the migrated ingestion components into the agent application entry point, card, settings, triggers, governance, publication, and validation layers.; Populate every remaining placeholder file with working application, package, test, dependency, and Kubernetes content.; Verify the migrated agent and completed repository end to end.
Some checks failed
quality-gates / verify (push) Failing after 7s
Some checks failed
quality-gates / verify (push) Failing after 7s
This commit is contained in:
@@ -2,16 +2,67 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: content-ingestion-agent
|
||||
labels:
|
||||
app.kubernetes.io/name: content-ingestion-agent
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels: {app: content-ingestion-agent}
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: content-ingestion-agent
|
||||
template:
|
||||
metadata: {labels: {app: content-ingestion-agent}}
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: content-ingestion-agent
|
||||
spec:
|
||||
automountServiceAccountToken: false
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: agent
|
||||
image: content-ingestion-agent:latest
|
||||
ports: [{containerPort: 8080}]
|
||||
envFrom: [{configMapRef: {name: content-ingestion-agent}}]
|
||||
readinessProbe: {httpGet: {path: /health, port: 8080}}
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: content-ingestion-agent-config
|
||||
- secretRef:
|
||||
name: content-ingestion-agent-secrets
|
||||
env:
|
||||
- name: GITHUB_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: content-ingestion-agent-secrets
|
||||
key: github-token
|
||||
- name: SHAREPOINT_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: content-ingestion-agent-secrets
|
||||
key: sharepoint-client-secret
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 20
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
capabilities:
|
||||
drop: [ALL]
|
||||
|
||||
Reference in New Issue
Block a user