Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/certrotation/handlers/rotate_certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func CreateOrRotateCertificates(ctx context.Context, log logr.Logger,
return kverrors.Wrap(err, "failed to add certificate hash annotations", "name", req.String())
}

ll.Info("certificate rotation completed successfully, hash annotations added")
ll.V(1).Info("certificate rotation completed successfully, hash annotations added")
return nil
}

Expand Down
4 changes: 2 additions & 2 deletions internal/controller/tempo/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ func getTenantParams(

tenantsData, err := gateway.GetGatewayTenantsData(ctx, k8sclient, namespace, name)
if err != nil {
// just log the error the secret is not created if the loop for an instance runs for the first time.
log.Info("Failed to get gateway secret and/or tenants.yaml", "error", err)
// The gateway secret is created during reconciliation, so it won't exist on the first reconcile.
log.Info("Failed to get gateway secret and/or tenants.yaml. This is expected during the first reconcile", "error", err)
}

return nil, tenantsData, nil
Expand Down
2 changes: 1 addition & 1 deletion internal/manifests/gateway/openshift.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func NewOpaContainer(ctrlConfig configv1alpha1.ProjectConfig, tenants v1alpha1.T
Args: args,
Ports: []corev1.ContainerPort{
{
Name: "public",
Name: "opa-http",
ContainerPort: gatewayOPAHTTPPort,
Protocol: corev1.ProtocolTCP,
},
Expand Down
4 changes: 2 additions & 2 deletions internal/manifests/monolithic/statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ func TestStatefulsetGateway(t *testing.T) {
},
Ports: []corev1.ContainerPort{
{
Name: "public",
Name: "opa-http",
ContainerPort: 8082,
Protocol: corev1.ProtocolTCP,
},
Expand Down Expand Up @@ -1244,7 +1244,7 @@ func TestStatefulsetGatewayRBAC(t *testing.T) {
},
Ports: []corev1.ContainerPort{
{
Name: "public",
Name: "opa-http",
ContainerPort: 8082,
Protocol: corev1.ProtocolTCP,
},
Expand Down
2 changes: 1 addition & 1 deletion internal/manifests/networkpolicies/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func DiscoverKubernetesAPIServer(ctx context.Context, k8sClient client.Client) m
return fallbackKubeAPIServerInfo()
}

logger.Info("discovered Kubernetes API server endpoints",
logger.V(1).Info("discovered Kubernetes API server endpoints",
"ports", len(ports), "ips", len(ips))

return manifestutils.KubeAPIServerInfo{
Expand Down
Loading