Skip to content

Commit cb92bc3

Browse files
committed
test change in odh before committing in KFP
Signed-off-by: alyssacgoins <[email protected]>
1 parent 4b58574 commit cb92bc3

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

backend/src/v2/cacheutils/cache.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"fmt"
1010
"os"
1111

12+
"github.com/kubeflow/pipelines/backend/src/apiserver/common"
1213
"google.golang.org/grpc/credentials"
1314
"google.golang.org/grpc/credentials/insecure"
1415

@@ -87,7 +88,7 @@ func NewClient(cacheDisabled bool, tlsCfg *tls.Config) (Client, error) {
8788
if tlsCfg != nil {
8889
creds = credentials.NewTLS(tlsCfg)
8990
}
90-
cacheEndPoint := cacheDefaultEndpoint()
91+
cacheEndPoint := "ml-pipeline" + common.GetPodNamespace() + "8887"
9192
glog.Infof("Connecting to cache endpoint %s", cacheEndPoint)
9293
conn, err := grpc.NewClient(
9394
cacheEndPoint,

manifests/kustomize/env/cert-manager/base-tls-certs/kfp-api-cert.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ spec:
88
dnsNames:
99
- ml-pipeline
1010
- ml-pipeline.kubeflow
11-
- ml-pipeline.kubeflow.svc.cluster.local
1211
- ml-pipeline-scheduledworkflow
1312
- metadata-envoy
1413
- metadata-envoy-service

manifests/kustomize/env/cert-manager/platform-agnostic-standalone-tls/patches/ml-pipeline-apiserver-deployment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ spec:
2121
- name: METADATA_TLS_ENABLED
2222
value: "true"
2323
- name: ML_PIPELINE_SERVICE_HOST
24-
value: "ml-pipeline.kubeflow"
25-
- name: ML_PIPELINE_SERVICE_PORT_GRPC
26-
value: "8887"
24+
value: "ml-pipeline.kubeflow.svc.cluster.local"
2725
readinessProbe:
2826
httpGet:
2927
path: /apis/v1beta1/healthz

0 commit comments

Comments
 (0)