-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] tilejson.json API create http protocol link in tiles property #55
Comments
currently, https://learn.microsoft.com/en-us/azure/aks/app-routing-migration also, we may need to enable but not sure how to enable ssl-passthrough in addon-http-application-routing. the stackoverflow is for nginx-ingress. |
Looks like ssl-passthrough is available for addon. but the below doc says it is diabled as default. |
looks like no --enable-ssl-passthrough arg in current nginx-ingress controller deployment |
kubectl edit deployment addon-http-application-routing-nginx-ingress-controller --namespace kube-system
# add --enable-ssl-passthrough in args section
spec:
containers:
- name: addon-http-application-routing-nginx-ingress-controller
image: mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.2.1
args:
- /nginx-ingress-controller
- --enable-ssl-passthrough # << add this
# restart ingress controller
kubectl rollout restart deployment addon-http-application-routing-nginx-ingress-controller --namespace kube-system after did, --enable-ssl-passthrough is still not enabled... |
get configmap name for ingress controller
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: "2022-04-21T19:23:09Z"
labels:
addonmanager.kubernetes.io/mode: EnsureExists
app: addon-http-application-routing-ingress-nginx
kubernetes.io/cluster-service: "true"
name: addon-http-application-routing-nginx-configuration
namespace: kube-system
resourceVersion: "322923562"
uid: 691c8c47-d8b3-49bb-b543-9419ce83e706
how can I add enable ssl passthrough in configmap? looks like adding settings in
kubectl rollout restart deployment addon-http-application-routing-nginx-ingress-controller --namespace kube-system
kubectl describe pod -l app=addon-http-application-routing-nginx-ingress --namespace kube-system |
Alternatively we might consider native Kube routing API. This is an alternative to Ingress https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/overview |
Description
the protocol of URL in tiles property is
http
in the response of tilejson.json endpoint. Because of this/cog/map
page in titiler does not work.https://titiler-dev.undpgeohub.org/cog/map?tileMatrixSetId=WebMercatorQuad&tile_scale=1&url=https://undpgeohub.blob.core.windows.net/geo-nightlights/test/SVDNB_npp_merged_20231229_20240101.vrt&algorithm=rca&algorithm_params=%7B%22cloud_mask%22:true%7D&rescale=0,1&colormap_name=viridis&return_mask=true
Example
an example URL of tilejson.json
https://titiler-dev.undpgeohub.org/cog/WebMercatorQuad/tilejson.json?tileMatrixSetId=WebMercatorQuad&tile_scale=1&url=https%3A%2F%2Fundpgeohub.blob.core.windows.net%2Fgeo-nightlights%2Ftest%2FSVDNB_npp_merged_20231229_20240101.vrt&algorithm=rca&algorithm_params=%7B%22cloud_mask%22%3Atrue%7D&rescale=0%2C1&colormap_name=viridis&return_mask=true
response
The text was updated successfully, but these errors were encountered: