Some checks failed
Deploy Hugo Blog to k3s / build-and-deploy (push) Failing after 4m5s
- Enable Gitea Container Registry - Dockerfile: nginx:alpine serving hugo public/ - Gitea Actions: build & push image + deploy to k3s - k8s manifests: namespace hugo, deployment, service, ingress - RBAC: allow runner to update deployments in hugo ns - .gitignore: add public/ (CI builds it)
17 lines
233 B
YAML
17 lines
233 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: hugo-blog
|
|
namespace: hugo
|
|
labels:
|
|
app: hugo-blog
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
app: hugo-blog
|