This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfig.yaml
150 lines (146 loc) · 5.93 KB
/
config.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
options:
credentials:
description: |
The base64-encoded contents of a JSON file containing OpenStack credentials.
The credentials must contain the following keys: auth-url, region, username,
password, project-name, user-domain-name, and project-domain-name.
It could also contain a base64-encoded CA certificate in endpoint-tls-ca key value.
This can be used from bundles with 'include-base64://' (see
https://jujucharms.com/docs/stable/charms-bundles#setting-charm-configurations-options-in-a-bundle),
or from the command-line with 'juju config openstack-integrator credentials="$(base64 /path/to/file)"'.
It is strongly recommended that you use 'juju trust' instead, if available.
type: string
default: ""
auth-url:
description: |
The URL of the keystone API used to authenticate. On OpenStack control panels,
this can be found at Access and Security > API Access > Credentials.
type: string
default: ""
username:
description: Username of a valid user set in keystone.
type: string
default: ""
password:
description: Password of a valid user set in keystone.
type: string
default: ""
project-name:
description: Name of project where you want to create your resources.
type: string
default: ""
user-domain-name:
description: Name of the user domain where you want to create your resources.
type: string
default: ""
project-domain-name:
description: Name of the project domain where you want to create your resources.
type: string
default: ""
region:
description: Name of the region where you want to create your resources.
type: string
default: ""
endpoint-tls-ca:
description: |
A CA certificate that can be used to verify the target cloud API endpoints.
Use 'include-base64://' in a bundle to include a certificate. Otherwise,
pass a base64-encoded certificate (base64 of "-----BEGIN" to "-----END")
as a config option in a Juju CLI invocation.
type: string
default: ""
lb-enabled:
description: |
Whether or not to enable the LoadBalancer type of Services integration.
Enabled by default.
type: boolean
default: true
lb-subnet:
description: |
Override the subnet (name or ID) in which this charm will create load
balancers for other charms related on the loadbalancer endpoint. If not
set, the subnet over which the requesting application is related will be
used.
type: string
default: ""
lb-floating-network:
description: |
If set, this charm will assign a floating IP in this network (name or ID)
for load balancers created for other charms related on the loadbalancer
endpoint.
type: string
default: ""
lb-port:
description: |
Port to use for load balancers created by this charm for other charms
related on the loadbalancer endpoint.
type: int
default: 443
subnet-id:
description: |
If set, it will be passed to integrated workloads to indicate in what
subnet load balancers should be created. For example, this will determine
what subnet Kubernetes uses for LoadBalancer type services in the
cluster.
type: string
default: ""
floating-network-id:
description: |
If set, it will be passed to integrated workloads to indicate that
floating IPs should be created in the given network for load balancers
that those workloads manage. For example, this will determine whether and
where FIPs will be created by Kubernetes for LoadBalancer type services
in the cluster.
type: string
default: ""
lb-method:
description: |
Algorithm that will be used by load balancers, which must be one of:
ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP. This applies both to load
balancers managed by this charm for applications related via the
loadbalancer endpoint, as well as to load balancers managed by integrated
workloads, such as Kubernetes.
type: string
default: "ROUND_ROBIN"
manage-security-groups:
description: |
Whether or not each load balancer should have its own security group, or
if all load balancers should use the default security group for the
project. This applies both to load balancers managed by this charm for
applications related via the loadbalancer endpoint, as well as to load
balancers managed by integrated workloads, such as Kubernetes.
type: boolean
default: false
bs-version:
description: |
Used to override automatic version detection for block storage usage.
Valid values are v1, v2, v3 and auto. When auto is specified automatic
detection will select the highest supported version exposed by the
underlying OpenStack cloud. If not set, will use the upstream default.
type: string
default: null
trust-device-path:
description: |
In most scenarios the block device names provided by Cinder (e.g.
/dev/vda) can not be trusted. This boolean toggles this behavior. Setting
it to true results in trusting the block device names provided by Cinder.
The value of false results in the discovery of the device path
based on its serial number and /dev/disk/by-id mapping and is the
recommended approach. If not set, will use the upstream default.
type: boolean
default: null
ignore-volume-az:
description: |
Used to influence availability zone use when attaching Cinder volumes.
When Nova and Cinder have different availability zones, this should be
set to true. This is most commonly the case where there are many Nova
availability zones but only one Cinder availability zone. If not set,
will use the upstream default.
type: boolean
default: null
internal-lb:
description: |
Determines whether or not to create an internal load balancer
(no floating IP) by default.
type: boolean
default: false