From d3da13f3d9a06af20d7ba5d2b95ecfd6aee314db Mon Sep 17 00:00:00 2001 From: Janakiraman R Date: Tue, 15 Nov 2022 12:46:55 +0000 Subject: [PATCH] NPT-656 nexus-apiserver updating tag if any html file is served via the api-gw currently due to k8s apiserver issue: https://github.com/kubernetes/kubernetes/issues/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 --- core/templates/local-api-infra.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/local-api-infra.yaml b/core/templates/local-api-infra.yaml index 3c18c4c46..b61f3bba1 100644 --- a/core/templates/local-api-infra.yaml +++ b/core/templates/local-api-infra.yaml @@ -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