Skip to content

Commit

Permalink
feat: updating inventory operator targetportname to rest
Browse files Browse the repository at this point in the history
  • Loading branch information
chainzero committed Feb 22, 2024
1 parent 0a10d52 commit 5c958bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion charts/akash-inventory-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
app.kubernetes.io/part-of: provider
spec:
serviceAccountName: operator-inventory
terminationGracePeriodSeconds: 30
containers:
- name: operator-inventory
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down Expand Up @@ -56,7 +57,7 @@ spec:
memory: 128Mi
ports:
- containerPort: 8080
name: api
name: rest
protocol: TCP
- containerPort: 8081
name: grpc
Expand Down
2 changes: 1 addition & 1 deletion charts/akash-inventory-operator/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
ports:
- name: api
port: 8080
targetPort: api
targetPort: rest
appProtocol: http
- name: grpc
port: 8081
Expand Down

0 comments on commit 5c958bd

Please sign in to comment.