Skip to content

Conversation

@aaronlippold
Copy link
Member

Summary

This release adds ARM64/Apple Silicon support and makes SSL enforcement configurable for flexible Kubernetes deployments.

Changes

Multi-Platform Docker Builds

  • Enable ARM64 builds in GitHub Actions workflow
  • Uncomment platforms: linux/amd64,linux/arm64 in push-to-docker.yml
  • Enables deployment on Apple Silicon Macs and ARM-based cloud instances

Configurable SSL Enforcement

  • Add FORCE_SSL environment variable support
  • Make config.force_ssl respect FORCE_SSL setting
  • Make config.assume_ssl respect FORCE_SSL setting (DRY approach)
  • Update all documentation with FORCE_SSL usage examples

Use Cases

Local/Development Kubernetes:

FORCE_SSL=false
  • Allows HTTP access without SSL redirects
  • Suitable for Kind, Minikube, development clusters
  • Works with Helm charts that don't configure ingress TLS

Production (with Ingress + TLS):

FORCE_SSL=true  # Default
  • Enforces HTTPS, secure cookies, HSTS headers
  • Ingress handles SSL termination
  • Standard production deployment pattern

Testing

  • Built and tested locally with ARM64 and AMD64 platforms
  • Verified FORCE_SSL=false allows HTTP operation
  • Verified FORCE_SSL=true maintains production security
  • Deployed successfully to Kind cluster with Helm chart

Compatibility

  • Backward compatible (defaults to true, existing behavior)
  • No breaking changes
  • Works with existing deployment methods

Documentation Updated

  • ENVIRONMENT_VARIABLES.md
  • .env.production.example
  • docs/getting-started/environment-variables.md

Authored by: Aaron Lippoldlippold@gmail.com

Signed-off-by: Aaron Lippold <lippold@gmail.com>
…able

## Changes

### Production Configuration
- Make config.force_ssl configurable via FORCE_SSL env var (defaults to true)
- Make config.assume_ssl respect FORCE_SSL setting (DRY approach)
- Both settings now controlled by single environment variable

### Documentation
- Update ENVIRONMENT_VARIABLES.md with FORCE_SSL usage
- Update .env.production.example with FORCE_SSL documentation
- Update docs/getting-started/environment-variables.md with use cases

## Use Cases

**Local/Dev Kubernetes (no ingress):**
- Set FORCE_SSL=false
- Allows HTTP access without SSL redirects
- Suitable for Kind, Minikube, development clusters

**Production (with ingress + TLS):**
- Set FORCE_SSL=true (default)
- Enforces HTTPS, secure cookies, HSTS headers
- Ingress handles SSL termination

## Benefits
- Helm chart compatibility for local development
- Maintains security defaults for production
- Single configuration point for SSL behavior
- Backward compatible (defaults to true)

Authored by: Aaron Lippold<lippold@gmail.com>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants