Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Juansasa committed Mar 3, 2025
1 parent 5a5038e commit cbc2ea2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion internal/resources/providers_import_init_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package resources

import (
"fmt"
"github.com/stakater/rhbk-operator/internal/constants"
"regexp"
"strings"
"unicode"

"github.com/stakater/rhbk-operator/internal/constants"

"github.com/stakater/rhbk-operator/api/v1alpha1"
v1 "k8s.io/api/core/v1"
)
Expand Down
9 changes: 3 additions & 6 deletions internal/resources/statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package resources
import (
"context"
"fmt"
"github.com/stakater/rhbk-operator/internal/constants"
"strconv"

"github.com/stakater/rhbk-operator/internal/constants"

v1 "k8s.io/api/apps/v1"
v12 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
Expand Down Expand Up @@ -105,10 +106,6 @@ func (ks *RHBKStatefulSet) DecorateVolume(vl []v12.Volume) []v12.Volume {
}

func (ks *RHBKStatefulSet) DecorateVolumeMounts(mounts []v12.VolumeMount) []v12.VolumeMount {
if ks.Keycloak.Spec.TrustedCABundles != nil {

}

return mounts
}

Expand Down Expand Up @@ -211,7 +208,7 @@ func (ks *RHBKStatefulSet) Build() error {
},
{
Name: "KC_TRUSTSTORE_PATHS",
Value: fmt.Sprintf("conf/truststores,/var/run/secrets/kubernetes.io/serviceaccount/ca.crt,/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt"),
Value: "conf/truststores,/var/run/secrets/kubernetes.io/serviceaccount/ca.crt,/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt",
},
{
Name: "KC_TRACING_SERVICE_NAME",
Expand Down

0 comments on commit cbc2ea2

Please sign in to comment.