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.
Highlights
Provider-specific
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:
kubernetesResources:
validatingWebhookConfigurations:
pod-policy.example.com:
- name: "pod-policy.example.com"
rules:
- apiGroups: [""]
apiVersions: ["v1"]
operations: ["CREATE"]
resources: ["pods"]
scope: "Namespaced"
clientConfig:
service:
namespace: "example-namespace"
name: "example-service"
caBundle: "YXBwbGVz"
admissionReviewVersions: ["v1", "v1beta1"]
sideEffects: None
timeoutSeconds: 5
hostNetwork support
The hostNetwork
attribute is now supported.
eg
kubernetesResources:
pod:
restartPolicy: OnFailure
activeDeadlineSeconds: 10
terminationGracePeriodSeconds: 20
securityContext:
runAsNonRoot: true
supplementalGroups: [1,2]
readinessGates:
- 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.