1
0
Fork 0

Small adjsuts on k8s.yaml

This commit is contained in:
Joao Gilberto Magalhaes 2022-08-23 01:24:23 +00:00
parent bbf3dca6fd
commit d2085046f4

View file

@ -19,9 +19,9 @@ spec:
labels: labels:
app: easyhaproxy-ingress app: easyhaproxy-ingress
spec: spec:
serviceAccountName: easyhaproxy-ingress #serviceAccountName: easyhaproxy-ingress
containers: containers:
- image: byjg/easy-haproxy:kubernetes - image: byjg/easy-haproxy:test
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: easyhaproxy-ingress name: easyhaproxy-ingress
ports: ports:
@ -41,14 +41,14 @@ spec:
#limits: #limits:
# cpu: "1" # cpu: "1"
# memory: "1Gi" # memory: "1Gi"
securityContext: #securityContext:
allowPrivilegeEscalation: true # allowPrivilegeEscalation: true
#runAsUser: 101 #nginx # #runAsUser: 101 #nginx
capabilities: # capabilities:
drop: # drop:
- ALL # - ALL
add: # add:
- NET_BIND_SERVICE # - NET_BIND_SERVICE
env: env:
- name: EASYHAPROXY_DISCOVER - name: EASYHAPROXY_DISCOVER
value: kubernetes value: kubernetes
@ -57,5 +57,5 @@ spec:
- name: HAPROXY_PASSWORD - name: HAPROXY_PASSWORD
value: password value: password
- name: EASYHAPROXY_REFRESH_CONF - name: EASYHAPROXY_REFRESH_CONF
value: 10 value: "10"