Skip to content

Commit

Permalink
Further tweaks for build
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyd450 committed Feb 26, 2024
1 parent f4c345c commit 025b18c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bundle/manifests/rhtas-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions controllers/rekor/utils/rekor_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 025b18c

Please sign in to comment.