Juju 2.7.3 Release Notes

The Juju team is proud to release Juju 2.7.3!

This is primarily a bug fix release of the stable 2.7 channel, with some additional useful tweaks.



VMware vSphere: custom root folder fix

There was an issue with the support for custom root folders which landed in 2.7.2.
This release addresses an issue where an attempt was made (and rejected due to permissions) to read the datacenter/vm root folder even if a custom folder had been specified.

Kubernetes improvements

Additional Custom Resource Definition attributes supported

CustomResourceDefinitions (CRDs) now support conversion and preserveUnknownFields attributes.

Validating webhook resources

Charms can now ask to create validating webhook resources. This extends the functionality implemented within Juju 2.7.2 to support for dynamically mutating webhook resources.

Add YAML like this to the k8s specific YAML passed to Juju via the pod-spec-set hook tool:

      - name: "pod-policy.example.com"
        - apiGroups:   [""]
          apiVersions: ["v1"]
          operations:  ["CREATE"]
          resources:   ["pods"]
          scope:       "Namespaced"
            namespace: "example-namespace"
            name: "example-service"
          caBundle: "YXBwbGVz"
        admissionReviewVersions: ["v1", "v1beta1"]
        sideEffects: None
        timeoutSeconds: 5

hostNetwork support

The hostNetwork attribute is now supported.


    restartPolicy: OnFailure
    activeDeadlineSeconds: 10
    terminationGracePeriodSeconds: 20
      runAsNonRoot: true
      supplementalGroups: [1,2]
      - conditionType: PodScheduled
    dnsPolicy: ClusterFirstWithHostNet
    hostNetwork: true

Other resolved issues

  • LP #1862786 - Unknown field conversion in pod-spec-set
  • LP #1856832 - neutron-openvswitch charm lxc profile not getting set with correct configuration
  • LP #1855777 - segfault due to a badly formatted bundle YAML file
  • LP #1856860 - juju’s simplestreams doesn’t understand custom CAs
  • LP #1854505 - JUJU_HOOK_NAME is only present in debug-hooks sessions
  • LP #1854348 - a leader unit is unable to read its own app relation data bag

Additional bugs fixed can be found in the milestone page.

How do I get it?

The best way to get your hands on this release of Juju is to install it as a snap:

sudo snap install juju --classic

Other packages are available for a variety of platforms, including Windows and macOS. Please see the online documentation at https://docs.jujucharms.com/reference-install. Those subscribed to a snap channel should be automatically upgraded. If you’re using the PPA or Homebrew for macOS, you should see an upgrade available.

Feedback Appreciated!

We encourage everyone to let us know how you’re using Juju. Please ask questions on on Discourse, send us a message on Twitter using the hashtag #jujucharms, and chat with us at #juju on Freenode.

Known PPA issues

The PPA does not currently provide packages for focal due to a technical issue; we are however working on rectifying this issue. In the meantime you can still install juju on focal via snap by following the above instructions.