dapr / dapr

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.

Home Page:https://dapr.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

transport: authentication handshake failed: remote error: tls: unrecognized name\""

wangchao732 opened this issue · comments

[system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]}" instance=dapr-sidecar-injector-7bb796696f-kr4dm scope=dapr.injector.service type=log ver=1.12.4
time="2024-05-13T15:29:43.287447567+08:00" level=info msg="Sidecar injector succeeded injection for app 'alydns-dapr'" instance=dapr-sidecar-injector-7bb796696f-kr4dm scope=dapr.injector.service type=log ver=1.12.4
time="2024-05-13T15:30:55.576504413+08:00" level=info msg="AdmissionReview for Kind=/v1, Kind=Pod, Namespace=kywalking-new Name= () UID=60c7bb4d-4424-4003-9ec9-7bc4122b2f2a patchOperation=CREATE UserInfo={system:serviceaccount:kube-system:replicaset-controller ae7a0254-03a4-4a46-8efd-bb71eb4cd8cc [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]}" instance=dapr-sidecar-injector-7bb796696f-kr4dm scope=dapr.injector.service type=log ver=1.12.4
time="2024-05-13T15:30:55.885993274+08:00" level=error msg="Sidecar injector failed to inject for app ''. Error: error from sentry SignCertificate: rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: remote error: tls: unrecognized name"" instance=dapr-sidecar-injector-7bb796696f-kr4dm scope=dapr.injector.service type=log ver=1.12.4

my charts:

kind: Deployment
apiVersion: apps/v1
metadata:
name: alydns
namespace: argocd
labels:
app.kubernetes.io/instance: alydns
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: argocd-charts
app.kubernetes.io/version: 1.16.0
helm.sh/chart: argocd-charts-0.1.0
annotations:
deployment.kubernetes.io/revision: '17'
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: alydns
app.kubernetes.io/name: argocd-charts
template:
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/instance: alydns
app.kubernetes.io/name: argocd-charts
logtype: java
annotations:
dapr.io/app-id: alydns-dapr
dapr.io/app-port: '8000'
dapr.io/config: argocd
dapr.io/enabled: 'true'
kubesphere.io/restartedAt: '2024-05-13T07:29:36.172Z'
spec:
containers:
- name: alydns
image: 'xxx'
ports:
- name: http
containerPort: 8000
protocol: TCP
env:
- name: TZ
value: Asia/Shanghai
resources:
limits:
cpu: 200m
memory: 1Gi
requests:
cpu: 100m
memory: 100Mi
readinessProbe:
tcpSocket:
port: 8000
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
securityContext: {}
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
serviceAccountName: alydns
serviceAccount: alydns
securityContext: {}
schedulerName: default-scheduler
enableServiceLinks: false
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600