Skip to content

Commit

Permalink
remove ss3 c encryption key for s3 config as it's not yet supported i…
Browse files Browse the repository at this point in the history
…n the docker image yet

Signed-off-by: JesseBot <[email protected]>
  • Loading branch information
jessebot authored Nov 20, 2023
1 parent e56e146 commit f272e15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,6 @@ nextcloud:
- name: "OBJECTSTORE_S3_USEPATH_STYLE"
value: "true"
- name: "OBJECTSTORE_S3_SSE_C_KEY"
valueFrom:
secretKeyRef:
name: my-existing-kubernetes-secret
key: S3_ENCRYPTION_KEY
```
## Multiple config.php file
Expand Down
6 changes: 0 additions & 6 deletions charts/nextcloud/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,6 @@ data:
)
);
if (getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE') && file_exists(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE'))) {
$CONFIG['objectstore']['arguments']['sse_c_key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_SSE_C_KEY_FILE'));
} elseif (getenv('OBJECTSTORE_S3_SSE_C_KEY')) {
$CONFIG['objectstore']['arguments']['sse_c_key'] = getenv('OBJECTSTORE_S3_SSE_C_KEY');
}
if (getenv('OBJECTSTORE_S3_KEY_FILE') && file_exists(getenv('OBJECTSTORE_S3_KEY_FILE'))) {
$CONFIG['objectstore']['arguments']['key'] = trim(file_get_contents(getenv('OBJECTSTORE_S3_KEY_FILE')));
} elseif (getenv('OBJECTSTORE_S3_KEY')) {
Expand Down

0 comments on commit f272e15

Please sign in to comment.