Repository navigation
Description
Description
Add comprehensive documentation for Redis Sentinel storage configuration for the embedded authorization server. This task covers Phase 3 (Documentation) from the RFC implementation plan, split out from #3630 which now covers only the Operator CRD Updates (Phase 4).
Context
The Redis storage backend implemented in TASK-001 (#3628) and integration tested in TASK-002 (#3629) provides horizontal scaling capabilities for the embedded auth server. This task provides the documentation that explains how to configure and deploy Redis Sentinel for auth server storage.
Parent Issue: https://github.com/stacklok/stacklok-epics/issues/197
Dependencies: #3628 (Core Implementation), #3629 (Integration Testing)
Acceptance Criteria
- Redis Sentinel configuration documented in
docs/redis-storage.mdwith complete examples - Example manifests provided for Spotahome Redis Operator deployment
- Architecture documentation in
docs/arch/updated to reflect Redis storage option
Technical Approach
Documentation should follow the existing documentation patterns in docs/ and provide:
- A comprehensive guide for Redis Sentinel configuration with ACL user authentication
- Step-by-step deployment instructions using Spotahome Redis Operator
- Example CRD manifests for common deployment scenarios
- Troubleshooting guidance for common issues
Code Pointers
docs/proposals/THV-0035-auth-server-redis-storage.md- RFC with complete design and examplesdocs/arch/02-core-concepts.md- Example architecture documentation formatpkg/authserver/storage/config.go- Storage configuration typespkg/authserver/storage/redis.go- Redis storage implementation
Out of Scope
- Operator CRD types and controller updates (covered in Auth Server: Operator Controller & Runner Integration for Redis Storage #3630)
- Operator integration tests with real Redis (Phase 5, tracked separately)
- TLS/mTLS configuration for Redis connections (future enhancement)
References
- Epic: https://github.com/stacklok/stacklok-epics/issues/197
- RFC Design Document:
docs/proposals/THV-0035-auth-server-redis-storage.md - Operator CRD & Controller Updates: Auth Server: Operator Controller & Runner Integration for Redis Storage #3630
- Upstream Dependency (Core): Auth Server: Implement Redis Storage: Core Implementation (Phase 1) #3628
- Upstream Dependency (Integration Tests): Auth Server: Add Redis Storage Integration Tests with Testcontainers (Phase 2) #3629
- Spotahome Redis Operator: https://github.com/spotahome/redis-operator
- Redis Sentinel Documentation: https://redis.io/docs/management/sentinel/
Activity
Add Redis Sentinel storage documentation
[-]Auth Server: Add Redis Storage Documentation (Phase 3)[/-][+]Auth Server: Add Redis Storage Documentation[/+]Add Redis Sentinel storage documentation