apiVersion: apps/v1 kind: Deployment metadata: name: ${RESOURCE_NAME} spec: replicas: ${REPLICAS} selector: matchLabels: app: ${RESOURCE_NAME} template: metadata: labels: app: ${RESOURCE_NAME} spec: imagePullSecrets: - name: forgejo-registry containers: - name: ${APP_NAME} image: ${IMAGE} ports: - containerPort: ${PORT} resources: requests: cpu: ${CPU_REQUEST} memory: ${MEMORY_REQUEST} limits: cpu: ${CPU_LIMIT} memory: ${MEMORY_LIMIT}