diff --git a/charms/kfp-api/src/charm.py b/charms/kfp-api/src/charm.py index f9d2cc0c..c6294820 100755 --- a/charms/kfp-api/src/charm.py +++ b/charms/kfp-api/src/charm.py @@ -48,6 +48,7 @@ K8S_RESOURCE_FILES = [ "src/templates/auth_manifests.yaml.j2", + "src/templates/ml-pipeline-service.yaml.j2", ] MYSQL_WARNING = "Relation mysql is deprecated." UNBLOCK_MESSAGE = "Remove deprecated mysql relation to unblock." diff --git a/charms/kfp-api/src/templates/ml-pipeline-service.yaml.j2 b/charms/kfp-api/src/templates/ml-pipeline-service.yaml.j2 index a4e1046b..2011404d 100644 --- a/charms/kfp-api/src/templates/ml-pipeline-service.yaml.j2 +++ b/charms/kfp-api/src/templates/ml-pipeline-service.yaml.j2 @@ -6,11 +6,11 @@ metadata: spec: ports: - name: grpc - port: {{ grpc-port }} + port: {{ grpc_port }} protocol: TCP targetPort: 8887 - name: http - port: {{ http-port }} + port: {{ http_port }} protocol: TCP targetPort: 8888 selector: