Skip to content

Commit 7250ff5

Browse files
authored
Fix typos (#167)
* fix typo Valitating * fix typo User -> UserName in Database example
1 parent db5fdce commit 7250ff5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

controllers/dbinstance_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
)
3838

3939
var (
40-
dbInstancePhaseValidate = "Valitating"
40+
dbInstancePhaseValidate = "Validating"
4141
dbInstancePhaseCreate = "Creating"
4242
dbInstancePhaseBroadcast = "Broadcasting"
4343
dbInstancePhaseProxyCreate = "ProxyCreating"

docs/creatingdatabases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
cron: "0 0 * * *"
4747
secretsTemplates:
4848
CONNECTION_STRING: "jdbc:{{ .Protocol }}://{{ .UserName }}:{{ .Password }}@{{ .DatabaseHost }}:{{ .DatabasePort }}/{{ .DatabaseName }}"
49-
PASSWORD_USER: "{{ .Password }}_{{ .User }}"
49+
PASSWORD_USER: "{{ .Password }}_{{ .UserName }}"
5050
```
5151
With `secretsTemplates` you can add fields to the database secret that are composed by any string and by any of the following templated values:
5252
```YAML

docs/creatinginstances.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Possible phases and meanings
163163

164164
| Phase | Description |
165165
|------------------- |----------------------- |
166-
| `Valitating` | Validate all the necessary fields provided in the resource spec |
166+
| `Validating` | Validate all the necessary fields provided in the resource spec |
167167
| `Creating` | Create (only google type) or check if the database server is reachable |
168168
| `Broadcasting` | Trigger `Database` phase cycle if there was an update on `DbInstance` |
169169
| `ProxyCreating` | Creating Google Cloud Proxy `Deployment` and `Service` to be used as endpoint for connecting to the database (only google type) |

0 commit comments

Comments
 (0)