cmsms
by OLED1
CMS Made Simple. An easy to use CMS System.
About this chart
CMS Made Simple helm chart
This Helm chart is a custom helm chart packaged by OLED1. There is no official support from CMS Made Simple (CMS Made Simple Foundation) itself. Active unofficial supported chart. If a new version will be released a new updated package will be created.
BREAKING CHANGES by upgrading 0.1.x to 0.2.x !!!
From 0.1.x to 0.2.0
⚠️ 0.2.0 contains breaking changes. Review your values file before upgrading. Do not use
helm upgrade --reuse-valuesfor this upgrade — pass your adapted values file explicitly.
Existing secrets: new format, legacy format still accepted
All existingSecret settings now accept a plain string (the secret name), following the
Bitnami convention. Empty string = disabled. When set, the plain-text credentials of that
section are ignored. The name is rendered through tpl, so "{{ .Release.Name }}-creds" works.
With the string format, the secret must use the same key names as the chart-generated secret:
| Setting | Required keys |
|---|---|
externalDatabase.existingSecret | db-username, db-password |
cmsms_settings.db_authentication.existingSecret (new) | db-username, db-password |
cmsms_settings.initial_user.existingSecret | cmsms_username, cmsms_password, cmsms_email |
cmsms_settings.setup_smtp.smtp_auth.existingSecret | cmsms_smtp_username, cmsms_smtp_password |
mariadb.auth.existingSecret (Bitnami, string only) | mariadb-root-password, mariadb-password |
New format (recommended):
externalDatabase:
existingSecret: my-db-secret # must contain db-username / db-password
Legacy format (deprecated, still supported in 0.2.x):
externalDatabase:
existingSecret:
enabled: true
secretName: my-db-secret
usernameKey: user # optional, custom key names are honored
passwordKey: pass
# emailKey: mail # initial_user only
The legacy object format keeps working, including custom key names. helm install/upgrade
prints a deprecation warning listing the affected settings. It will be removed in a future
release — migrate to the string format.
When using the legacy format, Helm may log a harmless warning like:
coalesce.go:289: warning: destination for cmsms.cmsms_settings.initial_user.existingSecret is a table. Ignoring non-table value ()
This only means Helm replaced the string default from values.yaml with your object. The rendered
output is correct. The warning disappears once you switch to the string format.
Typos in the legacy object (e.g. secretname) are rejected by the schema.
mariadb.auth.existingSecret is passed to the Bitnami subchart and must be a string.
Internal database with mariadb.auth.existingSecret
New section cmsms_settings.db_authentication. When mariadb.auth.existingSecret is set,
CMSMS takes its database credentials from here:
db_authentication.existingSecret: secret withdb-username/db-password, ordb_authentication.username/password: must matchmariadb-passwordin the MariaDB secret.
Without mariadb.auth.existingSecret, mariadb.auth.username / password are used as before.
Other breaking changes
nameOverride/fullnameOverridemoved to the top level. Undercmsms_appthey never had an effect. Setting them now changes resource names; only set them if you actually want that.- External database no longer gets
MYSQL_ROOT_PASSWORD. Previously the pod referenced a non-existent<release>-mariadbsecret in this mode. smtp_auth.auth_needed: falseis now respected. It previously always rendered"true".- SMTP credentials are required when
auth_needed: trueand noexistingSecretis set. The fallback defaults (cmsms_smtp/changeme!) were removed. - Initial admin password is now persistent. If
initial_user.passwordis empty, the generated password is kept across upgrades (vialookup). Withhelm template/ ArgoCD,lookupis not available: set the password explicitly or useexistingSecret. cmsms_app.strategyis now applied (default:RollingUpdate,maxSurge: 1,maxUnavailable: 0). Withpersistence.accessMode: ReadWriteOnce, the new pod may fail with a Multi-Attach error if scheduled on another node — useReadWriteManyor setstrategy.type: Recreate.- Pods restart on secret changes (checksum annotations on the pod template).
- Chart-generated secrets are only rendered when needed. When you switch to an
existingSecret, Helm deletes the now-unused<release>-db/<release>-secrets. - Validation:
mariadb.enabledandexternalDatabase.enabledmust not both betrue. helm testfixed: the connection test now targets the correct service (<fullname>-app).
Upgrade procedure
# 1. Compare your values with the new defaults
helm show values <repo>/cmsms --version 0.2.0 > values-0.2.0.yaml
diff -u my-values.yaml values-0.2.0.yaml
# 2. Adapt your values (see above); legacy existingSecret objects may stay for now
# 3. Render and review before applying
helm template my-release <repo>/cmsms --version 0.2.0 -f my-values.yaml
# 4. Upgrade with the adapted values file (no --reuse-values)
helm upgrade my-release <repo>/cmsms --version 0.2.0 -f my-values.yaml
Prerequisites
- Kubernetes installed
- Helm installed and configured. See here
- (Optional) Kubeapps (Helm GUI) installed. See here
Short app description
CMS Made Simple (CMSMS) is a free, open source (GPL) content management system (CMS) to provide developers, programmers and site owners a web-based development and administration area. In 2017 it won the CMS Critic annual award for Best Open Source Content Management.
Documentation
- The official documentation can be found here: https://docs.cmsmadesimple.org/
Installation
This helm chart fully installs the CMSMS (CMS Made Simple) App with default content and stylesheets. Just fill out the values.yaml file or use Visual Editor to deploy the application.
Please Note: Pretty URL's are configured per default. Just use the default htaccess file.
Set container timezone
Some system modules need a correct system time like the news module. In the following list you can find valid settings. See here
cmsms_settings:
app_config:
timezone: Europe/Vienna #<--- Just an example. Use your timezone.
Not included in visual editor
Ingress hostname and tls configuration
By setting up the ingress controller your application can be made available through the internet. By adapting and applying the following config your application will be available externally.
Externally available through HTTP
ingress:
enabled: true
className: "nginx" #<--- Just an example. Use your setup ingress.
hosts:
- host: my-cmsms.example.org #<--- Just an example. Use your domainname.
paths:
- path: /
pathType: ImplementationSpecific
This config makes your application available via http.
Externally available through HTTPS
Edit values.yaml:
ingress:
enabled: true
className: "nginx" #<--- Just an example. Use your setup ingress.
hosts:
- host: my-cmsms.example.org #<--- Just an example. Use your domainname.
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: my-cmsms-ssl-secret
hosts:
- my-cmsms.example.org #<--- Just an example. Use your domainname.
Create SSL Certificate secret:
apiVersion: v1
kind: Secret
metadata:
name: my-cmsms-ssl-secret
namespace: <CMSMS APP NAMESPACE>
type: kubernetes.io/tls
data:
server.crt: |
<crt contents here>
server.key: |
<private key contents here>
This config makes your application available through https.
Certbot configuration (SSL autoconfiguration)
To be able to enable auto ssl configuration by using certbot you need to setup an certificate provider. Take a look here: https://www.howtogeek.com/devops/how-to-install-kubernetes-cert-manager-and-configure-lets-encrypt/
Externally available through HTTPS
Edit values.yaml:
ingress:
enabled: true
className: "nginx" #<--- Just an example. Use your setup ingress.
annotations:
{
cert-manager.io/cluster-issuer: "letsencrypt-prod", #<--- Just an example. Use the name of your setup certificate provider.
kubernetes.io/tls-acme: "true"
}
hosts:
- host: my-cmsms.example.org #<--- Just an example. Use your domainname.
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: my-cmsms-ssl-secret
hosts:
- my-cmsms.example.org #<--- Just an example. Use your domainname.
Additional CMSMS config
This chart allows you to adapt you cmsms config. Per default the following values are set:
$config['dbms'] = 'mysqli';
$config['db_hostname'] = <CMSMS_DB_HOST>;
$config['db_username'] = <CMSMS_DB_USER>;
$config['db_password'] = <CMSMS_DB_USER_PW>;
$config['db_name'] = <CMSMS_DB>;
$config['db_prefix'] = <CMSMS_DB_PREFIX>;
$config['root_url'] = <CMSMS_DOMAIN>;
$config['timezone'] = <TIMEZONE>;
$config['url_rewriting'] = 'mod_rewrite';
By editing additional_config_settings setting which can be found under cmsms_settings -> app_config -> additional_config_settings you add more settings:
additional_config_settings:
- $config['param_key1'] = "param_value1";
- $config['param_key2'] = "param_value2";
PHP INI Settings
This chart allows you to adapt you php ini config. Per default the following values are set in the php_ini_config section in your values.yaml:
cmsms_recommended.ini: |
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 60
output_buffering = on
You can adapt it by either editing the preconfigured cmsms_recommended.ini setting (DO THIS WITH CAUTION!) or by adding a new file by just appending a new config:
cmsms_recommended.ini: |
upload_max_filesize = 100M
post_max_size = 100M
max_execution_time = 60
output_buffering = on
my_additional_php_setting = some_value # <--- Like this
# Or like this
my_settings.ini: |
example_php_setting = example_value
Custom htaccess configuration
This chart allows you to adapt your htaccess config by setting use_default_htaccess: true to use_default_htaccess: false and to add content to the custom_htaccess directive:
custom_htaccess:
My custom content
Modules custom folder (assets/module_custom)
Some modules can be configured by adapting or adding a configuration in the assets/module_custom folder. Well that will be a bit difficult when running in a container. So a symlink from uploads/assets/module_custom/ to assets/module_custom/ was created. Just navigate to the File Manager in the WebGUI, head to the assets/module_custom/ folder and upload your files.
Migrating
If you plan to move an existing installation you just need follow the upcomming steps:
- Skip the installation by set install_cmsms: false.
- Backup the existing "modules" and "uploads" directory.
- Backup your existing database.
- Import the previously backed up "modules" and "uploads" directory to the newly created CMSMS-PV.
- Import the previously backed up database to the newly created DB-PV and import it by exec into the db container.
- That's it.
Feature configuration documentation
I tried to add documentation to available settings directly in the values.yaml file. Watch out for ref tags in the comments.
Feature or documentation missing or bug found
Please tell me by open a github issue: oleds-helm-charts.
Whats new?
Chart Version 0.1.0 (0.1.18-dev) - 25.10.22
- First release of CMS Made Simple Helm Chart
- CMSMS Version 2.2.16
- Added dependency MariaDB 11.0.14
Chart Version 0.1.1 (0.1.19-dev) - 25.10.22
- MariaDB password generation bug fixed
Chart Version 0.1.2 (0.1.20-dev) - 25.10.22
- Reverted back to manually adding password
Chart Version 0.1.3 (0.1.30-dev1) - 15.12.22
- Added timezone setting in cmsms_settings -> app_config -> timezone: Europe/Vienna
- Updated documentation
Chart Version 0.1.4 (0.1.31-dev) - 20.03.23
- Modules custom folder now symlinked from uploads folder (See Details above)
- This chart now actively working with different tags
- Bug fix copying files init script. Added maxdepth.
- Artifact hub changelog added.
Chart Version 0.1.5 + 0.1.6 (0.1.32-dev) 19.05.26
- Added the option to specify database image.
- Changed version of Bitnami Mariadb to 11.4.*.
- Fixed Artifact Hub CMSMS logo link
Chart Version 0.2.0 (0.2.1-dev) 27.10.26
- Fixed PHP2Shell (CVE-2026-109618, CVE-2026-109619) — image now requires Sury php7.4 >= 1:7.4.33-31, which backports the fix from PHP 8.2.35. The package changelog is kept in the image as evidence.
- Disabled PHP session upload progress and pinned it via php_admin_flag so .htaccess cannot re-enable it — defense in depth for CVE-2026-109619 and mitigation for the not yet patched CVE-2026-115560.
- Fixed blueimp-file-upload CVE-2018-9206 — the vulnerable server handler is not shipped (FileManager uses its own upload handling), client scripts updated to 9.22.1, HTTP access to the handler path denied as a safeguard.
- Redirects such as /admin → /admin/ now use the public URL from cmsms_settings.host instead of http://:8080.
- cmsms_app.strategy.type Recreate no longer fails with "rollingUpdate may not be specified".
- Fallback to older database configuration when available.
Chart Version 0.2.1 (0.2.2-dev) 27.10.26
- Updated Base Image to Debian Trixie
Deploy cmsms with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cmsms on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcmsms is pinned at v2.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply