Skip to content
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
16 changes: 16 additions & 0 deletions all-in-one/confs/instance-1/deployment.toml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,22 @@ revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoin
enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }}
enable_token_hashing = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenHashing }}

{{- if .Values.wso2.apim.configurations.openTracer.enabled }}
[apim.open_tracer]
remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTracer.enabled }}
remote_tracer.name = {{ .Values.wso2.apim.configurations.openTracer.name | quote }}
remote_tracer.properties.hostname = {{ .Values.wso2.apim.configurations.openTracer.properties.hostname | quote }}
remote_tracer.properties.port = {{ .Values.wso2.apim.configurations.openTracer.properties.port | quote }}
{{- end }}

{{- if .Values.wso2.apim.configurations.openTelemetry.enabled }}
[apim.open_telemetry]
remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTelemetry.enabled }}
remote_tracer.name = {{ .Values.wso2.apim.configurations.openTelemetry.name | quote }}
remote_tracer.hostname = {{ .Values.wso2.apim.configurations.openTelemetry.hostname | quote }}
remote_tracer.port = {{ .Values.wso2.apim.configurations.openTelemetry.port | quote }}
{{- end }}

[apim.devportal]
url = "https://{{ .Values.kubernetes.ingress.management.hostname }}/devportal"
mode = {{ .Values.wso2.apim.configurations.devportal.mode | quote }}
Expand Down
16 changes: 16 additions & 0 deletions all-in-one/confs/instance-2/deployment.toml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,22 @@ revoke_endpoint = {{ .Values.wso2.apim.configurations.oauth_config.revokeEndpoin
enable_token_encryption = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenEncryption }}
enable_token_hashing = {{ .Values.wso2.apim.configurations.oauth_config.enableTokenHashing }}

{{- if .Values.wso2.apim.configurations.openTracer.enabled }}
[apim.open_tracer]
remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTracer.enabled }}
remote_tracer.name = {{ .Values.wso2.apim.configurations.openTracer.name | quote }}
remote_tracer.properties.hostname = {{ .Values.wso2.apim.configurations.openTracer.properties.hostname | quote }}
remote_tracer.properties.port = {{ .Values.wso2.apim.configurations.openTracer.properties.port | quote }}
{{- end }}

{{- if .Values.wso2.apim.configurations.openTelemetry.enabled }}
[apim.open_telemetry]
remote_tracer.enable = {{ .Values.wso2.apim.configurations.openTelemetry.enabled }}
remote_tracer.name = {{ .Values.wso2.apim.configurations.openTelemetry.name | quote }}
remote_tracer.hostname = {{ .Values.wso2.apim.configurations.openTelemetry.hostname | quote }}
remote_tracer.port = {{ .Values.wso2.apim.configurations.openTelemetry.port | quote }}
{{- end }}

[apim.devportal]
url = "https://{{ .Values.kubernetes.ingress.management.hostname }}/devportal"
mode = {{ .Values.wso2.apim.configurations.devportal.mode | quote }}
Expand Down
23 changes: 23 additions & 0 deletions all-in-one/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,29 @@ wso2:
# -- Enable token hashing
enableTokenHashing: false
oauth2JWKSUrl: ""

# APIM Open Tracing configurations
# https://apim.docs.wso2.com/en/latest/observe/api-manager/traces/monitoring-with-opentracing/
openTracer:
# -- Open Tracing enabled
enabled: false
# -- Remote tracer name. e.g. jaeger, zipkin
name: ""
properties:
# -- Remote tracer hostname
hostname: ""
# -- Remote tracer port
port: ""
# APIM Open Telemetry configurations
openTelemetry:
# -- Open Telemetry enabled
enabled: false
# -- Remote tracer name. e.g. jaeger, zipkin, OTLP
name: ""
# -- Remote tracer hostname
hostname: ""
# -- Remote tracer port
port: ""

# APIM Devportal configurations
devportal:
Expand Down