Ingress nginx (#5066)
* remove svc-default-backend * update ingress-nginx clusterrolepull/5081/head
parent
771ce96e6d
commit
53bc80bb59
|
@ -14,7 +14,6 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
ingress_nginx_templates:
|
ingress_nginx_templates:
|
||||||
- { name: 00-namespace, file: 00-namespace.yml, type: ns }
|
- { name: 00-namespace, file: 00-namespace.yml, type: ns }
|
||||||
- { name: svc-default-backend, file: svc-default-backend.yml, type: svc }
|
|
||||||
- { name: cm-ingress-nginx, file: cm-ingress-nginx.yml, type: cm }
|
- { name: cm-ingress-nginx, file: cm-ingress-nginx.yml, type: cm }
|
||||||
- { name: cm-tcp-services, file: cm-tcp-services.yml, type: cm }
|
- { name: cm-tcp-services, file: cm-tcp-services.yml, type: cm }
|
||||||
- { name: cm-udp-services, file: cm-udp-services.yml, type: cm }
|
- { name: cm-udp-services, file: cm-udp-services.yml, type: cm }
|
||||||
|
|
|
@ -16,12 +16,12 @@ rules:
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["services"]
|
resources: ["services"]
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
- apiGroups: ["extensions"]
|
- apiGroups: ["extensions","networking.k8s.io"]
|
||||||
resources: ["ingresses"]
|
resources: ["ingresses"]
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["events"]
|
resources: ["events"]
|
||||||
verbs: ["create", "patch"]
|
verbs: ["create", "patch"]
|
||||||
- apiGroups: ["extensions"]
|
- apiGroups: ["extensions","networking.k8s.io"]
|
||||||
resources: ["ingresses/status"]
|
resources: ["ingresses/status"]
|
||||||
verbs: ["update"]
|
verbs: ["update"]
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: default-backend
|
|
||||||
namespace: {{ ingress_nginx_namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: default-backend
|
|
||||||
app.kubernetes.io/part-of: ingress-nginx
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
targetPort: 8080
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: default-backend
|
|
||||||
app.kubernetes.io/part-of: ingress-nginx
|
|
Loading…
Reference in New Issue