Skip to content

Commit

Permalink
Fix typos (#167)
Browse files Browse the repository at this point in the history
* fix typo Valitating

* fix typo User -> UserName in Database example
  • Loading branch information
Dem0n3D committed Dec 13, 2022
1 parent db5fdce commit 7250ff5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controllers/dbinstance_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
)

var (
dbInstancePhaseValidate = "Valitating"
dbInstancePhaseValidate = "Validating"
dbInstancePhaseCreate = "Creating"
dbInstancePhaseBroadcast = "Broadcasting"
dbInstancePhaseProxyCreate = "ProxyCreating"
Expand Down
2 changes: 1 addition & 1 deletion docs/creatingdatabases.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
cron: "0 0 * * *"
secretsTemplates:
CONNECTION_STRING: "jdbc:{{ .Protocol }}://{{ .UserName }}:{{ .Password }}@{{ .DatabaseHost }}:{{ .DatabasePort }}/{{ .DatabaseName }}"
PASSWORD_USER: "{{ .Password }}_{{ .User }}"
PASSWORD_USER: "{{ .Password }}_{{ .UserName }}"
```
With `secretsTemplates` you can add fields to the database secret that are composed by any string and by any of the following templated values:
```YAML
Expand Down
2 changes: 1 addition & 1 deletion docs/creatinginstances.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Possible phases and meanings

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

0 comments on commit 7250ff5

Please sign in to comment.