fix TestTLS
This commit is contained in:
		
							parent
							
								
									6ed1030838
								
							
						
					
					
						commit
						2ada3071aa
					
				|  | @ -958,6 +958,7 @@ func TestTLS(t *testing.T) { | |||
| 	var err error | ||||
| 	var spec acidv1.PostgresSpec | ||||
| 	var cluster *Cluster | ||||
| 	var spiloFSGroup = int64(103) | ||||
| 
 | ||||
| 	makeSpec := func(tls acidv1.TLSDescription) acidv1.PostgresSpec { | ||||
| 		return acidv1.PostgresSpec{ | ||||
|  | @ -982,6 +983,9 @@ func TestTLS(t *testing.T) { | |||
| 					SuperUsername:       superUserName, | ||||
| 					ReplicationUsername: replicationUserName, | ||||
| 				}, | ||||
| 				Resources: config.Resources{ | ||||
| 					SpiloFSGroup: &spiloFSGroup, | ||||
| 				}, | ||||
| 			}, | ||||
| 		}, k8sutil.KubernetesClient{}, acidv1.Postgresql{}, logger) | ||||
| 	spec = makeSpec(acidv1.TLSDescription{SecretName: "my-secret", CAFile: "ca.crt"}) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue