feat: add Gitea CI workflows and split deploy manifests
Some checks failed
Build and Push / build (push) Successful in 2m1s
Deploy to K8s / deploy (push) Failing after 7s

Add build and kubernetes-deploy Gitea Actions workflows, and split deploy/manifests.yaml into individual manifest files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-26 11:35:10 +01:00
parent a78e4421ef
commit 6ec6a3664f
8 changed files with 217 additions and 43 deletions

View File

@@ -0,0 +1,62 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: gateway-cert-operator
namespace: gateway-cert-operator-system
labels:
app.kubernetes.io/name: gateway-cert-operator
app.kubernetes.io/component: operator
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: gateway-cert-operator
template:
metadata:
labels:
app.kubernetes.io/name: gateway-cert-operator
app.kubernetes.io/component: operator
spec:
serviceAccountName: gateway-cert-operator
terminationGracePeriodSeconds: 10
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- name: manager
image: gateway-cert-operator:latest
args:
- --metrics-bind-address=:8080
- --health-probe-bind-address=:8081
ports:
- name: metrics
containerPort: 8080
protocol: TCP
- name: healthz
containerPort: 8081
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: healthz
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: /readyz
port: healthz
initialDelaySeconds: 5
periodSeconds: 10
resources:
limits:
cpu: 100m
memory: 64Mi
requests:
cpu: 50m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]