Skip to content

Commit 28730e0

Browse files
committed
helm understackdb docs - reword
1 parent b330c04 commit 28730e0

File tree

2 files changed

+23
-33
lines changed

2 files changed

+23
-33
lines changed

helm-charts/understackdb/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@ Helm chart to deploy MariaDB Database instances for Understack
2626
| databases[0].instanceName | string | `"mariadb"` | name of the `MariaDB` cluster identifier (`.spec.metadata.name` on MariaDB resource) |
2727
| databases[0].name | required | `"glance"` | database name |
2828
| databases[0].namespace | string | openstack | namespace that `Database` record will be created in |
29-
| databases[0].retryInterval | string | `"5s"` | RetryInterval is the interval used to perform retries. |
29+
| databases[0].retryInterval | string | `"5s"` | the interval used to perform retries. |
3030
| grants | list | grants for all Understack components (horizon, ironic, nova, neutron, keystone) | list of databases to create |
3131
| grants[0].grantOption | bool | `true` | use grant option for this grant |
3232
| grants[0].name | required | `"glance"` | partial grant name, the `-grant` suffix will be added. |
33-
| grants[0].namespace | string | openstack | namespace that `Grant` record will be created in |
33+
| grants[0].namespace | string | `"openstack"` | namespace that `Grant` record will be created in |
3434
| grants[0].privileges | list | `["ALL"]` | list of privileges that grant allows |
35-
| grants[0].retryInterval | string | `"5s"` | RetryInterval is the interval used to perform retries. |
35+
| grants[0].retryInterval | string | `"5s"` | interval used to perform retries. |
3636
| grants[0].table | string | `"*"` | list of tables that grant is for |
3737
| image | string | `"mariadb:11.0.3"` | |
3838
| imagePullPolicy | string | `"IfNotPresent"` | |
39-
| instanceName | string | `"mariadb"` | instanceName is the name of the database instance |
40-
| instanceNamespace | string | `"openstack"` | instanceNamespace is the namespace where the MariaDB will be created |
41-
| rootPasswordSecretKeyRef | object | name: mariadb, key: root-password, generate: false | rootPasswordSecretKeyRef is a reference to a Secret containing the root password |
42-
| rootPasswordSecretKeyRef.generate | bool | false | generate determines whether a password should be generated if it's missing |
43-
| rootPasswordSecretKeyRef.key | string | root-password | key is the key in the Secret containing the root password |
44-
| rootPasswordSecretKeyRef.name | string | mariadb | name is the name of the Secret |
45-
| storage.resizeInUseVolumes | bool | true | resizeInUseVolumes indicates whether the PVCs can be resized. |
46-
| storage.size | string | 10Gi | size is the size of the Persistent Volume Claim |
39+
| instanceName | string | `"mariadb"` | name of the database instance |
40+
| instanceNamespace | string | `"openstack"` | the namespace where the MariaDB will be created |
41+
| rootPasswordSecretKeyRef | object | `{"generate":false,"key":"root-password","name":"mariadb"}` | reference to a Secret containing the root password |
42+
| rootPasswordSecretKeyRef.generate | bool | `false` | generate determines whether a password should be generated if it's missing |
43+
| rootPasswordSecretKeyRef.key | string | `"root-password"` | the key in the Secret containing the root password |
44+
| rootPasswordSecretKeyRef.name | string | `"mariadb"` | the name of the Secret |
45+
| storage.resizeInUseVolumes | bool | `true` | resizeInUseVolumes indicates whether the PVCs can be resized. |
46+
| storage.size | string | `"10Gi"` | the size of the Persistent Volume Claim |
4747
| storage.storageClassName | string | `nil` | StorageClassName to be used to provision the PVCS. It supersedes the 'StorageClassName' specified in 'VolumeClaimTemplate'. |
4848
| storage.waitForVolumeResize | bool | `true` | |
4949
| users | list | users for all Understack components (horizon, ironic, nova, neutron, keystone) | list of database users |

helm-charts/understackdb/values.yaml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
# Default values for understackdb.
2-
# -- instanceName is the name of the database instance
2+
# -- name of the database instance
33
instanceName: mariadb
4-
# -- instanceNamespace is the namespace where the MariaDB will be created
4+
# -- the namespace where the MariaDB will be created
55
instanceNamespace: openstack
6-
# -- rootPasswordSecretKeyRef is a reference to a Secret containing the root password
7-
# @default -- name: mariadb, key: root-password, generate: false
6+
# -- reference to a Secret containing the root password
87
rootPasswordSecretKeyRef:
9-
# -- name is the name of the Secret
10-
# @default -- mariadb
8+
# -- the name of the Secret
119
name: mariadb
12-
# -- key is the key in the Secret containing the root password
13-
# @default -- root-password
10+
# -- the key in the Secret containing the root password
1411
key: root-password
1512
# -- generate determines whether a password should be generated if it's missing
16-
# @default -- false
1713
generate: false
1814

1915
storage:
20-
# -- size is the size of the Persistent Volume Claim
21-
# @default -- 10Gi
16+
# -- the size of the Persistent Volume Claim
2217
size: 10Gi
2318
# -- resizeInUseVolumes indicates whether the PVCs can be resized.
24-
# @default -- true
2519
resizeInUseVolumes: true
2620
waitForVolumeResize: true
2721
# -- StorageClassName to be used to provision the PVCS. It supersedes the
@@ -46,7 +40,7 @@ image: mariadb:11.0.3
4640
imagePullPolicy: IfNotPresent
4741

4842
#
49-
# -- myCnf is the configuration of my.cnf
43+
# -- stringified contents of my.cnf
5044
# @ignored
5145
myCnf: |
5246
[mariadb]
@@ -56,18 +50,15 @@ myCnf: |
5650
innodb_autoinc_lock_mode=2
5751
max_allowed_packet=256M
5852
59-
# -- metrics is the configuration for the prometheus exporter
53+
# -- the configuration for the prometheus exporter
6054
# @ignored
6155
metrics:
6256
# -- enabled determines whether the metrics exporter is enabled
63-
# @default -- true
6457
enabled: true
6558
exporter:
66-
# -- image is the Docker image for the metrics exporter
67-
# @default -- prom/mysqld-exporter:v0.15.1
59+
# -- container image for the metrics exporter
6860
image: prom/mysqld-exporter:v0.15.1
69-
# -- port is the port for the metrics exporter
70-
# @default -- 9104
61+
# -- port for the metrics exporter
7162
port: 9104
7263
passwordSecretKeyRef:
7364
key: password
@@ -111,7 +102,7 @@ databases:
111102
characterSet: utf8
112103
# -- database's collation
113104
collate: utf8_general_ci
114-
# -- RetryInterval is the interval used to perform retries.
105+
# -- the interval used to perform retries.
115106
retryInterval: 5s
116107
extraConfig: {} # use to specify any additional params
117108
- name: horizon
@@ -137,15 +128,14 @@ grants:
137128
# grants[0].name -- (required) partial grant name, the `-grant` suffix will be added.
138129
- name: glance
139130
# -- namespace that `Grant` record will be created in
140-
# @default -- openstack
141131
namespace: openstack
142132
# -- list of tables that grant is for
143133
table: "*"
144134
# -- list of privileges that grant allows
145135
privileges: [ALL]
146136
# -- use grant option for this grant
147137
grantOption: true
148-
# -- RetryInterval is the interval used to perform retries.
138+
# -- interval used to perform retries.
149139
retryInterval: 5s
150140
- name: horizon
151141
- name: ironic

0 commit comments

Comments
 (0)