Skip to content

Commit

Permalink
commit 5a67a20
Browse files Browse the repository at this point in the history
Merge: b0ea1de d54f75d
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Tue Mar 15 21:49:58 2022 +0100

    Merge pull request #3232 from kobergj/StoreSettingsViaMetadata

    [full-ci] Store settings via metadata
  • Loading branch information
wkloucek committed Mar 15, 2022
1 parent b26f038 commit bb47b67
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion extensions/_includes/accounts-config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ index:
upper: 1000
serviceuser:
uuid: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad
username: ""
username: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad
uid: 0
gid: 0
hashdifficulty: 11
Expand Down
2 changes: 1 addition & 1 deletion extensions/_includes/accounts_configvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
| ACCOUNTS_GID_INDEX_LOWER_BOUND | int64 | 0 | The lowest possible gid value for the indexer.|
| ACCOUNTS_GID_INDEX_UPPER_BOUND | int64 | 1000 | The highest possible gid value for the indexer.|
| ACCOUNTS_SERVICE_USER_UUID | string | 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad | The id of the accounts service user.|
| ACCOUNTS_SERVICE_USER_USERNAME | string | | The username of the accounts service user.|
| ACCOUNTS_SERVICE_USER_USERNAME | string | 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad | The username of the accounts service user.|
| ACCOUNTS_SERVICE_USER_UID | int64 | 0 | The uid of the accounts service user.|
| ACCOUNTS_SERVICE_USER_GID | int64 | 0 | The gid of the accounts service user.|
| ACCOUNTS_HASH_DIFFICULTY | int | 11 | The hash difficulty makes sure that validating a password takes at least a certain amount of time.|
Expand Down
7 changes: 7 additions & 0 deletions extensions/_includes/settings-config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ http:
allowcredentials: true
grpc:
addr: 127.0.0.1:9191
storetype: metadata
datapath: ~/.ocis/settings
metadata:
gatewayaddress: 127.0.0.1:9142
storageaddress: 127.0.0.1:9215
serviceuserid: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad
serviceuseridp: https://localhost:9200
machineauthapikey: change-me-please
asset:
path: ""
tokenmanager:
Expand Down
6 changes: 6 additions & 0 deletions extensions/_includes/settings_configvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
| SETTINGS_HTTP_ROOT | string | / | |
| SETTINGS_CACHE_TTL | int | 604800 | |
| SETTINGS_GRPC_ADDR | string | 127.0.0.1:9191 | |
| SETTINGS_STORE_TYPE | string | metadata | |
| SETTINGS_DATA_PATH | string | ~/.ocis/settings | |
| STORAGE_GATEWAY_GRPC_ADDR | string | 127.0.0.1:9142 | |
| STORAGE_GRPC_ADDR | string | 127.0.0.1:9215 | |
| METADATA_SERVICE_USER_UUID | string | 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad | |
| OCIS_URL;METADATA_SERVICE_USER_IDP | string | https://localhost:9200 | |
| OCIS_MACHINE_AUTH_API_KEY | string | change-me-please | |
| SETTINGS_ASSET_PATH | string | | |
| OCIS_JWT_SECRET;SETTINGS_JWT_SECRET | string | Pive-Fumkiu4 | |
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/accounts/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.accounts.v0"
url: /grpc_apis/ocis_messages_accounts_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/settings/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /grpc_apis/ocis_messages_settings_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/store/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /grpc_apis/ocis_messages_store_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/thumbnails/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /grpc_apis/ocis_messages_thumbnails_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/accounts/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.accounts.v0"
url: /grpc_apis/ocis_services_accounts_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/settings/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /grpc_apis/ocis_services_settings_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/store/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /grpc_apis/ocis_services_store_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/thumbnails/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /grpc_apis/ocis_services_thumbnails_v0
date: 2022-03-15T20:27:21Z
date: 2022-03-15T20:54:38Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down

0 comments on commit bb47b67

Please sign in to comment.