Skip to content

Commit

Permalink
Merge pull request #270 from planetf1/main
Browse files Browse the repository at this point in the history
  • Loading branch information
planetf1 authored Jun 29, 2023
2 parents 148705d + 496f011 commit 097ca0a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions charts/egeria-cts/templates/platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,19 @@ spec:
env:
- name: "LOADER_PATH"
value: "/opt/egeria/connectors,/deployments/server/lib"
{{ if .Values.debug.egeriaJVM }}
- name: JAVA_DEBUG
value: "true"
{{ end }}
{{ if .Values.debug.jvmopts }}
- name: JAVA_OPTS
value: {{ .Values.egeria.core.jvmopts | quote }}
{{ end }}
ports:
- containerPort: 9443
{{ if .Values.debug.egeriaJVM }}
- containerPort: 5005
{{ end }}
readinessProbe:
tcpSocket:
port: 9443
Expand Down
7 changes: 7 additions & 0 deletions charts/egeria-cts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,10 @@ image:
# installed on the cluster by an admin, or a prior install
strimzi:
enabled: true

# Debugging support
debug:
# Set to true to attach enable the java agent for IDE debugging. Also makes port 5005 available from container
egeriaJVM: false
# Override jvm parameters - for example memory, logging etc
jvmOpts:
14 changes: 14 additions & 0 deletions charts/egeria-pts/templates/pts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,22 @@ spec:
envFrom:
- configMapRef:
name: {{ .Release.Name }}-env
env:
- name: "LOADER_PATH"
value: "/opt/egeria/connectors,/deployments/server/lib"
{{ if .Values.debug.egeriaJVM }}
- name: JAVA_DEBUG
value: "true"
{{ end }}
{{ if .Values.debug.jvmopts }}
- name: JAVA_OPTS
value: {{ .Values.egeria.core.jvmopts | quote }}
{{ end }}
ports:
- containerPort: 9443
{{ if .Values.debug.egeriaJVM }}
- containerPort: 5005
{{ end }}
readinessProbe:
tcpSocket:
port: 9443
Expand Down
6 changes: 6 additions & 0 deletions charts/egeria-pts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,9 @@ image:
strimzi:
enabled: true

# Debugging support
debug:
# Set to true to attach enable the java agent for IDE debugging. Also makes port 5005 available from container
egeriaJVM: false
# Override jvm parameters - for example memory, logging etc
jvmOpts:

0 comments on commit 097ca0a

Please sign in to comment.