Skip to content

Commit

Permalink
Remove TCP/UDP ConfigMaps from Dev
Browse files Browse the repository at this point in the history
Removes unneeded ConfigMaps from the Development Environment which
are causing ingress-nginx pods to crash

Fixes kubernetes#3223
  • Loading branch information
Fernando Diaz committed Oct 12, 2018
1 parent 12955a4 commit 10d3d48
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 48 deletions.
24 changes: 0 additions & 24 deletions deploy/mandatory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,6 @@ metadata:

---

kind: ConfigMap
apiVersion: v1
metadata:
name: tcp-services
namespace: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx

---

kind: ConfigMap
apiVersion: v1
metadata:
name: udp-services
namespace: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx

---

apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down Expand Up @@ -215,8 +193,6 @@ spec:
args:
- /nginx-ingress-controller
- --configmap=$(POD_NAMESPACE)/nginx-configuration
- --tcp-services-configmap=$(POD_NAMESPACE)/tcp-services
- --udp-services-configmap=$(POD_NAMESPACE)/udp-services
- --publish-service=$(POD_NAMESPACE)/ingress-nginx
- --annotations-prefix=nginx.ingress.kubernetes.io
securityContext:
Expand Down
11 changes: 0 additions & 11 deletions deploy/tcp-services-configmap.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions deploy/udp-services-configmap.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions deploy/with-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ spec:
args:
- /nginx-ingress-controller
- --configmap=$(POD_NAMESPACE)/nginx-configuration
- --tcp-services-configmap=$(POD_NAMESPACE)/tcp-services
- --udp-services-configmap=$(POD_NAMESPACE)/udp-services
- --publish-service=$(POD_NAMESPACE)/ingress-nginx
- --annotations-prefix=nginx.ingress.kubernetes.io
securityContext:
Expand Down

0 comments on commit 10d3d48

Please sign in to comment.