diff --git a/testsuite/gateway/envoy/tls.py b/testsuite/gateway/envoy/tls.py index a932c426..8c26b157 100644 --- a/testsuite/gateway/envoy/tls.py +++ b/testsuite/gateway/envoy/tls.py @@ -70,9 +70,9 @@ def config(self): def create_deployment(self) -> Deployment: deployment = super().create_deployment() - deployment.add_volume(SecretVolume(secret_name=self.authorino_ca_secret, name="authorino-ca", readOnly=True)) - deployment.add_volume(SecretVolume(secret_name=self.backend_ca_secret, name="envoy-ca", readOnly=True)) - deployment.add_volume(SecretVolume(secret_name=self.envoy_cert_secret, name="envoy-cert", readOnly=True)) + deployment.add_volume(SecretVolume(secret_name=self.authorino_ca_secret, name="authorino-ca")) + deployment.add_volume(SecretVolume(secret_name=self.backend_ca_secret, name="envoy-ca")) + deployment.add_volume(SecretVolume(secret_name=self.envoy_cert_secret, name="envoy-cert")) deployment.add_mount(VolumeMount(mountPath="/etc/ssl/certs/authorino-ca", name="authorino-ca")) deployment.add_mount(VolumeMount(mountPath="/etc/ssl/certs/envoy-ca", name="envoy-ca")) diff --git a/testsuite/openshift/deployment.py b/testsuite/openshift/deployment.py index 45fca025..62b60a2d 100644 --- a/testsuite/openshift/deployment.py +++ b/testsuite/openshift/deployment.py @@ -62,11 +62,10 @@ class SecretVolume: secret_name: str name: str - readOnly: bool = True def asdict(self): """Custom asdict because of needing to put location as parent dict key for inner dict""" - return {"secret": {"readOnly": self.readOnly, "secretName": self.secret_name}, "name": self.name} + return {"secret": {"secretName": self.secret_name}, "name": self.name} Volume = SecretVolume | ConfigMapVolume