Disabling Maintenance
AppCat services automatically receive two types of updates during maintenance windows:
-
Service maintenance: Updates to the underlying service version (for example, PostgreSQL 16.1 to 16.2) containing bug fixes and security patches
-
AppCat releases: Updates to the AppCat composition revision containing bug fixes, security patches and new features
Both can be disabled if you need full control over your instance updates.
|
Disabling maintenance means you take full responsibility for keeping your service up-to-date. This can leave your instance vulnerable to security issues if not managed properly. |
Configuration Options
| Field | Description |
|---|---|
|
Pins the service to a specific version. When set, this exact version is used instead of the latest available version. |
|
Disables automatic AppCat composition revision rollouts. |
Example
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNPostgreSQL
metadata:
name: pgsql-app1-prod
namespace: prod-app
spec:
parameters:
maintenance:
dayOfWeek: wednesday
timeOfDay: '23:30:00'
pinImageTag: "16.4" (1)
disableAppcatRelease: false (2)
writeConnectionSecretToRef:
name: postgres-creds
| 1 | Pins the service to PostgreSQL 16.4 specifically |
| 2 | Keeps AppCat release updates enabled |
|
For PostgreSQL CNPG service, the major version in |
Behavior
Version Pinning with pinImageTag
When pinImageTag is set:
-
The service runs the exact specified version
-
Automatic version updates are disabled
-
You can pin to older versions (downgrades are allowed when pinning on your own risk)
-
You take full responsibility for security updates and bug fixes
|
Pinning to an older version means you won’t receive security patches automatically. Only use this when you have a specific requirement for a particular version. |
|
All services get minor version upgrades during maintenance except Keycloak and PostgreSQL that get minor version upgrades. |
Supported Services
Version pinning with pinImageTag and disableAppcatRelease option is currently available for:
-
VSHNPostgreSQL (CNPG-based instances)
-
VSHNMariaDB
-
VSHNRedis
-
VSHNNextcloud
-
VSHNKeycloak
-
VSHNForgejo
-
VSHNMinIO
For StackGres-based PostgreSQL instances, pinImageTag is currently a no-op and will be implemented in a future release.
|