Fix deployments until next release (#3142)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-09-26 10:15:57 -03:00 committed by GitHub
parent c3ce6b892e
commit f56e839134
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 244 additions and 139 deletions

View file

@ -1,5 +1,3 @@
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@ -20,8 +18,8 @@ spec:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
annotations:
prometheus.io/port: '10254'
prometheus.io/scrape: 'true'
prometheus.io/port: "10254"
prometheus.io/scrape: "true"
spec:
serviceAccountName: nginx-ingress-serviceaccount
containers:
@ -37,9 +35,9 @@ spec:
- --annotations-prefix=nginx.ingress.kubernetes.io
securityContext:
capabilities:
drop:
drop:
- ALL
add:
add:
- NET_BIND_SERVICE
# www-data -> 33
runAsUser: 33
@ -53,10 +51,10 @@ spec:
fieldRef:
fieldPath: metadata.namespace
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
- name: http
containerPort: 80
- name: https
containerPort: 443
livenessProbe:
failureThreshold: 3
httpGet:
@ -76,3 +74,6 @@ spec:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
---