Cluster Apps for Azure

  • Changed

    • Update azurefile-csi-driver-app to 1.30.2-gs1
  • Added

    Fixed

    • Render external-dns for Azure private clusters correctly.
    • Render cert-manager configuration for Azure private clusters correctly.
  • Breaking change

    • Move apps from default-apps-azure to cluster-azure.
    How to migrate to cluster-azure v0.14.0* Update `` to the latest version of `default-apps-azure` (v0.14.0). * In ConfigMap `-default-apps-userconfig` set `.Values.deleteOptions.moveAppsHelmOwnershipToClusterAzure` to `true`. * Delete `-default-apps` App. * Update `` to the latest version of `cluster-azure` (v0.14.0).
  • Changed

  • Added

    • Helm value .Values.deleteOptions.moveAppsHelmOwnershipToClusterAzure that enables migration of apps from default-apps-azure to cluster-azure (apps are paused, so they are not removed from the WC when default-apps-azure is deleted).
    • Add kyverno as a dependency to etcd-k8s-res-count-exporter and k8s-dns-node-cache.

    Changed

    • Update net-exporter to 1.19.0.
  • Changed

    • Bump flatcar to 3815.2.0.
  • Breaking change

    How to migrate to v0.7.0Please ensure you did install [yq](https://mikefarah.gitbook.io/yq/) first. To migrate values from cluster-azure `v0.7.0`, we provide below a bash script which writes an `app.yaml` file which you need to apply. This will move the existing user config values into `global` and it also increases the `version` field of `cluster-azure` app to `v0.7.0`. * Login to the management cluster and run the script (e.g: `./migrate.sh organization my-cluster`) * Verify the `app.yaml` file and apply it to the management cluster (e.g: `kubectl apply -f app.yaml`) ```bash #!/bin/bash # Check if two arguments are provided if [ $# -ne 2 ] then echo "Incorrect number of arguments supplied. Please provide the organization name and the cluster name." exit 1 fi # Use the first argument as the organization name and the second as the cluster name org=$1 cluster=$2 # Fetch the ConfigMap YAML kubectl get cm -n org-$org ${cluster}-userconfig -o yaml > ${cluster}_cm.yaml # Extract the ConfigMap values into a temporary file yq eval '.data.values' ${cluster}_cm.yaml > tmp_cm_values.yaml ##### OPTIONAL START # Fetch AppCatalog YAML kubectl get helmreleases.helm.toolkit.fluxcd.io -n flux-giantswarm appcatalog-cluster -o yaml > catalog.yaml # Extract the AppCatalog values into a temporary file yq eval '.spec.values.appCatalog.config.configMap.values' catalog.yaml >> tmp_cm_values.yaml ###### OPTIONAL END # Modify the values in tmp_cm_values.yaml as needed yq eval --inplace 'with(select(.metadata != null); .global.metadata = .metadata) | with(select(.connectivity != null); .global.connectivity = .connectivity) | with(select(.controlPlane != null); .global.controlPlane = .controlPlane) | with(select(.nodePools != null); .global.nodePools = .nodePools) | with(select(.managementCluster != null); .global.managementCluster = .managementCluster ) | with(select(.providerSpecific != null); .global.providerSpecific = .providerSpecific) | with(select(.baseDomain != null); .global.connectivity.baseDomain = .baseDomain) | with(select(.managementCluster != null); .global.managementCluster = .managementCluster) | del(.metadata) | del(.connectivity) | del(.controlPlane) | del(.nodePools) | del(.managementCluster) | del(.baseDomain) | del(.provider) | del(.providerSpecific)' tmp_cm_values.yaml # Merge the modified values back into the ConfigMap YAML yq eval-all 'select(fileIndex==0).data.values = select(fileIndex==1) | select(fileIndex==0)' ${cluster}_cm.yaml tmp_cm_values.yaml > app.yaml

This part of our documentation refers to our vintage product. The content may be not valid anymore for our current product. Please check our new documentation hub for the latest state of our docs.