Skip to content

Commit

Permalink
chore: adding grpc endpoint config
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Sep 30, 2024
1 parent 1c8835c commit b309c30
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/tracetest-cloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: v1.33.0
version: v1.34.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
1 change: 1 addition & 0 deletions charts/tracetest-cloud/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ data:
NATS_URI: {{ include "tracetest-common.nats_endpoint" . }}
OAUTH_ENABLED: "false"
OSS_ENDPOINT: "http://{{ .Release.Name }}-tracetest-core.{{ .Release.Namespace }}:{{ .Values.global.tracetestCore.service.httpPort }}"
OSS_OTLP_ENDPOINT: "http://{{ .Release.Name }}-tracetest-core.{{ .Release.Namespace }}:{{ .Values.global.tracetestCore.service.otlpGrpcPort }}"
ROOT_DOMAIN: "{{ .Values.global.urls.rootDomain }}"
UI_ENDPOINT: "{{ include "tracetest-common.url" .Values.global.urls.web }}"
DEMO_ORG_ID: "{{ .Values.config.demoOrgID }}"
Expand Down
5 changes: 5 additions & 0 deletions charts/tracetest-cloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ spec:
configMapKeyRef:
name: {{ include "tracetest-cloud.fullname" . }}-config
key: OSS_ENDPOINT
- name: OSS_OTLP_ENDPOINT
valueFrom:
configMapKeyRef:
name: {{ include "tracetest-cloud.fullname" . }}-config
key: OSS_OTLP_ENDPOINT
- name: ROOT_DOMAIN
valueFrom:
configMapKeyRef:
Expand Down
1 change: 1 addition & 0 deletions charts/tracetest-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ global:
tracetestCore:
service:
httpPort: 11633
otlpGrpcPort: 4317

tracetestCloud:
service:
Expand Down
2 changes: 1 addition & 1 deletion charts/tracetest-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: v1.26.0
version: v1.27.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
4 changes: 4 additions & 0 deletions charts/tracetest-core/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ spec:
targetPort: http
protocol: TCP
port: {{ .Values.server.httpPort }}
- name: grpc-collector-entrypoint
protocol: TCP
port: {{ .Values.server.otlpGrpcPort }}
targetPort: 4317
selector:
{{- include "tracetest-core.selectorLabels" . | nindent 4 }}
tracetest/component: api
5 changes: 3 additions & 2 deletions charts/tracetest-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ global:
tracetestCore:
service:
httpPort: &httpPort 11633
otlpGrpcPort: &otlpGrpcPort 4317

nats:
endpoint: "nats://nats:4222"
Expand Down Expand Up @@ -36,7 +37,7 @@ config:

server:
httpPort: *httpPort

otlpGrpcPort: *otlpGrpcPort

image:
repository: kubeshop/tracetest-core
Expand Down Expand Up @@ -86,4 +87,4 @@ deployments:
env:
TRACETEST_SERVER_API_ENABLED: false
TRACETEST_SERVER_WORKFLOW_ENABLED: true
TRACETEST_SERVER_WORKFLOW_STEPS: suite_runner
TRACETEST_SERVER_WORKFLOW_STEPS: suite_runner
4 changes: 2 additions & 2 deletions charts/tracetest-onprem/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ dependencies:
repository: file://../tracetest-frontend
condition: tracetest-frontend.enabled
- name: tracetest-core
version: v1.26.0
version: v1.27.0
repository: file://../tracetest-core
condition: tracetest-core.enabled
- name: tracetest-cloud
version: v1.33.0
version: v1.34.0
repository: file://../tracetest-cloud
condition: tracetest-cloud.enabled
- name: tracetest-agent-operator
Expand Down

0 comments on commit b309c30

Please sign in to comment.