Skip to content

Commit 3132e8a

Browse files
committed
SDK service for REST server
1 parent 04239d3 commit 3132e8a

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

charts/kad/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.6
18+
version: 1.0.7
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/kad/templates/agent-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ spec:
4646
- name: http
4747
containerPort: {{ .Values.service.port }}
4848
protocol: TCP
49+
- name: https
50+
containerPort: {{ .Values.service.sdkRestServer.port }}
51+
protocol: TCP
4952
# livenessProbe:
5053
# httpGet:
5154
# path: /status
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: {{ include "kad.fullname" . }}-agent-sdk-rest-server
5+
labels:
6+
{{- include "kad.labels" . | nindent 4 }}
7+
app.kubernetes.io/component: agent
8+
spec:
9+
type: {{ .Values.service.type }}
10+
ports:
11+
- port: {{ .Values.service.sdkRestServer.port }}
12+
targetPort: https
13+
protocol: TCP
14+
name: https
15+
selector:
16+
{{- include "kad.selectorLabels" . | nindent 4 }}
17+
app.kubernetes.io/component: agent

charts/kad/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ env:
4242
service:
4343
type: ClusterIP
4444
port: 8080
45+
sdkRestServer:
46+
port: 8443
4547

4648
DomainName: capten
4749

0 commit comments

Comments
 (0)