Skip to content

Commit

Permalink
NPT-656 nexus-apiserver updating <base href> tag if any html file is …
Browse files Browse the repository at this point in the history
…served via the api-gw

currently due to k8s apiserver issue: kubernetes/kubernetes#107435 it modifies the x-forwarded-host
and the k8sapiserver also rewrites the html response and updates href section

removing the rewrite from k8s apiserver(staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go) file and running make release-image locally
pushed the result image to gcr.io/nsx-sm

Closes NPT-656

See merge request nsx-allspark_users/nexus-sdk/nexus-runtime-manifests!33
  • Loading branch information
janakiramanmesh7 committed Nov 15, 2022
2 parents a8b2c60 + d3da13f commit eb5a014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templates/local-api-infra.yaml
Expand Up @@ -160,7 +160,7 @@ spec:
- --cert-dir=/etc/kubernetes/certs
- --endpoint-reconciler-type=none
- --port=8080
image: gcr.io/nsx-sm/k8s.gcr.io/kube-apiserver:v1.19.0
image: gcr.io/nsx-sm/k8s.gcr.io/kube-apiserver:v1.19.16
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
Expand Down

0 comments on commit eb5a014

Please sign in to comment.