diff --git a/metadata.yaml b/metadata.yaml index 4fafa02..eed5bd8 100755 --- a/metadata.yaml +++ b/metadata.yaml @@ -19,7 +19,7 @@ resources: auto-fetch: true upstream-source: gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 provides: - k8s-service-info: + grpc: interface: k8s-service requires: mysql: diff --git a/src/charm.py b/src/charm.py index 92141fc..203a50d 100755 --- a/src/charm.py +++ b/src/charm.py @@ -25,7 +25,7 @@ GRPC_SVC_NAME = "metadata-grpc-service" K8S_RESOURCE_FILES = ["src/templates/ml-pipeline-service.yaml.j2"] -RELATION_NAME = "k8s-service-info" +RELATION_NAME = "grpc" SQLITE_CONFIG_PROTO_DESTINATION = "/config/config.proto" SQLITE_CONFIG_PROTO = 'connection_config: {sqlite: {filename_uri: "file:/data/mlmd.db"}}'