Skip to content

Commit

Permalink
refactor: revert relation name k8s-service-info -> grpc (#78)
Browse files Browse the repository at this point in the history
Revert back the name of the relation to keep compatibility with requirer charms.
This change also avoids breaking existing CIs and the CKF bundle, 
as the relation name defined there is just grpc.
  • Loading branch information
DnPlas authored Apr 19, 2024
1 parent 4fb9dac commit 7bfe9c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}'

Expand Down

0 comments on commit 7bfe9c2

Please sign in to comment.