Skip to content
Open
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
7 changes: 7 additions & 0 deletions charts/ecosystem/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,10 @@
{{- end }}
{{- print $extraBundles }}
{{- end -}}

{{/*
Returns the maximum message size in bytes allowed for a single gRPC frame as an integer value.
*/}}
{{- define "max.grpc.message.size" -}}
{{- empty .Values.maxgRPCMessageSize | ternary ("4194304") (.Values.maxgRPCMessageSize) }}
{{- end -}}
2 changes: 2 additions & 0 deletions charts/ecosystem/templates/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ spec:
- name: JDK_JAVA_OPTIONS
value: -Djavax.net.ssl.trustStore=/galasa/certificates/cacerts
{{- end }}
- name: MAX_GRPC_MESSAGE_SIZE
value: {{ include "max.grpc.message.size" . }}
ports:
- containerPort: 9010
name: metrics
Expand Down
2 changes: 2 additions & 0 deletions charts/ecosystem/templates/custom-resource-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ spec:
- name: JDK_JAVA_OPTIONS
value: -Djavax.net.ssl.trustStore=/galasa/certificates/cacerts
{{- end }}
- name: MAX_GRPC_MESSAGE_SIZE
value: {{ include "max.grpc.message.size" . }}
ports:
- containerPort: 9010
name: metrics
Expand Down
2 changes: 2 additions & 0 deletions charts/ecosystem/templates/engine-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ spec:
- name: JDK_JAVA_OPTIONS
value: -Djavax.net.ssl.trustStore=/galasa/certificates/cacerts
{{- end }}
- name: MAX_GRPC_MESSAGE_SIZE
value: {{ include "max.grpc.message.size" . }}
ports:
- containerPort: 9010
name: metrics
Expand Down
2 changes: 2 additions & 0 deletions charts/ecosystem/templates/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ spec:
- name: JDK_JAVA_OPTIONS
value: -Djavax.net.ssl.trustStore=/galasa/certificates/cacerts
{{- end }}
- name: MAX_GRPC_MESSAGE_SIZE
value: {{ include "max.grpc.message.size" . }}
ports:
- containerPort: 9010
name: metrics
Expand Down
2 changes: 2 additions & 0 deletions charts/ecosystem/templates/resource-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ spec:
- name: JDK_JAVA_OPTIONS
value: -Djavax.net.ssl.trustStore=/galasa/certificates/cacerts
{{- end }}
- name: MAX_GRPC_MESSAGE_SIZE
value: {{ include "max.grpc.message.size" . }}
ports:
- containerPort: 9010
name: metrics
Expand Down
13 changes: 13 additions & 0 deletions charts/ecosystem/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,19 @@ resourceMonitor:
limits:
memory: "500Mi"
#
#
#
# Optional. Sets the maximum message size in bytes allowed for a single gRPC frame.
# This will be used by the KVClient that is set up to interact with the etcd3 cluster.
#
# The default value for this is 4194304.
#
# The maximum value this can be set to is 2147483647.
#
# Example value: "4194304"
#
maxgRPCMessageSize: ""
#
# The global Log4j2 configuration properties applied to all Galasa service pods.
# By default, a console appender with debug level logging is configured to send logs to stdout.
#
Expand Down