Skip to content

Commit ec72c3e

Browse files
ubi9
Signed-off-by: raffaelespazzoli <[email protected]>
1 parent 5abfbd1 commit ec72c3e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -o manager main.go
1919

2020
# Use distroless as minimal base image to package the manager binary
2121
# Refer to https://github.com/GoogleContainerTools/distroless for more details
22-
FROM gcr.io/distroless/static:nonroot
22+
FROM registry.access.redhat.com/ubi9/ubi-minimal
2323
WORKDIR /
2424
COPY --from=builder /workspace/manager .
2525
USER 65532:65532

api/v1alpha1/groupversion_info.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ limitations under the License.
1515
*/
1616

1717
// Package v1alpha1 contains API Schema definitions for the redhatcop v1alpha1 API group
18-
//+kubebuilder:object:generate=true
19-
//+groupName=redhatcop.redhat.io
18+
// +kubebuilder:object:generate=true
19+
// +groupName=redhatcop.redhat.io
2020
package v1alpha1
2121

2222
import (

ci.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal
22
WORKDIR /
33
COPY bin/manager .
44
USER 65532:65532

controllers/patch_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func (r *PatchReconciler) manageCleanUpLogic(ctx context.Context, instance *redh
206206
return nil
207207
}
208208

209-
//ManageError manage error sets an error status in the CR and fires an event, finally it returns the error so the operator can re-attempt
209+
// ManageError manage error sets an error status in the CR and fires an event, finally it returns the error so the operator can re-attempt
210210
func (er *PatchReconciler) ManageError(ctx context.Context, instance *redhatcopv1alpha1.Patch, issue error) (reconcile.Result, error) {
211211
rlog := log.FromContext(ctx)
212212
er.GetRecorder().Event(instance, "Warning", "ProcessingError", issue.Error())

0 commit comments

Comments
 (0)