Helm values

Latest version: 1.15.1 Helm repo

When you create a project with PaaS, a values.yml file is generated for you from the PaaS Helm Chart. The values.yml file contains important project information for configuring items such as:

Can I change the configuration values in the values.yml file?

Yes, you can change the values for certain properties in the values.yml file. However, it’s important that you don’t change some values as this could have serious consequences for your project.

This page guides you through the properties that you can change while helping you avoid changing the wrong properties.

Ingresses

An Ingress resource defines rules for how external HTTP/HTTPS traffic should be routed to services within a cluster. The ingress: section in the values.yml file contains configurable properties around enabling the ingress, annotations, hosts, and transport layer security.

The properties shown in the example below are configurable.

You should not change any property other than those highlighted here.
ingress:
  enabled: true (1)
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/proxy-body-size: 512m
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
  hosts:
  - host: {{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io
    paths:
    - path: /
      instance: author
  - host: {{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io
    paths:
    - path: /
      instance: public
  tls:
  - hosts:
    - {{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io
    - {{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io
#    - {{ .Env.DEPLOYMENT }}.frontend-author.paastraining.magnolia-platform.io
#    - {{ .Env.DEPLOYMENT }}.frontend-public.paastraining.magnolia-platform.io
    secretName: {{ .Env.DEPLOYMENT }}-paastraining-magnolia-platform-io
…​
1 enabled must be true for the ingress configuration to work. true is the default value when creating a PaaS project.


Ingress properties

Property Description

enabled

Enable or disable the ingress file.

annotations

While a basic Ingress allows you to define hostnames, paths, and rules, annotations extend its functionality with more advanced configurations. Usually, annotations are used to enhance security, manage traffic, and handle custom behaviors.


This is the section where you add any necessary annotations for your project. See Annotations for more details on different annotation options.

If in doubt, check with PaaS support before adding any additional annotations.

hosts

Specify hosts.

tls

Specify hosts using transport layer security.

Specify a secret name here if you already have a certificate stored and know its name. If this is not specified, lets-encrypt is used to issue a new certificate.

Example
  tls:
  - hosts:
    - {{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io
    - {{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io
    secretName: {{ .Env.DEPLOYMENT }}-paastraining-magnolia-platform-io (1)
1 Specify the secretName.

Annotations

This section provides you with some annotation examples that you can use in your PaaS project.

  • Whitelisting IPs

  • Request body buffer

If you need to whitelist a range of IPs, this can be set using an ingress annotation. The annotation specifies a list of allowed IP ranges in CIDR format, separated by commas.

If you have a CDN, the CDN IPs must be entered in the whitelist range. If you have an internal service, the service’s IPs must be entered in the whitelist range.

    nginx.ingress.kubernetes.io/whitelist-source-range: "192.168.1.1/32, 10.0.0.0/16"

You might want to control the buffer size that NGINX uses to store the request body before passing it on to the backend service. This is useful when dealing with larger payloads, such as file uploads.

    nginx.ingress.kubernetes.io/client-body-buffer-size: "16k"  (1)
1 NGINX uses a buffer size of 16k or 8k depending on the platform (16k for 64-bit systems, 8k for 32-bit systems). You can also define the size using k for kilobytes, m for megabytes, or bytes with no suffix required.

Images

The image: section of your values.yml file decides which image to use, how to pull the image, and whether authentication is needed, as it would be in the case for private registries.

The properties shown in the example below are configurable.

You should not change any property other than those highlighted here.
  image:
    pullSecrets: (1)
      - name: gitlab
    pullPolicy: Always (2)
1 Provides credentials for pulling images from private registries. In this case, gitlab is used to pull from the private GitLab container registry.
2 Defines when to pull the image. Options are Always, IfNotPresent, Never.

Magnolia Author

The magnoliaAuthor section of your values.yml file handles important configuration for the Magnolia Author instance. The author instance is where authors, also sometimes referred to as editors, are able to create and edit pages, and publish content.

The properties shown in the example below are configurable.

You should not change any property other than those highlighted here.
  magnoliaAuthor:
    enabled: true
    restartPolicy: Always
    redeploy: true
    bootstrap:
      password: superuser!
    activation:
      useExistingSecret: False
    contextPath: /
    base_url: https://{{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io/
    sameSiteCookies: strict
    env:
      - name: instance
        value: "author"
      - name: deployment
        value: {{ .Env.DEPLOYMENT }}
      - name: magnolia.superuser.enabled
        value: "true"
      - name: magnolia.superuser.password
        value: "superuser!"
      - name: magnolia.bootstrap.license.owner
        value: "[replace with email]"
      - name: magnolia.bootstrap.license.key
        value: "[replace with key]"
    setenv:
      memory:
        minPercentage: 25
        maxPercentage: 60
    rescueModeDX: False
    catalinaExtraEnv:
      magnolia.yaml.envsubst: "true"
    resources:
      requests:
        memory: 4Gi
      limits:
        memory: 4Gi
    livenessProbe:
      enabled: true
      path: "/.rest/status"

    db:
      tag: 15-alpine (1)
      persistence:
        size: "10Gi"
      contentsync:
        enabled: true
      restore:
        enabled: False
      backup:
        enabled: True
        env:
          - name: MGNLBACKUP_USE_PG_WAL
            value: "true"
          - name: MGNLBACKUP_SYNC_DIR
            value: "/archive"
          - name: MGNLBACKUP_NO_STDOUT
            value: "true"
          - name: MGNLBACKUP_LOGLEVEL
            value: "debug"
          - name: MGNLBACKUP_BUCKET
            value: "paastraining-backup-bucket"
          - name: MGNLBACKUP_PREFIX
            value: "{{ .Env.DEPLOYMENT }}/author"
          - name: MGNLBACKUP_CRON
            value: "0 3 * * *"
          - name: MGNLBACKUP_KEEPDAYS
            value: "30"
          - name: MGNLBACKUP_TAGS_RELEASE
            value: {{ .Env.DEPLOYMENT }}
          #
          # Choose backup location based on cloud provider of the cluster
          #
          # Backup to S3
          - name: MGNLBACKUP_S3_ENDPOINT
            value: "s3.eu-central-1.amazonaws.com"
          - name: MGNLBACKUP_S3_REGION
            value: "eu-central-1"
          - name: MGNLBACKUP_S3_ACCESSKEY
            valueFrom:
              secretKeyRef:
                name: s3-backup-key
                key: accesskey
          - name: MGNLBACKUP_S3_SECRETKEY
            valueFrom:
              secretKeyRef:
                name: s3-backup-key
                key: secretkey
1 The PostgreSQL version. This is for informational purposes only. You should not change this property.

Magnolia Author properties

Property Description

enabled

Boolean that enables the author instance. If set to false, no author instance is deployed.

restartPolicy

Should always be set to Always.

redeploy

Boolean for redeploying the author instance if there is a change to the parent Helm chart.

  • true = redploys on helm upgrades even if no changes were made.

  • false = does not redeploy on helm upgrades.

contextPath

The context path for the instance.

You must always have a leading slash /.


Example: /author

base_url

The Magnolia base URL.


Example: https://{{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io/

rescueModeDX

Boolean to determine if rescue mode is enabled or not.

Default: false

For more details on this topic, see Rescue App.

catalinaExtraEnv

The environment variables that are added to CATALINA_OPTS[1].

You can add your own environment variables here.


See DX Core: Environment variables for more details.


1. CATALINA_OPTS is an environment variable that allows you to specify options and arguments passed to the JVM (Java Virtual Machine) when starting Tomcat.

setenv

Under setenv, you should only configure the values for minPercentage and maxPercentage. These are the minimum (or maximum) percentage of pod memory allocated to the heap.

The heap is where Java objects and data structures are stored during runtime.

resources

In the resources: section, you control how much memory is allocated to pod requests as well as set limits to the pod memory. This is measured in Gi (gibibytes) which is approximately 1.1 Gigabyte (GB).

  resources:
    requests:
      memory: 4Gi (1)
    limits:
      memory: 4Gi (2)
1 Set the memory limit for pod requests.
2 Set the memory limit for the pod.

logging

Use this section to overwrite Tomcat logging lines. You can define the level such as DEBUg as well as set the pattern.

  logging:
    level: DEBUG (1)
    pattern: "%d %-5p %-50.50c: %m%n" (2)
1 Sets the logging level. This is either INFO, WARN, ERROR, FATAL, OR DEBUG. DEBUG is the most verbose, capturing the most granular details for logging purposes.
2 Defines the log message format.

Format example explained

  • %d - The date of the log entry.

  • %-5p - The log level (e.g., DEBUG, INFO) padded to 5 characters.

  • %-50.50c - The logger name, limited to 50 characters. The logger is often associated with the class or package name from which the log entry originates.

  • %m - The actual log message.

  • %n - A newline character, used to ensure each log entry starts on a new line.

db

The db section controls database related properties such as the persistence size and whether backups are made or not.

  db:
    tag: 15-alpine (1)
    persistence:
      size: "10Gi" (2)
    contentsync:
      enabled: true
    restore:
      enabled: False
    backup: (3)
      enabled: True
      env:
        - name: MGNLBACKUP_USE_PG_WAL
          value: "true"
        - name: MGNLBACKUP_SYNC_DIR
          value: "/archive"
        - name: MGNLBACKUP_NO_STDOUT
          value: "true"
        - name: MGNLBACKUP_LOGLEVEL
          value: "debug"
        - name: MGNLBACKUP_BUCKET (4)
          value: "paastraining-backup-bucket"
        - name: MGNLBACKUP_PREFIX
          value: "{{ .Env.DEPLOYMENT }}/author"
        - name: MGNLBACKUP_CRON
          value: "0 3 * * *"
        - name: MGNLBACKUP_KEEPDAYS
          value: "30"
        - name: MGNLBACKUP_TAGS_RELEASE
          value: {{ .Env.DEPLOYMENT }}
        #
        # Choose backup location based on cloud provider of the cluster
        #
        # Backup to S3
        - name: MGNLBACKUP_S3_ENDPOINT
          value: "s3.eu-central-1.amazonaws.com"
        - name: MGNLBACKUP_S3_REGION
          value: "eu-central-1"
        - name: MGNLBACKUP_S3_ACCESSKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: accesskey
        - name: MGNLBACKUP_S3_SECRETKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: secretkey
1 The PostgreSQL version. This is for informational purposes only. You should not change this property.
2 Sets the volume size of the database. 10Gi is typically sufficient for a dev environment, 100Gi for production.
3 Defines that backups of the database are taken and stored to an S3 bucket or Azure storage (depending on your cloud provider) provisioned by Magnolia.
4 The value of MGNLBACKUP_BUCKET is provided to you by Magnolia.

Magnolia Public

The magnoliaPublic section of your values.yml file handles important configuration for the Magnolia Public instance. The public instance is the publicly viewable instance for your site.

The properties shown in the example below are configurable.

You should not change any property other than those highlighted here.
  magnoliaPublic:
    enabled: true
    restartPolicy: Always
    redeploy: true
    bootstrap:
      password: superuser!
    activation:
      useExistingSecret: False
    contextPath: /
    base_url: https://{{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io/
    sameSiteCookies: strict
    env:
      - name: instance
        value: "public"
      - name: deployment
        value: {{ .Env.DEPLOYMENT }}
      - name: magnolia.superuser.enabled
        value: "true"
      - name: magnolia.superuser.password
        value: "superuser!"
      - name: magnolia.bootstrap.license.owner
        value: "[replace with email]"
      - name: magnolia.bootstrap.license.key
        value: "[replace with key]"
    setenv:
      memory:
        minPercentage: 25
        maxPercentage: 60
    rescueModeDX: False
    catalinaExtraEnv:
      magnolia.yaml.envsubst: "true"
    resources:
      requests:
        memory: 4Gi
      limits:
        memory: 4Gi
    livenessProbe:
      enabled: true
      path: "/.rest/status"

    db:
      tag: 15-alpine (1)
      persistence:
        size: "10Gi"
      contentsync:
        enabled: true
      restore:
        enabled: False
      backup:
        enabled: True
        env:
          - name: MGNLBACKUP_USE_PG_WAL
            value: "true"
          - name: MGNLBACKUP_SYNC_DIR
            value: "/archive"
          - name: MGNLBACKUP_NO_STDOUT
            value: "true"
          - name: MGNLBACKUP_LOGLEVEL
            value: "debug"
          - name: MGNLBACKUP_BUCKET
            value: "paastraining-backup-bucket"
          - name: MGNLBACKUP_PREFIX
            value: "{{ .Env.DEPLOYMENT }}/public"
          - name: MGNLBACKUP_CRON
            value: "0 3 * * *"
          - name: MGNLBACKUP_KEEPDAYS
            value: "30"
          - name: MGNLBACKUP_TAGS_RELEASE
            value: {{ .Env.DEPLOYMENT }}
          #
          # Choose backup location based on cloud provider of the cluster
          #
          # Backup to S3
          - name: MGNLBACKUP_S3_ENDPOINT
            value: "s3.eu-central-1.amazonaws.com"
          - name: MGNLBACKUP_S3_REGION
            value: "eu-central-1"
          - name: MGNLBACKUP_S3_ACCESSKEY
            valueFrom:
              secretKeyRef:
                name: s3-backup-key
                key: accesskey
          - name: MGNLBACKUP_S3_SECRETKEY
            valueFrom:
              secretKeyRef:
                name: s3-backup-key
                key: secretkey
1 The PostgreSQL version. This is for informational purposes only. You should not change this property.

Magnolia public properties

Property Description

enabled

Boolean that enables the public instance. If set to false, no public instance is deployed.

restartPolicy

Should always be set to Always.

redeploy

Boolean for redeploying the public instance if there is a change to the parent Helm chart.

  • true = redploys on helm upgrades even if no changes were made.

  • false = does not redeploy on helm upgrades.

contextPath

The context path for the instance.

You must always have a leading slash /.


Example: /public

base_url

The Magnolia base URL.


Example: https://{{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io/

rescueModeDX

Boolean to determine if rescue mode is enabled or not.

Default: false

For more details on this topic, see Rescue App.

catalinaExtraEnv

The environment variables that are added to CATALINA_OPTS[2].

You can add your own environment variables here.


See DX Core: Environment variables for more details.


2. CATALINA_OPTS is an environment variable that allows you to specify options and arguments passed to the JVM (Java Virtual Machine) when starting Tomcat.

setenv

Under setenv, you should only configure the values for minPercentage and maxPercentage. These are the minimum (or maximum) percentage of pod memory allocated to the heap.

The heap is where Java objects and data structures are stored during runtime.

resources

In the resources: section, you control how much memory is allocated to pod requests as well as set limits to the pod memory. This is measured in Gi (gibibytes) which is approximately 1.1 Gigabyte (GB).

  resources:
    requests:
      memory: 4Gi (1)
    limits:
      memory: 4Gi (2)
1 Set the memory limit for pod requests.
2 Set the memory limit for the pod.

logging

Use this section to overwrite Tomcat logging lines. You can define the level such as DEBUg as well as set the pattern.

  logging:
    level: DEBUG (1)
    pattern: "%d %-5p %-50.50c: %m%n" (2)
1 Sets the logging level. This is either INFO, WARN, ERROR, FATAL, OR DEBUG. DEBUG is the most verbose, capturing the most granular details for logging purposes.
2 Defines the log message format.

Format example explained

  • %d - The date of the log entry.

  • %-5p - The log level (e.g., DEBUG, INFO) padded to 5 characters.

  • %-50.50c - The logger name, limited to 50 characters. The logger is often associated with the class or package name from which the log entry originates.

  • %m - The actual log message.

  • %n - A newline character, used to ensure each log entry starts on a new line.

db

The db section controls database related properties such as the persistence size and whether backups are made or not.

  db:
    tag: 15-alpine (1)
    persistence:
      size: "10Gi" (2)
    contentsync:
      enabled: true
    restore:
      enabled: False
    backup: (3)
      enabled: True
      env:
        - name: MGNLBACKUP_USE_PG_WAL
          value: "true"
        - name: MGNLBACKUP_SYNC_DIR
          value: "/archive"
        - name: MGNLBACKUP_NO_STDOUT
          value: "true"
        - name: MGNLBACKUP_LOGLEVEL
          value: "debug"
        - name: MGNLBACKUP_BUCKET (4)
          value: "paastraining-backup-bucket"
        - name: MGNLBACKUP_PREFIX
          value: "{{ .Env.DEPLOYMENT }}/public"
        - name: MGNLBACKUP_CRON
          value: "0 3 * * *"
        - name: MGNLBACKUP_KEEPDAYS
          value: "30"
        - name: MGNLBACKUP_TAGS_RELEASE
          value: {{ .Env.DEPLOYMENT }}
        #
        # Choose backup location based on cloud provider of the cluster
        #
        # Backup to S3
        - name: MGNLBACKUP_S3_ENDPOINT
          value: "s3.eu-central-1.amazonaws.com"
        - name: MGNLBACKUP_S3_REGION
          value: "eu-central-1"
        - name: MGNLBACKUP_S3_ACCESSKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: accesskey
        - name: MGNLBACKUP_S3_SECRETKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: secretkey
1 The PostgreSQL version. This is for informational purposes only. You should not change this property.
2 Sets the volume size of the database. 10Gi is typically sufficient for a dev environment, 100Gi for production.
3 Defines that backups of the database are taken and stored to an S3 bucket or Azure storage (depending on your cloud provider) provisioned by Magnolia.
4 The value of MGNLBACKUP_BUCKET is provided to you by Magnolia.

Jars

If you need external JARs or libraries that should be packaged or made available to your PaaS project during runtime, you should add them to the jars: section of the values.yml file.

The following example shows how the PostgreSQL JDBC driver is loaded.

jars: (1)
  - name: postgres-jdbc
    repository: registry.gitlab.com/mironet/magnolia-jar/postgres-42.2.8
    tag: v0.0.1
    env:
      - name: INIT_DEST (2)
        value: /app/magnolia/WEB-INF/lib
    initScript: /init.sh (3)
1 Add additional JARS in the jars: section. Do not change any default JARS.
2 As of now the only tasks expected from init containers is to copy files to a target directory specified by the env var INIT_DEST.
3 This chart expects the init containers to contain an /init.sh script which is called as the only command.

Timezone

You can set the timezone for your Magnolia instances within the values.yml file.

You should not change any property other than those highlighted here.
timezone: Europe/Zurich (1)
1 Set the timezone for your Magnolia instances.

Reference file

This section contains a full example file for reference. When your project is created, a file similar to the following is generated.

The preceding specific sections are shown in full here in the sample values.yml file.

Reference values.yml file

An example file is shown here. You can also Download the file if you would like.

ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.ingress.kubernetes.io/proxy-body-size: 512m
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
  #
  # run author and public in different contexts and use the same domain name
  # only one of these hosts/tls sections may be active
  #
#  hosts:
#  - host: {{ .Env.DEPLOYMENT }}.paastraining.magnolia-platform.io
#    paths:
#    - path: /
#      instance: public
#    - path: /author
#      instance: author
#  tls:
#  - hosts:
#    - {{ .Env.DEPLOYMENT }}.paastraining.magnolia-platform.io
#    secretName: {{ .Env.DEPLOYMENT }}-paastraining-magnolia-platform-io
  #
  # run author and public in ROOT context and use different domain names
  # only one of these hosts/tls sections may be active
  #
  hosts:
  - host: {{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io
    paths:
    - path: /
      instance: author
  - host: {{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io
    paths:
    - path: /
      instance: public
#  - host: {{ .Env.DEPLOYMENT }}.frontend-author.paastraining.magnolia-platform.io
#    paths:
#      - path: /
#        instance: frontend-author
#  - host: {{ .Env.DEPLOYMENT }}.frontend-public.paastraining.magnolia-platform.io
#    paths:
#    - path: /
#      instance: frontend-public
  tls:
  - hosts:
    - {{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io
    - {{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io
#    - {{ .Env.DEPLOYMENT }}.frontend-author.paastraining.magnolia-platform.io
#    - {{ .Env.DEPLOYMENT }}.frontend-public.paastraining.magnolia-platform.io
    secretName: {{ .Env.DEPLOYMENT }}-paastraining-magnolia-platform-io
image:
  pullSecrets:
    - name: gitlab
  pullPolicy: Always
magnoliaAuthor:
  enabled: true
  restartPolicy: Always
  redeploy: true
  bootstrap:
    password: superuser!
  activation:
    useExistingSecret: False
  #
  # run author and public in different contexts and use the same domain name
  # only one of these contextPath/base_url values may be active
  #
#  contextPath: /author
#  base_url: https://{{ .Env.DEPLOYMENT }}.paastraining.magnolia-platform.io/author
  #
  # run author and public in ROOT context and use different domain names
  # only one of these contextPath/base_url values may be active
  #
  contextPath: /
  base_url: https://{{ .Env.DEPLOYMENT }}.author.paastraining.magnolia-platform.io/
  sameSiteCookies: strict
  webarchive:
    repository: {{ .Env.CI_REGISTRY_IMAGE }}/magnolia-webapp
    tag: {{ .Env.GIT_TAG | quote }}
  env:
    - name: instance
      value: "author"
    - name: deployment
      value: {{ .Env.DEPLOYMENT }}
    - name: magnolia.superuser.enabled
      value: "true"
    - name: magnolia.superuser.password
      value: "superuser!"
    - name: magnolia.bootstrap.license.owner
      value: "[replace with email]"
    - name: magnolia.bootstrap.license.key
      value: "[replace with key]"
  setenv:
    memory:
      maxPercentage: 80
  resources:
    requests:
      memory: 4Gi
    limits:
      memory: 4Gi
  livenessProbe:
    enabled: true
    path: "/.rest/status"

  db:
    tag: 15-alpine
    persistence:
      size: "10Gi"
    contentsync:
      enabled: true
    restore:
      enabled: False
    backup:
      enabled: True
      env:
        - name: MGNLBACKUP_USE_PG_WAL
          value: "true"
        - name: MGNLBACKUP_SYNC_DIR
          value: "/archive"
        - name: MGNLBACKUP_NO_STDOUT
          value: "true"
        - name: MGNLBACKUP_LOGLEVEL
          value: "debug"
        - name: MGNLBACKUP_BUCKET
          value: "paastraining-backup-bucket"
        - name: MGNLBACKUP_PREFIX
          value: "{{ .Env.DEPLOYMENT }}/author"
        - name: MGNLBACKUP_CRON
          value: "0 3 * * *"
        - name: MGNLBACKUP_KEEPDAYS
          value: "30"
        - name: MGNLBACKUP_TAGS_RELEASE
          value: {{ .Env.DEPLOYMENT }}
        #
        # Choose backup location based on cloud provider of the cluster
        #
        # Backup to S3
        - name: MGNLBACKUP_S3_ENDPOINT
          value: "s3.eu-central-1.amazonaws.com"
        - name: MGNLBACKUP_S3_REGION
          value: "eu-central-1"
        - name: MGNLBACKUP_S3_ACCESSKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: accesskey
        - name: MGNLBACKUP_S3_SECRETKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: secretkey
        # Backup to Azure storage
#        - name: MGNLBACKUP_AZ_ACCOUNT_NAME
#          valueFrom:
#            secretKeyRef:
#              name: az-backup-key
#              key: AccountName
#        - name: MGNLBACKUP_AZ_ACCOUNT_KEY
#          valueFrom:
#            secretKeyRef:
#              name: az-backup-key
#              key: AccountKey

magnoliaPublic:
  enabled: true
  replicas: 1
  restartPolicy: Always
  bootstrap:
    password: superuser!
  activation:
    useExistingSecret: False
  contextPath: /
  #
  # run author and public in different contexts and use the same domain name
  # only one of these base_url values may be active
  #
#  base_url: https://{{ .Env.DEPLOYMENT }}.paastraining.magnolia-platform.io/
  #
  # run author and public in ROOT context and use different domain names
  # only one of these base_url values may be active
  #
  base_url: https://{{ .Env.DEPLOYMENT }}.public.paastraining.magnolia-platform.io/
  sameSiteCookies: strict
  webarchive:
    repository: {{ .Env.CI_REGISTRY_IMAGE }}/magnolia-webapp
    tag: {{ .Env.GIT_TAG | quote }}
  env:
    - name: instance
      value: "public"
    - name: deployment
      value: {{ .Env.DEPLOYMENT }}
    - name: magnolia.superuser.enabled
      value: "true"
    - name: magnolia.superuser.password
      value: "superuser!"
    - name: magnolia.bootstrap.license.owner
      value: "[replace with email]"
    - name: magnolia.bootstrap.license.key
      value: "[replace with key]"
  setenv:
    memory:
      maxPercentage: 80
  resources:
    requests:
      memory: 4Gi
    limits:
      memory: 4Gi
  livenessProbe:
    enabled: true
    path: "/.rest/status"
  db:
    tag: 15-alpine
    persistence:
      size: "10Gi"
    contentsync:
      enabled: true
    restore:
      enabled: False
    backup:
      enabled: True
      env:
        - name: MGNLBACKUP_USE_PG_WAL
          value: "true"
        - name: MGNLBACKUP_SYNC_DIR
          value: "/archive"
        - name: MGNLBACKUP_NO_STDOUT
          value: "true"
        - name: MGNLBACKUP_LOGLEVEL
          value: "debug"
        - name: MGNLBACKUP_BUCKET
          value: "paastraining-backup-bucket"
        - name: MGNLBACKUP_PREFIX
          value: "{{ .Env.DEPLOYMENT }}/public"
        - name: MGNLBACKUP_CRON
          value: "0 3 * * *"
        - name: MGNLBACKUP_KEEPDAYS
          value: "30"
        - name: MGNLBACKUP_TAGS_RELEASE
          value: {{ .Env.DEPLOYMENT }}
        #
        # Choose backup location based on cloud provider of the cluster
        #
        # Backup to S3
        - name: MGNLBACKUP_S3_ENDPOINT
          value: "s3.eu-central-1.amazonaws.com"
        - name: MGNLBACKUP_S3_REGION
          value: "eu-central-1"
        - name: MGNLBACKUP_S3_ACCESSKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: accesskey
        - name: MGNLBACKUP_S3_SECRETKEY
          valueFrom:
            secretKeyRef:
              name: s3-backup-key
              key: secretkey
        # Backup to Azure storage
#        - name: MGNLBACKUP_AZ_ACCOUNT_NAME
#          valueFrom:
#            secretKeyRef:
#              name: az-backup-key
#              key: AccountName
#        - name: MGNLBACKUP_AZ_ACCOUNT_KEY
#          valueFrom:
#            secretKeyRef:
#              name: az-backup-key
#              key: AccountKey


# Additional jars which should be loaded into tomcat can be specified here.
jars:
  - name: jmx-exporter
    repository: registry.gitlab.com/mironet/magnolia-jar
    tag: jmx_prometheus_javaagent-0.13.0
    env:
      - name: INIT_DEST
        value: /extraLibs/
    initScript: /init.sh
Feedback

PaaS

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Magnolia PaaS docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules