Skip to content

Commit

Permalink
fix: add ml-pipeline-service.yaml.j2 in K8S_RESOURCE_FILES (#255)
Browse files Browse the repository at this point in the history
* fix: add ml-pipeline-service.yaml.j2 in K8S_RESOURCE_FILES

The ml-pipeline Service was omitted when applying k8s resources.
  • Loading branch information
DnPlas authored Jul 19, 2023
1 parent 0bb53f4 commit e4d73fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions charms/kfp-api/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
4 changes: 2 additions & 2 deletions charms/kfp-api/src/templates/ml-pipeline-service.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e4d73fa

Please sign in to comment.