Skip to content

Commit

Permalink
PRO-82 Can't add api domain with pro manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ksv510 committed Sep 12, 2024
1 parent f4cb34d commit 74bee14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Doc/ingress-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,13 @@ Events: <none>
W0510 06:12:12.613491 7 backend_ssl.go:47] Error obtaining X.509 certificate: unexpected error creating SSL Cert: certificate and private key do not have a matching public key: tls: found a certificate rather than a key in the PEM for the private key
I0510 06:12:12.613567 7 event.go:285] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"bl-api-ingress", UID:"66ea2f9f-7194-4585-991a-c7935b54ebcf", APIVersion:"networking.k8s.io/v1", ResourceVersion:"422088", FieldPath:""}): type: 'Normal' reason: 'Sync' Scheduled for sync
W0510 06:12:12.613873 7 controller.go:1333] Error getting SSL certificate "default/bl-ast": local SSL certificate default/bl-ast was not found. Using default certificate
```
```
# Cert manager
```shell
kubectl get pods -n cert-manager
```

```shell
kubectl logs -f -n cert-manager <pod name>
```
3 changes: 2 additions & 1 deletion src/services/k8s/config/ingress/ingress-api-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export class IngressApiConfig {
'nginx.ingress.kubernetes.io/proxy-body-size': '10000m',
'nginx.ingress.kubernetes.io/proxy-read-timeout': '600',
'nginx.ingress.kubernetes.io/proxy-send-timeout': '600',
'nginx.ingress.kubernetes.io/proxy-connect-timeout': '600'
'nginx.ingress.kubernetes.io/proxy-connect-timeout': '600',
'nginx.ingress.kubernetes.io/use-regex': 'true'
}
},
'spec': {
Expand Down

0 comments on commit 74bee14

Please sign in to comment.