Skip to content

Commit

Permalink
Convert ProxySecurityContext from v1beta1 to v1 api (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha authored Jan 10, 2022
1 parent b9ccd59 commit 7d6c4d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apis/voyager/v1beta1/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ func Convert_v1beta1_IngressSpec_To_v1_IngressSpec(in *IngressSpec, out *v1.Ingr
out.PriorityClassName = in.PriorityClassName
out.Priority = (*int32)(unsafe.Pointer(in.Priority))
out.SecurityContext = (*corev1.PodSecurityContext)(unsafe.Pointer(in.SecurityContext))
out.ProxySecurityContext = (*corev1.SecurityContext)(unsafe.Pointer(in.ProxySecurityContext))
out.ExternalIPs = *(*[]string)(unsafe.Pointer(&in.ExternalIPs))
out.LivenessProbe = (*corev1.Probe)(unsafe.Pointer(in.LivenessProbe))
out.ReadinessProbe = (*corev1.Probe)(unsafe.Pointer(in.ReadinessProbe))
Expand Down

0 comments on commit 7d6c4d0

Please sign in to comment.