diff --git a/.codespellrc b/.codespellrc index 8daee175a..014984d38 100644 --- a/.codespellrc +++ b/.codespellrc @@ -2,5 +2,4 @@ [codespell] skip = .codespellrc,.git,node_modules,build,dist,*.zst,CHANGELOG.md ignore-words-list = NotIn,AKS -enable-colors = -count = \ No newline at end of file +enable-colors = \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index 4c1907de1..031993ec4 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -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 diff --git a/.lintstagedrc.json b/.lintstagedrc.json index b6c2717c8..abbc42c11 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,6 +1,6 @@ { "*": [ - "bash -c 'codespell'" + "codespell" ], "*.yaml": [ "yamllint -c .yamllint --no-warnings" diff --git a/docs/configuration/uds-operator.md b/docs/configuration/uds-operator.md index 9b47e941b..6f5d65e78 100644 --- a/docs/configuration/uds-operator.md +++ b/docs/configuration/uds-operator.md @@ -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. diff --git a/tasks/lint.yaml b/tasks/lint.yaml index 1d14c3a45..a1d48120c 100644 --- a/tasks/lint.yaml +++ b/tasks/lint.yaml @@ -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"