01e335c7cada944cf9b3c69800baffa162e330ed
[integration.git] / deployment / noheat / cluster-rke / ansible / roles / deps / tasks / istio.yml
1 ---
2 - name: Add Istio Helm repository
3   kubernetes.core.helm_repository:
4     name: istio
5     repo_url: https://istio-release.storage.googleapis.com/charts
6
7 - name: Deploy Istio base chart
8   kubernetes.core.helm:
9     name: istio-base
10     chart_version: "{{ istio_version }}"
11     chart_ref: istio/base
12     release_namespace: istio-system
13     create_namespace: true
14
15 - name: Deploy Istio discovery chart
16   kubernetes.core.helm:
17     name: istiod
18     chart_version: "{{ istio_version }}"
19     chart_ref: istio/istiod
20     release_namespace: istio-system
21     wait: true
22
23 - name: Create Istio ingress gateway namespace
24   kubernetes.core.k8s:
25     state: present
26     definition:
27       apiVersion: v1
28       kind: Namespace
29       metadata:
30         name: istio-ingress
31         labels:
32           istio-injection: enabled
33
34 - name: Deploy Istio ingress gateway chart
35   kubernetes.core.helm:
36     name: istio-ingress
37     chart_version: "{{ istio_version }}"
38     chart_ref: istio/gateway
39     release_namespace: istio-ingress
40     wait: true