Only update service annotations if it contains named ports

This commit is contained in:
Manuel de Brito Fontes 2016-05-01 23:34:00 -03:00
parent 4d25306b52
commit 96a66aa6fa
2 changed files with 35 additions and 80 deletions

View file

@ -40,7 +40,7 @@ spec:
- containerPort: 80
hostPort: 80
- containerPort: 443
hostPort: 4430
hostPort: 443
args:
- /nginx-ingress-controller
- --default-backend-service=default/default-http-backend