Skip to content

Commit

Permalink
Add extra atlassian opts (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehipwell authored Jun 3, 2020
1 parent ed5962e commit 646ff79
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/confluence-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: confluence-server
version: 2.2.1
version: 2.2.2
appVersion: 7.5.0
description: Atlassian Confluence Server is where you create, organise and discuss work with your team. Capture the knowledge that's too often lost in email inboxes and shared network drives in Confluence - where it's easy to find, use, and update. Give every team, project, or department its own space to create the things they need, whether it's meeting notes, product requirements, file lists, or project plans, you can get more done in Confluence.
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/confluence-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ The following table lists the configurable parameters of the _Confluence Server_
| `envVars.jvmMaxMemory` | JVM maximum memory | `768M` |
| `envVars.jvmMemoryOptions` | JVM memory options | `-XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=10m` |
| `envVars.synchronyMaxMemory` | Synchrony maximum memory | `0m` |
| `envVars.opts` | Additional options, this can be used to set _CATALINA_OPTS_ | `""` |
| `env` | List of environmental variable to apply to the deployment | `nil` |
| `persistence.enabled` | Create a volume (PVC) for storage | `false` |
| `persistence.existingClaim` | An existing PVC to use instead of creating a new one | `nil` |
Expand Down
4 changes: 2 additions & 2 deletions charts/confluence-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ spec:
value: {{ .Values.envVars.jvmMaxMemory | quote }}
- name: JVM_SUPPORT_RECOMMENDED_ARGS
{{- if .Values.caCerts }}
value: {{ printf "-Djavax.net.ssl.trustStore=/var/atlassian/application-data/confluence/cacerts %s -Dsynchrony.memory.max=%s" .Values.envVars.jvmMemoryOptions .Values.envVars.synchronyMaxMemory | quote }}
value: {{ printf "-Djavax.net.ssl.trustStore=/var/atlassian/application-data/confluence/cacerts %s -Dsynchrony.memory.max=%s %s" .Values.envVars.jvmMemoryOptions .Values.envVars.synchronyMaxMemory .Values.envVars.opts | trim | quote }}
{{- else }}
value: {{ printf "%s -Dsynchrony.memory.max=%s" .Values.envVars.jvmMemoryOptions .Values.envVars.synchronyMaxMemory | quote }}
value: {{ printf "%s -Dsynchrony.memory.max=%s %s" .Values.envVars.jvmMemoryOptions .Values.envVars.synchronyMaxMemory .Values.envVars.opts | trim | quote }}
{{- end }}
{{- if .Values.ingress.enabled }}
- name: ATL_PROXY_NAME
Expand Down
1 change: 1 addition & 0 deletions charts/confluence-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ envVars:
jvmMaxMemory: 768M
jvmMemoryOptions: "-XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=10m"
synchronyMaxMemory: "0m"
opts: ""

# env:
# - name: VARIABLE
Expand Down
2 changes: 1 addition & 1 deletion charts/jira-software/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: jira-software
version: 2.1.0
version: 2.1.1
appVersion: 8.9.0
description: Atlassian Jira Software is built for every member of your software team to plan, track, and release great software.
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/jira-software/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ The following table lists the configurable parameters of the _Jira Software_ cha
| `envVars.jvmMinMemory` | JVM minimum memory | `384M` |
| `envVars.jvmMaxMemory` | JVM maximum memory | `768M` |
| `envVars.jvmMemoryOptions` | JVM memory options | `-XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=10m` |
| `envVars.opts` | Additional options | `""` |
| `env` | List of environmental variable to apply to the deployment | `nil` |
| `persistence.enabled` | Create a volume (PVC) for storage | `false` |
| `persistence.existingClaim` | An existing PVC to use instead of creating a new one | `nil` |
Expand Down
4 changes: 2 additions & 2 deletions charts/jira-software/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ spec:
value: {{ .Values.envVars.jvmMaxMemory | quote }}
- name: JVM_SUPPORT_RECOMMENDED_ARGS
{{- if .Values.caCerts }}
value: {{ printf "-Djavax.net.ssl.trustStore=/var/atlassian/application-data/jira/cacerts %s" .Values.envVars.jvmMemoryOptions | quote }}
value: {{ printf "-Djavax.net.ssl.trustStore=/var/atlassian/application-data/jira/cacerts %s %s" .Values.envVars.jvmMemoryOptions .Values.envVars.opts | trim | quote }}
{{- else }}
value: {{ .Values.envVars.jvmMemoryOptions | quote }}
value: {{ printf "%s %s" .Values.envVars.jvmMemoryOptions .Values.envVars.opts | trim | quote }}
{{- end }}
{{- if .Values.ingress.enabled }}
- name: ATL_PROXY_NAME
Expand Down
1 change: 1 addition & 0 deletions charts/jira-software/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ envVars:
jvmMinMemory: 384M
jvmMaxMemory: 768M
jvmMemoryOptions: "-XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=10m"
opts: ""

# env:
# - name: VARIABLE
Expand Down

0 comments on commit 646ff79

Please sign in to comment.