AppChannelAllowInsecureTLS 是在 https://github.com/dapr/dapr/pull/6078 中引入的 feature tag。
dapr 1.11 带来了一个 breaking change
When communicating with apps using HTTPS or gRPC with TLS, Dapr now enforces the use of TLS 1.2 or higher. This behavior can be disabled temporarily using a Configuration option.
通过 AppChannelAllowInsecureTLS 可以允许使用低版本的 TLS。
请问启用 AppChannelAllowInsecureTLS?
dapr configuration 中添加下面的配置没有起作用
kubectl edit configuration -n dapr-system
spec:
features:
- enabled: true
name: AppChannelAllowInsecureTLS
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
name: daprConfig
spec:
features:
这个顺序没有影响,通过 kubectl edit configuration -n dapr-system
修改成你的写法,会提示
Edit cancelled, no changes made.
这个 feature flag 会在 Dapr 1.13 中移除,详见 configuration.go#L45
const (
// Disables enforcing minimum TLS version 1.2 in AppChannel, which is insecure.
// TODO: Remove this feature flag in Dapr 1.13.
AppChannelAllowInsecureTLS Feature = "AppChannelAllowInsecureTLS"
// Enables support for setting TTL on Actor state keys. Remove this flag in
// Dapr 1.12.
ActorStateTTL Feature = "ActorStateTTL"
)