UDS Core 1.18
UDS Core 1.18.0 extends Keycloak ownership checks to client roles and secrets and updates Grafana across all flavors. Before upgrading, check ownership on any Keycloak clients that changed hands and review the backup guidance if you use Velero.
⚠ Breaking changes
Section titled “⚠ Breaking changes”Review the changes that affect existing clients, backups, and custom configurations.
| Change | Impact | Action required |
|---|---|---|
| Keycloak client ownership | A missing or outdated created-by attribute can block single sign-on (SSO) reconciliation or deny access to a client’s roles or secret. | For affected clients, check the recorded owner and set it to the managing service account’s client ID if needed. |
| Velero 1.19 | Velero can no longer restore Restic backups and ignores credentials set through spec.config.credentialsFile. | Check your backups and credentials before upgrading. |
| Loki Helm chart: removed and unsupported values | The chart removes bundled MinIO and its minio and ignoreMinioDeprecation values. Helm also rejects previously tolerated top-level keys, including clusterLabelOverride and enterprise, which Core removed from its defaults. | Remove these keys from custom Loki values. If you enabled bundled MinIO with minio.enabled, migrate to external object storage before upgrading. |
Loki Helm chart: indexGateway.joinMemberlist | The chart removes this unused value. | Remove it from custom Loki values. |
| Authservice 1.1.11 | Custom request exclusions can match fewer paths. | If you configure trigger_rules outside the Core defaults, review your rules and health checks. |
Notable features
Section titled “Notable features”This release includes security fixes and updates to Keycloak, Velero, package metadata, and the development bundle.
- Authservice and Grafana include security fixes. See the Authservice advisory and the Grafana 13.3.2 changelog.
- Keycloak disables hardware-accelerated Base64 encoding and decoding. UDS Core 1.17.2 also includes this fix. #3240
- Velero ships with schemas that match the 1.19 server, so Kubernetes accepts new fields such as
Backup.spec.backupType. #3272 - UDS Core packages now link to their source repository. #3220
- The
k3d-standard-nextdevelopment bundle sets the Pepr watcher memory limit to768Miby default. #3230
Dependency updates
Section titled “Dependency updates”The table shows changes since UDS Core 1.17.0. Version 1.17.1 already includes the upstream Prometheus Operator and config reloader updates. Version 1.17.2 also includes the Gateway API and Istio updates.
| Component | 1.17.0 | 1.18.0 |
|---|---|---|
| Alertmanager | 0.34.2 | 0.35.1 |
| Authservice | 1.1.8 | 1.1.11 |
| Gateway API CRDs | 1.6.3 | 1.7.0 |
| Grafana | 13.3.0 | 13.3.2 |
| Grafana Helm chart | 14.3.1 | 14.7.0 |
| Grafana UBI 9 minimal image (Iron Bank) | 9.8 | 9.9 |
| Istio Helm charts (all flavors) and images (upstream and Unicorn) | 1.31.2 | 1.32.0 |
| k8s-sidecar (Loki) | 2.14.1 | 2.14.3 |
| kube-prometheus-stack Helm chart | 93.1.0 | 94.3.0 |
| Loki | 3.7.9 | 3.7.11 |
| Loki Helm chart | 19.0.3 | 21.6.4 |
| Memcached (Loki, Iron Bank and Unicorn) | 1.6.45 | 1.6.46 |
| NGINX (Loki gateway, Iron Bank and Unicorn) | 1.31.7 | 1.31.10 |
| Node Exporter | 1.12.1 | 1.13.1 |
| Prometheus Blackbox Exporter Helm chart | 11.21.1 | 12.0.0 |
| Prometheus Operator and config reloader | 0.95.1 | 0.95.2 |
| Prometheus webhook certificate generator (Unicorn) | 1.15.12 | 1.15.17 |
| prometheus-operator-crds Helm chart | 33.0.1 | 33.0.2 |
| UDS Identity Config | 0.32.6 | 0.33.0 |
| UDS Portal and Helm chart | 0.6.2 | 0.6.3 |
| Velero | 1.18.4 | 1.19.0 |
| Velero Helm chart | 12.2.1 | 12.2.5 |
| Velero plugin for AWS | 1.14.4 | 1.15.0 |
| Velero plugin for Microsoft Azure | 1.14.4 | 1.15.0 |
Upgrade considerations
Section titled “Upgrade considerations”Pre-upgrade steps
Section titled “Pre-upgrade steps”Follow only the steps that apply to your deployment.
-
Check Velero backup recovery and credentials
If you still rely on Restic backups, keep access to a Velero version that can restore them. Before upgrading, create and verify replacement backups for data you still need to recover. See Velero’s 1.19 upgrade guidance.
UDS Core updates the Velero CRDs and the server and plugin images during the upgrade. You do not need to update them separately.
If a
BackupStorageLocationorVolumeSnapshotLocationusesspec.config.credentialsFile, move those credentials to aSecretin theveleronamespace and reference its name and key throughspec.credential. See the Velero 1.19 release notes. -
Review custom Loki Helm values
If you use the bundled MinIO subchart, follow the Loki chart upgrade notes to migrate to external object storage while still on chart 19.x. Check custom overrides against the new chart schema before deploying. Core sets
gateway.type: nginxand does not expose it as a package value.Core leaves the rollout operator disabled by default. If you set
rollout_operator.enabled: trueand leaverollout_operator.webhooks.failurePolicyunset, the default changes fromIgnoretoFail. Verify that the webhook is reachable before upgrading. If it is unavailable, Kubernetes can reject StatefulSet updates and pod evictions in the release namespace. -
Review custom Authservice trigger rules
If you supply
trigger_rules, check that each regular expression exclusion matches the whole path. Verify any health checks that depend on an exclusion. See the Authservice 1.1.11 release notes. -
Review custom monitoring settings
If a custom Alertmanager or Thanos Ruler configuration needs Kubernetes API access, review the kube-prometheus-stack changes. The chart no longer mounts service account tokens in those workloads by default. If your platform rejects explicit seccomp profiles, check admission for Blackbox Exporter pods against the chart’s new
RuntimeDefaultsetting. See the Blackbox Exporter upgrade notes.
Identity Config updates: client ownership
Section titled “Identity Config updates: client ownership”UDS Identity Config 0.33.0 extends ownership checks in the uds realm to client roles and secrets. When the UDS Operator or Fleet Admin creates a client, Keycloak sets created-by to uds-operator or uds-fleet-admin, respectively. If the same account still manages the client, you normally have nothing to change. OpenTofu-only clients need no change unless you added uds-opentofu-client to ownership-enforced-clients.
Before upgrading, check created-by on clients that an enrolled service account took over. After upgrading, check it if Package SSO reconciliation fails with unauthorized_client or a request for a client role or secret returns 403 Forbidden.
-
Check the affected client’s recorded owner
Sign in to the
udsrealm as an administrator through an unenrolled client and setKEYCLOAK_TOKENto your access token. In Bash, replace the admin gateway URL and target client ID, then read the current owner withcurlandjq. Use your trusted CA for the admin gateway.Terminal window set -euo pipefail: "${KEYCLOAK_TOKEN:?Set KEYCLOAK_TOKEN to an administrator access token}"CLIENTS_URL='https://keycloak.admin.uds.dev/admin/realms/uds/clients'TARGET_CLIENT_ID='<client-to-migrate>'keycloak() {curl --fail-with-body --silent --show-error \-H "Authorization: Bearer $KEYCLOAK_TOKEN" "$@"}CLIENT_UUID=$(keycloak --get --data-urlencode "clientId=$TARGET_CLIENT_ID" "$CLIENTS_URL" \| jq -er --arg id "$TARGET_CLIENT_ID" 'map(select(.clientId == $id))| if length == 1 then .[0].id | select(type == "string" and length > 0)else error("Expected exactly one matching client") end')CLIENT_URL="$CLIENTS_URL/$CLIENT_UUID"keycloak "$CLIENT_URL" | jq '.attributes["created-by"]'A
nullresult means the attribute is missing. Record the result and confirm which service account manages this client. If the IDs match, skip the update. -
Correct the owner and verify the change
Pause automation for the affected client. In the same shell, set
OWNER_CLIENT_IDto the managing service account’s client ID. The update preserves the client’s Authorization Services setting.Terminal window : "${OWNER_CLIENT_ID:?Set OWNER_CLIENT_ID to the client ID of the managing service account}"# Keycloak disables Authorization Services if the update omits this field.AUTHZ_ENABLED=$(keycloak "$CLIENT_URL" | jq '.authorizationServicesEnabled // false')jq -n --arg owner "$OWNER_CLIENT_ID" --argjson enabled "$AUTHZ_ENABLED" \'{authorizationServicesEnabled: $enabled, attributes: {"created-by": $owner}}' \| keycloak -X PUT -H 'Content-Type: application/json' --data-binary @- "$CLIENT_URL"# Expect true.keycloak "$CLIENT_URL" | jq -e --arg owner "$OWNER_CLIENT_ID" --argjson enabled "$AUTHZ_ENABLED" \'.attributes["created-by"] == $owner and (.authorizationServicesEnabled // false) == $enabled'Once the check returns
true, resume automation and retry the original reconciliation or role or secret request. Client roles inherit their client’s owner.
Related documentation
Section titled “Related documentation”- Upgrade Overview - general upgrade procedures and checklists
- Register and customize SSO clients - declare SSO clients in a
PackageCR - Keycloak security hardening - default policy and ownership rules
- UDS Identity Config 0.33.0 changelog - upstream ownership change and migration criteria
- UDS Core 1.18.0 release PR - Core changelog
- Full diff (1.17.2…1.18.0) - changes since the previous patch release