apache / openwhisk-deploy-kube

The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
https://openwhisk.apache.org/
Apache License 2.0
296 stars 228 forks source link

Changing the nginx httpsPort does not expose the REST API #770

Closed jhawarchirag0 closed 7 months ago

jhawarchirag0 commented 7 months ago

I modified the kubernetes deployment to be exposed to a different port than the default 443 port as another service is already using that port. When I try to deploy this to an external IP, I am unable to reach the https://:31001/api/v1/

# Nginx configurations
nginx:
  imageName: "nginx"
  imageTag: "1.19"
  imagePullPolicy: "IfNotPresent"
  replicaCount: 1
  restartPolicy: "Always"
  httpPort: 80
  httpsPort: 4430
  httpsNodePort: 31001
  certificate:
    external: false
    cert_file: ""
    key_file: ""
    sslPassword: ""

The same works when the targetPort is set to 443 and port is set to 4430

jhawarchirag0 commented 7 months ago

Taking this issue down after realizing it was mere config issue in nginx.conf