forked from openshift/openshift-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yaml
103 lines (88 loc) · 2.3 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
# Kuryr conf directory
kuryr_config_dir: /etc/kuryr
# Kuryr username
kuryr_openstack_username: kuryr
# Kuryr domain name or id containing user
kuryr_openstack_user_domain_name: default
# Kuryr domain name or id containing project
kuryr_openstack_project_domain_name: default
# Kuryr OpenShift namespace
kuryr_namespace: openshift-infra
# Kuryr health check server port
kuryr_healthcheck_port: 8082
# Whether to run the cni plugin in debug mode
kuryr_cni_debug: "false"
# Default pod-in-VM link interface
kuryr_cni_link_interface: eth0
# The version of cni binaries
cni_version: v0.5.2
# Path to bin dir (where kuryr execs get installed)
bin_dir: /usr/bin
# Default controller and CNI images
openshift_openstack_kuryr_controller_image: kuryr/controller:latest
openshift_openstack_kuryr_cni_image: kuryr/cni:latest
# Enable kuryr ports pool by default
kuryr_openstack_pool_driver: nested
# Enable kuryr healthchecks probes by default
enable_kuryr_controller_probes: True
enable_kuryr_cni_probes: True
# Path to the cni binaries
cni_bin_dir: /opt/cni/bin
# URL for cni binaries
cni_bin_url_base: "https://github.com/containernetworking/cni/releases/download/"
cni_bin_url: "{{ cni_bin_url_base }}/{{ cni_version }}/cni-{{ cni_version }}.tgz"
cni_bin_checksum: "71f411080245aa14d0cc06f6824e8039607dd9e9"
# Kuryr ClusterRole definition
kuryr_clusterrole:
name: kuryrctl
state: present
rules:
- apiGroups:
- ""
attributeRestrictions: null
verbs:
- get
- list
- watch
resources:
- daemonsets
- deployments
- deploymentconfigs
- endpoints
- ingress
- nodes
- namespaces
- pods
- projects
- routes
- services
- apiGroups:
- ""
attributeRestrictions: null
verbs:
- update
- patch
resources:
- endpoints
- ingress
- pods
- namespaces
- nodes
- services
- services/status
- routes
- apiGroups:
- apiextensions.k8s.io/v1beta1
attributeRestrictions: null
verbs:
- "*"
resources:
- customresourcedefinitions
- apiGroups:
- openstack.org
attributeRestrictions: null
verbs:
- "*"
resources:
- kuryrnets