-
Notifications
You must be signed in to change notification settings - Fork 709
Closed
Description
Description:
ClientTrafficPolicy reports "failed to get crl from ref" even though the secret and permissions exist.
At the same time CTP happily picks up caCertificateRef from the same ns.
kubectl describe ctp envoy-gateway-mtls
...
Status:
Ancestors:
Ancestor Ref:
Group: gateway.networking.k8s.io
Kind: Gateway
Name: envoy-gateway-envoy-gateway
Conditions:
Last Transition Time: 2025-12-23T19:29:09Z
Message: TLS: failed to get crl from ref: secret myns/envoy-gateway-crl-mtls does not exist.
Observed Generation: 7
Reason: Invalid
Status: False
Type: Accepted
Controller Name: gateway.envoyproxy.io/gatewayclass-controller
...
Environment:
Gatway controller runs in namespaced mode (envoy-gateway-system, myns). Both namespaces are listed as watched.
kubectl get pods -n envoy-gateway-system envoy-gateway-f598b7788-nfkdx -o jsonpath='{.spec.containers[0].image}'
docker.io/envoyproxy/gateway:v1.6.0
Repro steps:
$kubectl get ctp envoy-gateway-mtls -o yaml
...
tls:
clientValidation:
caCertificateRefs:
- group: ""
kind: Secret
name: envoy-gateway-mtls
crl:
refs:
- group: ""
kind: Secret
name: envoy-gateway-crl-mtls
...
$kubectl get secret envoy-gateway-crl-mtls -o yaml
apiVersion: v1
data:
ca.crl: LS0tLS1CRUdJTiBYNTA5IENSTC0tLS0tCk1...
metadata:
name: envoy-gateway-crl-mtls
namespace: myns
type: Opaque
kubectl get role envoy-gateway-helm-envoy-gateway-role -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: envoy-gateway-helm-envoy-gateway-role
namespace: myns
rules:
- apiGroups:
- ""
resources:
- configmaps
- secrets
- services
verbs:
- get
- list
- watch
kubectl get rolebinding envoy-gateway-helm-envoy-gateway-rolebinding -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: envoy-gateway-helm-envoy-gateway-rolebinding
namespace: myns
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: envoy-gateway-helm-envoy-gateway-role
subjects:
- kind: ServiceAccount
name: envoy-gateway
namespace: envoy-gateway-system
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working