Skip to content

Commit

Permalink
Rebase conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
UnstoppableMango committed May 17, 2024
1 parent 4bcc9ef commit baeb312
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/controller/controlled-cloudflared-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/types"
"k8s.io/utils/pointer"
"sigs.k8s.io/controller-runtime/pkg/client"
)

Expand Down Expand Up @@ -66,6 +65,7 @@ func CreateControlledCloudflaredIfNotExist(
deployment := cloudflaredConnectDeploymentTemplating(
token,
namespace,
int32(replicas),
controllerPod.Spec.Volumes,
controllerVolumeMounts,
)
Expand All @@ -80,7 +80,7 @@ func CreateControlledCloudflaredIfNotExist(
func cloudflaredConnectDeploymentTemplating(
token string,
namespace string,
replicas int32,
replicas int32,
extraVolumes []v1.Volume,
extraVolumeMounts []v1.VolumeMount,
) *appsv1.Deployment {
Expand Down Expand Up @@ -127,11 +127,11 @@ func cloudflaredConnectDeploymentTemplating(
"--token",
token,
},
VolumeMounts: volumeMounts,
VolumeMounts: extraVolumeMounts,
},
},
RestartPolicy: v1.RestartPolicyAlways,
Volumes: volumes,
Volumes: extraVolumes,
},
},
},
Expand Down

0 comments on commit baeb312

Please sign in to comment.