añadido gitea y medio argos
This commit is contained in:
34
argos/deployments/deploy-panel.yaml
Normal file
34
argos/deployments/deploy-panel.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: argos-panel
|
||||
namespace: argos-core
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: argos-panel } }
|
||||
template:
|
||||
metadata: { labels: { app: argos-panel } }
|
||||
spec:
|
||||
containers:
|
||||
- name: panel
|
||||
image: docker.io/library/python:3.13.7-slim-bookworm
|
||||
command: ["/bin/sh","-c"]
|
||||
args:
|
||||
- |
|
||||
set -e
|
||||
pip install fastapi uvicorn minio
|
||||
uvicorn app:app --host 0.0.0.0 --port 8000
|
||||
envFrom:
|
||||
- secretRef: { name: argos-panel-secret }
|
||||
volumeMounts:
|
||||
- { name: app, mountPath: /app }
|
||||
- { name: data, mountPath: /data }
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
volumes:
|
||||
- name: app
|
||||
configMap:
|
||||
name: argos-panel-config
|
||||
items: [ { key: app.py, path: app.py } ]
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
Reference in New Issue
Block a user