diff --git a/bundle/manifests/rhtas-operator.clusterserviceversion.yaml b/bundle/manifests/rhtas-operator.clusterserviceversion.yaml index 159491adb..4fea12a85 100644 --- a/bundle/manifests/rhtas-operator.clusterserviceversion.yaml +++ b/bundle/manifests/rhtas-operator.clusterserviceversion.yaml @@ -177,7 +177,7 @@ metadata: } ] capabilities: Basic Install - createdAt: "2024-02-21T11:25:54Z" + createdAt: "2024-02-21T11:31:17Z" operators.operatorframework.io/builder: operator-sdk-v1.32.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 name: rhtas-operator.v0.0.1 diff --git a/controllers/rekor/utils/rekor_deployment.go b/controllers/rekor/utils/rekor_deployment.go index 49186c34f..b4facfcd3 100644 --- a/controllers/rekor/utils/rekor_deployment.go +++ b/controllers/rekor/utils/rekor_deployment.go @@ -13,13 +13,12 @@ import ( func CreateRekorDeployment(instance *v1alpha1.Rekor, dpName string, sa string, labels map[string]string) *apps.Deployment { env := make([]core.EnvVar, 0) - trillianNamespace := instance.Namespace trillianPort := "8091" if instance.Spec.ExternalTrillianUrl != "" { trillianNamespace = instance.Spec.ExternalTrillianUrl } - if instance.Spec.TrillianPort != nil { + if instance.Spec.TrillianPort != "" { trillianPort = instance.Spec.TrillianPort }