1
0
Fork 0
home-stack-kustomize/kustomize/bases/drone/drone-server-ingress.yaml

26 lines
550 B
YAML
Raw Normal View History

2021-08-26 16:42:21 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: drone
labels:
2021-08-26 16:42:32 +00:00
app.kubernetes.io/name: drone
2021-08-26 16:42:21 +00:00
annotations:
# nginx.ingress.kubernetes.io/rewrite-target: /
# cert-manager.io/cluster-issuer: letsencrypt
spec:
# tls:
# - hosts:
# - ${GITEA_EXTERNAL_HOST}
# secretName: letsencrypt-cert
rules:
- host: ${DRONE_EXTERNAL_HOST}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
2021-08-26 16:42:32 +00:00
name: drone-server
2021-08-26 16:42:21 +00:00
port:
name: http