Skip to content

Commit ab196d7

Browse files
committed
Kubernetes: add selector to example ingress
In the sample ingress we need to be more specific about the ingress by specifying also the selector.
1 parent ac4d09c commit ab196d7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inventory/lab/group_vars/k8s_nodes.yml

+5
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ k8s_ingress_nginx_services:
7171
- name: port-2
7272
port: 443
7373
protocol: TCP
74+
selector:
75+
app.kubernetes.io/component: controller
76+
app.kubernetes.io/instance: ingress-nginx
77+
app.kubernetes.io/name: ingress-nginx
78+
7479

7580
k8s_cert_manager_enable: true
7681
k8s_cert_manager_issuers:

0 commit comments

Comments
 (0)