Add Google Cloud K3s infrastructure support
- Add Terraform configuration for GCP instance and storage - Add startup script for K3s installation and configuration - Add pipeline scripts for deployment and management - Add Forgejo deployment manifests and configuration
This commit is contained in:
parent
7384722305
commit
2ab7872af1
30 changed files with 1024 additions and 324 deletions
24
gcloud/tf/k3s/forgejo/ingress.yaml.template
Normal file
24
gcloud/tf/k3s/forgejo/ingress.yaml.template
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: tls-forgejo-ingress-http
|
||||
namespace: forgejo
|
||||
annotations:
|
||||
cert-manager.io/issuer: "le-cluster-issuer-http"
|
||||
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- ${APP_DOMAIN_NAME}
|
||||
secretName: tls-frg-ingress-http
|
||||
rules:
|
||||
- host: ${APP_DOMAIN_NAME}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: forgejo-app-service
|
||||
port:
|
||||
name: web
|
||||
Loading…
Add table
Add a link
Reference in a new issue