feat: add kubernetes service and ingress for wordpress deployment
Co-authored-by: aider (openai/qwen2.5-coder:32b) <aider@aider.chat>
This commit is contained in:
@@ -20,4 +20,19 @@ spec:
|
||||
# You'll need to ensure cert-manager is configured to issue certificates for virtualinsanity.giaco.net
|
||||
# and that it creates a secret named 'virtualinsanity-tls-secret'.
|
||||
secretName: virtualinsanity-tls-secret
|
||||
# certResolver: myresolver # Uncomment and configure if using cert-manager with a specific resolver
|
||||
# certResolver: myresolver # Uncomment and configure if using cert-manager with a specific resolverapiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: virtualinsanity-ingress
|
||||
namespace: wordpress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
spec:
|
||||
rules:
|
||||
- host: virtualinsanity.giaco.net
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: virtualinsanity-wordpress
|
||||
servicePort: 80
|
||||
|
||||
Reference in New Issue
Block a user