File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type AnsibleTestSpec struct {
3838 // +kubebuilder:default:="dataplane-ansible-ssh-private-key-secret"
3939 // ComputeSSHKeySecretName is the name of the k8s secret that contains an ssh key for computes.
4040 // The key is mounted to ~/.ssh/id_ecdsa in the ansible pod
41- ComputesSSHKeySecretName string `json:"computeSSHKeySecretName"`
41+ ComputeSSHKeySecretName string `json:"computeSSHKeySecretName"`
4242
4343 // +kubebuilder:validation:Optional
4444 // +kubebuilder:validation:MaxLength=253
@@ -119,7 +119,7 @@ type AnsibleTestWorkflowSpec struct {
119119 // +operator-sdk:csv:customresourcedefinitions:type=spec
120120 // ComputeSSHKeySecretName is the name of the k8s secret that contains an ssh key for computes.
121121 // The key is mounted to ~/.ssh/id_ecdsa in the ansible pod
122- ComputesSSHKeySecretName string `json:"computeSSHKeySecretName"`
122+ ComputeSSHKeySecretName string `json:"computeSSHKeySecretName"`
123123
124124 // +kubebuilder:validation:Optional
125125 // +kubebuilder:validation:MaxLength=253
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ func (r *AnsibleTestReconciler) PrepareAnsibleEnv(
274274
275275 // volumes workflow override
276276 workflowOverrideParams ["WorkloadSSHKeySecretName" ] = instance .Spec .WorkloadSSHKeySecretName
277- workflowOverrideParams ["ComputesSSHKeySecretName " ] = instance .Spec .ComputesSSHKeySecretName
277+ workflowOverrideParams ["ComputeSSHKeySecretName " ] = instance .Spec .ComputeSSHKeySecretName
278278 workflowOverrideParams ["ContainerImage" ] = instance .Spec .ContainerImage
279279
280280 // bool
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ func GetVolumes(
8585 Name : "compute-ssh-secret" ,
8686 VolumeSource : corev1.VolumeSource {
8787 Secret : & corev1.SecretVolumeSource {
88- SecretName : workflowOverrideParams ["ComputesSSHKeySecretName " ],
88+ SecretName : workflowOverrideParams ["ComputeSSHKeySecretName " ],
8989 DefaultMode : & privateKeyMode ,
9090 },
9191 },
You can’t perform that action at this time.
0 commit comments