diff --git a/changelog.d/+operator-tmp-volume.fixed.md b/changelog.d/+operator-tmp-volume.fixed.md new file mode 100644 index 00000000000..db28de877e5 --- /dev/null +++ b/changelog.d/+operator-tmp-volume.fixed.md @@ -0,0 +1 @@ +Fixed `mirrord operator setup` - added missing `/tmp` volume to the operator deployment. diff --git a/mirrord/operator/src/setup.rs b/mirrord/operator/src/setup.rs index acd2c2d7540..18edfa63c45 100644 --- a/mirrord/operator/src/setup.rs +++ b/mirrord/operator/src/setup.rs @@ -357,6 +357,18 @@ impl OperatorDeployment { }); } + // For downloading and using CA. + volumes.push(Volume { + name: "tmp".to_string(), + empty_dir: Some(Default::default()), + ..Default::default() + }); + volume_mounts.push(VolumeMount { + mount_path: "/tmp".to_string(), + name: "tmp".to_string(), + ..Default::default() + }); + if let Some(license_key) = license_key { envs.push(EnvVar { name: "OPERATOR_LICENSE_KEY".to_owned(),