эту настройку для ClussterIssuer
                  
                  
                  apiVersion: cert-manager.io/v1alpha2
                  
                  
                  kind: ClusterIssuer
                  
                  
                  metadata:
                  
                  
                    name: letsencrypt-prod
                  
                  
                  spec:
                  
                  
                    acme:
                  
                  
                      # You must replace this email address with your own.
                  
                  
                      # Let's Encrypt will use this to contact you about expiring
                  
                  
                      # certificates, and issues related to your account.
                  
                  
                      email: issuer@example.com
                  
                  
                      server: https://acme-v02.api.letsencrypt.org/directory
                  
                  
                      privateKeySecretRef:
                  
                  
                        # Secret resource used to store the account's private key.
                  
                  
                        name: letsencrypt-prod
                  
                  
                      # Add a single challenge solver, HTTP01 using nginx
                  
                  
                      solvers:
                  
                  
                      - http01:
                  
                  
                          ingress:
                  
                  
                            class: nginx
                  
                  
                  
                  
                  
                  Но получаю такую ощибку:
                  
                  
                  error when creating "issuer.yml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post https://cert
                  
                  
                  -manager-webhook.cert-manager.svc:443/mutate?timeout=30s: context deadline exceeded
                  
                  
                
??
Обсуждают сегодня