Skip to content

Conversation

@ivanauth
Copy link

Summary

Add a new config option skipTLSWarning that allows users to suppress the TLS warning in the Status.Conditions when running SpiceDB without TLS in internal/development environments.

Fixes #180

Changes

  • Add skipTLSWarning config key (boolean, defaults to false)
  • Add SkipTLSWarning field to SpiceConfig struct
  • Update TLS warning logic to check the flag
  • Add test case for the new functionality

Usage

apiVersion: authzed.com/v1alpha1
kind: SpiceDBCluster
spec:
  config:
    datastoreEngine: memory
    skipTLSWarning: true  # Suppress TLS warning for internal deployments

Testing

go test ./pkg/config/... -v -run "TestNewConfig/memory_with_skipTLSWarning"

Add a new config option 'skipTLSWarning' that allows users to suppress
the TLS warning in the Status.Conditions when running SpiceDB without
TLS in internal/development environments.

Signed-off-by: ivanauth <ivan@authzed.com>
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.

Add capability to disable TLS warning

1 participant