Your organization is responsible for performing Dash Enterprise upgrades. We’ll notify you when a new version is available.
To ensure you remain eligible for support, upgrade Dash Enterprise regularly. We recommend keeping your instance as close to the latest version as possible for best results.
Contact us for upgrade help.
helm ls --all-namespaces
Next to the namespace for the Dash Enterprise instance whose version you want to check, look at the CHART or APP VERSION.
Before upgrading Dash Enterprise, we strongly recommend carefully reading the changelog for the version that you want to upgrade to, as well as any intermediate versions.
Prerequisites
kubectl access to the clusterCHART_VERSION differs from what you set during your installation):txt
export CHART_VERSION=6.2.0
export RELEASE_CHANNEL=standard
export CHART_REGISTRY=oci://registry.replicated.com/dash-enterprise
export RELEASE_NAME=dash-enterprise
export NAMESPACE=<your-namespace>export SKIP_PUSH=1.Configuration notices
User-created workloads now use a read-only filesystem by default. If any apps or workspaces need to write to the filesystem (such as for running predeploy or postdeploy scripts), an allowWritableRootFs: true configuration change is needed. The overrides below allow apps and workspaces to use sudo and write to the filesystem:
For apps:
yml
agents:
worker:
app:
allowPrivilegeEscalation: true
allowWritableRootFs: true
capabilities:
add:
- SETUID
- SETGID
- AUDIT_WRITE
For workspaces:
yml
agents:
worker:
workspace:
allowPrivilegeEscalation: true
allowWritableRootFs: true
capabilities:
add:
- SETUID
- SETGID
- AUDIT_WRITE
Build resource configuration: agents.build.builder.resources is no longer used. Migrate to per-container keys if you were previously using it in your configuration override: agents.build.builder.lifecycle-build.resources, agents.build.builder.lifecycle-export.resources, and agents.build.builder.logging-sidecar.resources.
To upgrade Dash Enterprise from 6.1.X to 6.2.0, use one of the following commands:
If you don’t need to apply a configuration override:
sh
helm upgrade $RELEASE_NAME \
$CHART_REGISTRY/$RELEASE_CHANNEL/dash-enterprise \
--version "$CHART_VERSION" \
--namespace $NAMESPACE \
--reset-then-reuse-values
If you need to apply a configuration override:
sh
helm upgrade $RELEASE_NAME -f custom-values.yaml \
$CHART_REGISTRY/$RELEASE_CHANNEL/dash-enterprise \
--version "$CHART_VERSION" \
--namespace $NAMESPACE \
--reset-then-reuse-values
changing the name of your custom values file if it is different.
(the --reset-then-reuse-values flag applies all configuration settings that you applied during the original installation and that are not modified in this command).
Prerequisites
kubectl access to the clusterCHART_VERSION differs from what you set during your installation):txt
export CHART_VERSION=6.1.0
export RELEASE_CHANNEL=standard
export CHART_REGISTRY=oci://registry.replicated.com/dash-enterprise
export RELEASE_NAME=dash-enterprise
export NAMESPACE=<your-namespace>export SKIP_PUSH=1.Configuration notices
auth.keycloak.internalCaSecretName is deprecated in Dash Enterprise 6.1.0. See more information in the changelog.To upgrade Dash Enterprise from 6.0.X to 6.1.0:
If you are affected by the auth.keycloak.internalCaSecretName deprecation, create a ConfigMap for your self-signed or internal CA certificate:
sh
CA_CONFIGMAP_NAME=keycloak-ca-cert
kubectl create configmap $CA_CONFIGMAP_NAME \
--namespace=$NAMESPACE \
--from-file="$KEYCLOAK_CA_CERT" \
--dry-run=client -o yaml | kubectl apply -f -
Run one of the following commands:
* If you are not affected by the auth.keycloak.internalCaSecretName deprecation:
sh
helm upgrade $RELEASE_NAME \
$CHART_REGISTRY/$RELEASE_CHANNEL/dash-enterprise \
--version "$CHART_VERSION" \
--namespace $NAMESPACE \
--reset-then-reuse-values
(the --reset-then-reuse-values flag applies all configuration settings that you applied during the original installation and that are not modified in this command).
auth.keycloak.internalCaSecretName deprecation:sh
helm upgrade $RELEASE_NAME \
$CHART_REGISTRY/$RELEASE_CHANNEL/dash-enterprise \
--version "$CHART_VERSION" \
--namespace $NAMESPACE \
--set auth.keycloak.internalCaCertConfigMapName=keycloak-ca-secret \
--reset-then-reuse-values--reset-then-reuse-values flag applies all configuration settings that you applied during the original installation and that are not modified in this command).