Skip to content

Commit

Permalink
fix: pr cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
UnicornChance committed Sep 11, 2024
1 parent affbaf6 commit c579b69
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
[codespell]
skip = .codespellrc,.git,node_modules,build,dist,*.zst,CHANGELOG.md
ignore-words-list = NotIn,AKS
enable-colors =
count =
enable-colors =
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ if [ $OUTPUT -eq 0 ]; then
echo "\n\n✅ Lint Check Passed. ✅\n\n"
exit 0
else
echo "\n\n❌ Lint Check failed... Use the uds task: lint-fix to resolve issues and re-commit. ❌\n\n"
echo "\n\n❌ Lint Check failed... Run \`uds run lint-fix\` to resolve issues and re-commit. ❌\n\n"
exit 1
fi
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"*": [
"bash -c 'codespell'"
"codespell"
],
"*.yaml": [
"yamllint -c .yamllint --no-warnings"
Expand Down
11 changes: 0 additions & 11 deletions docs/configuration/uds-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,6 @@ The UDS Operator uses the first `redirectUris` to populate the `match.prefix` ho

For a complete example, see [app-authservice-tenant.yaml](https://github.com/defenseunicorns/uds-core/blob/main/src/test/app-authservice-tenant.yaml)

#### External Session Store
If you wish to scale Authservice horizontally, Authservice supports using an [external redis session store](https://docs.tetrate.io/istio-authservice/configuration/oidc#session-store-configuration) which can be configured by setting [UDS_AUTHSERVICE_REDIS_URI](https://github.com/defenseunicorns/uds-core/blob/main/src/pepr/zarf.yaml#L20-L22).

You can also specify the `AUTHSERVICE_REDIS_URI` variable in your `uds-config.yaml`:

```yaml
variables:
core:
AUTHSERVICE_REDIS_URI: redis://redis.redis.svc.cluster.local:6379
```

#### Trusted Certificate Authority

Authservice can be configured with additional trusted certificate bundle in cases where UDS Core ingress gateways are deployed with private PKI.
Expand Down
6 changes: 3 additions & 3 deletions tasks/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ tasks:
cmd: CMD=pip && which $CMD || CMD=pip3 && $CMD install codespell
- description: "Pepr Format"
cmd: npx pepr format
- description: Show codespell lint issues
cmd: codespell
- description: Fix codespell lint issues
cmd: codespell -w
cmd: |
codespell || true
codespell -w
- name: check
description: "Run linting checks"
Expand Down

0 comments on commit c579b69

Please sign in to comment.