Example of additionalEnvironmentVariables usage, Helm charts

Hi,

We are trying out the helm charts for deploying atlassian products on K8s.

The documentation for manipulating the values.yaml is here: jira 1.12.0 · atlassian/atlassian-data-center

We are trying to pass in additional environment variables using additionalEnvironmentVariables, but can’t find a working example. It should be a list, so guessing that we could use something like

additionalEnvironmentVariables:
  - name: JVM_SUPPORT_RECOMMENDED_ARGS
    value: "-Datlassian.recovery.password=temp123"

However, we seem to fail. Is this the correct syntax?

1 Like

For anyone who might need this in the future: Instead, use additionalJVMArgs:

  # Specifies a list of additional arguments that can be passed to the Jira JVM, e.g.
  # system properties.
  #
  additionalJvmArgs:
    - "-Datlassian.recovery.password=secretpassword"

Hope this helps someone.

1 Like

hi, do you found a solution?
we have the issue in Crowd!
we add

      additionalEnvironmentVariables: 
        - name: ATL_PROXY_PORT
          value: "443"

but it will not transfere to server.xml

! we set the same for jira. after restart the statefulset the value was transfere to server.xml (in jira)

Hi, as you can see from my reply to the original post, we found a solution. Your use case is a little bit different, as you need an environment variable, and not a JVM arg.

Maybe Atlassian support can help you?