Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support Control Plane for OSS Agent #951

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions charts/testkube-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ spec:
{{- end }}
- name: APISERVER_PORT
value: "{{ .Values.service.port }}"
- name: GRPCSERVER_PORT
value: "{{ .Values.service.grpcPort }}"
- name: POSTMANEXECUTOR_URI
value: "{{ .Values.postmanExecutorURI }}"
- name: TESTKUBE_ANALYTICS_ENABLED
Expand Down Expand Up @@ -223,6 +225,9 @@ spec:
- name: http
containerPort: 8088
protocol: TCP
- name: grpc
containerPort: 8089
protocol: TCP
livenessProbe:
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
httpGet:
Expand Down
12 changes: 8 additions & 4 deletions charts/testkube-api/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ metadata:
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.port }}
protocol: TCP
name: http
- port: {{ .Values.service.port }}
targetPort: {{ .Values.service.port }}
protocol: TCP
name: http
- port: {{ .Values.service.grpcPort }}
targetPort: {{ .Values.service.grpcPort }}
protocol: TCP
name: grpc
selector: {{- include "testkube-api.selectorLabels" . | nindent 4 }}
2 changes: 2 additions & 0 deletions charts/testkube-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ service:
type: ClusterIP
## HTTP Port
port: 8088
## gRPC Port
grpcPort: 8089
## Annotations
annotations: {}
## Service labels
Expand Down
1 change: 1 addition & 0 deletions charts/testkube/values-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ testkube-api:
service:
type: ClusterIP
port: 8088
grpcPort: 8089
minio:
enabled: true
tolerations: []
Expand Down
1 change: 1 addition & 0 deletions charts/testkube/values-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ testkube-api:
service:
type: ClusterIP
port: 8088
grpcPort: 8089
minio:
enabled: true
nodeSelector: {}
Expand Down
1 change: 1 addition & 0 deletions charts/testkube/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ testkube-api:
service:
type: ClusterIP
port: 8088
grpcPort: 8089
minio:
enabled: true
tolerations: []
Expand Down
2 changes: 2 additions & 0 deletions charts/testkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,8 @@ testkube-api:
type: ClusterIP
# -- HTTP Port
port: 8088
# -- gRPC Port
grpcPort: 8089
# -- Service Annotations
annotations: {}
# -- Service labels
Expand Down