Welcome to the Linux Foundation Forum!

Deploying ingress to launch Jenkins svc

Running into an issue when deploying the jenkins ingress. e.rror from server (InternalError): error when creating "jenkinsing.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post "https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1/ingresses?timeout=10s": x509: certificate signed by unknown authority.

I am not sure what to do to resolve this one. My service is called jenkins02. Im wondering if that webhook for the admission controller is offline or missing a cert..

Comments

  • jhashem3
    jhashem3 Posts: 11

    I fixed the error: kubectl patch validatingwebhookconfigurations ingress-nginx-admission --type='json' -p='[{"op": "add", "path": "/webhooks/0/clientConfig/caBundle", "value":"'$CA'"}]'

  • jhashem3
    jhashem3 Posts: 11

    Ingress is able to be deployed but i am getting a 503 when I try to navigate to the URL to /jenkins

  • jhashem3
    jhashem3 Posts: 11

    Now getting a 404 on the URL when accessing /Jenkins

  • luisviveropena
    luisviveropena Posts: 1,142

    Hi @jhashem3 , please indicate what's the chapter number and section, so I can take a look at it.

    Regards,
    Luis.

Categories

Upcoming Training