-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
155 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,12 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.OBLX_PAT || secrets.github_token }} | ||
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
with: | ||
version: v3.9.2 | ||
version: v3.9.4 | ||
|
||
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and | ||
# yamllint (https://github.com/adrienverge/yamllint) which require Python | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,12 @@ on: | |
- next | ||
paths: | ||
- '*/values.yaml' | ||
push: | ||
branches: | ||
- main | ||
- next | ||
paths: | ||
- '*/values.yaml' | ||
|
||
jobs: | ||
check-and-update-readme: | ||
|
@@ -47,5 +53,5 @@ jobs: | |
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
git add community-solid-server/README.md | ||
git commit -am "docs: Update chart parameters readme" | ||
git commit -am "docs: Update chart parameters readme [skip ci]" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,15 +15,15 @@ type: application | |
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 2.1.0 | ||
version: 3.0.0 | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "4.1.0" | ||
appVersion: "6.0.2" | ||
|
||
home: https://github.com/idlab-gent/css-helm-chart | ||
home: https://github.com/CommunitySolidServer/css-helm-chart | ||
icon: https://raw.githubusercontent.com/solid/community-server/main/templates/images/solid.svg | ||
keywords: | ||
- solid | ||
|
@@ -32,4 +32,4 @@ maintainers: | |
- email: [email protected] | ||
name: MisterTimn | ||
sources: | ||
- https://github.com/solid/community-server | ||
- https://github.com/CommunitySolidServer/CommunitySolidServer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Multithreaded CSS with Redis based resource locking | ||
|
||
A config has been provided to setup CSS with a file backend and Redis resource locking. First we need to get this config deployed on the cluster in a configmap: | ||
|
||
```bash | ||
kubectl create configmap css-redis-file --from-file examples/redis-locking/config.json | ||
``` | ||
|
||
```bash | ||
helm install css-redis bitnami/redis --set auth.enabled=false | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld", | ||
"@graph": [ | ||
{ | ||
"comment": "A single-pod server that stores its resources on disk." | ||
}, | ||
{ | ||
"@id": "urn:solid-server-app-setup:default:CliExtractor", | ||
"@type": "YargsCliExtractor", | ||
"parameters": [ | ||
{ | ||
"@type": "YargsParameter", | ||
"name": "redisUri", | ||
"options": { | ||
"demandOption": true, | ||
"describe": "Connection URI of Redis instance to be used for resource locking", | ||
"requiresArg": true, | ||
"type": "string" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "urn:solid-server-app-setup:default:ShorthandResolver", | ||
"@type": "CombinedShorthandResolver", | ||
"comment": "Adds resolvers to assign the Redis CLI values to the Components.js variables.", | ||
"resolvers": [ | ||
{ | ||
"CombinedShorthandResolver:_resolvers_key": "urn:solid-server:custom:variable:redisUri", | ||
"CombinedShorthandResolver:_resolvers_value": { | ||
"@type": "KeyExtractor", | ||
"key": "redisUri" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "urn:solid-server:default:RedisLocker", | ||
"@type": "RedisLocker", | ||
"redisClient": { | ||
"@id": "urn:solid-server:custom:variable:redisUri", | ||
"@type": "Variable" | ||
} | ||
} | ||
], | ||
"import": [ | ||
"css:config/app/main/default.json", | ||
"css:config/app/init/default.json", | ||
"css:config/app/setup/required.json", | ||
"css:config/app/variables/default.json", | ||
"css:config/http/handler/default.json", | ||
"css:config/http/middleware/websockets.json", | ||
"css:config/http/server-factory/websockets.json", | ||
"css:config/http/static/default.json", | ||
"css:config/identity/access/public.json", | ||
"css:config/identity/email/default.json", | ||
"css:config/identity/handler/default.json", | ||
"css:config/identity/ownership/token.json", | ||
"css:config/identity/pod/static.json", | ||
"css:config/identity/registration/enabled.json", | ||
"css:config/ldp/authentication/dpop-bearer.json", | ||
"css:config/ldp/authorization/webacl.json", | ||
"css:config/ldp/handler/default.json", | ||
"css:config/ldp/metadata-parser/default.json", | ||
"css:config/ldp/metadata-writer/default.json", | ||
"css:config/ldp/modes/default.json", | ||
"css:config/storage/backend/file.json", | ||
"css:config/storage/key-value/resource-store.json", | ||
"css:config/storage/middleware/default.json", | ||
"css:config/util/auxiliary/acl.json", | ||
"css:config/util/identifiers/suffix.json", | ||
"css:config/util/index/default.json", | ||
"css:config/util/logging/winston.json", | ||
"css:config/util/representation-conversion/default.json", | ||
"css:config/util/resource-locker/redis.json", | ||
"css:config/util/variables/default.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
config: | ||
configMapKey: config.json | ||
configMapName: css-redis-file | ||
logLevel: info | ||
multithreading: | ||
enabled: true | ||
workers: 4 | ||
persistence: | ||
enabled: true | ||
size: 512Mi | ||
env: | ||
- name: CSS_REDIS_URI | ||
value: css-redis-master:6379 |