|
@@ -79,14 +79,16 @@ kind: Ingress
|
|
metadata:
|
|
metadata:
|
|
name: $DRONE_REPO_NAME-ingress
|
|
name: $DRONE_REPO_NAME-ingress
|
|
namespace: $JNLP_ENV
|
|
namespace: $JNLP_ENV
|
|
- annotations:
|
|
|
|
- kubernetes.io/ingress.class: $JNLP_INGRESS
|
|
|
|
spec:
|
|
spec:
|
|
rules:
|
|
rules:
|
|
- host: $JNLP_ENV-$DRONE_REPO_NAME$JNLP_DOMAIN
|
|
- host: $JNLP_ENV-$DRONE_REPO_NAME$JNLP_DOMAIN
|
|
http:
|
|
http:
|
|
paths:
|
|
paths:
|
|
- path: /
|
|
- path: /
|
|
|
|
+ pathType: Prefix
|
|
backend:
|
|
backend:
|
|
- serviceName: $DRONE_REPO_NAME-svc
|
|
|
|
- servicePort: $JNLP_CONTAINER_PORT
|
|
|
|
|
|
+ service:
|
|
|
|
+ name: $DRONE_REPO_NAME-svc
|
|
|
|
+ port:
|
|
|
|
+ number: $JNLP_CONTAINER_PORT
|
|
|
|
+ ingressClassName: nginx
|