Skip to content

Commit 1e1c9b3

Browse files
authored
SECENGSP-6405: Include required missing labels (#46)
Resolves: #45 Signed-off-by: Sergio Arroutbi <[email protected]>
1 parent f48a893 commit 1e1c9b3

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${goarch} go build -a -o manager main.go
2323
# Use distroless as minimal base image to package the manager binary
2424
# Refer to https://github.com/GoogleContainerTools/distroless for more details
2525
FROM gcr.io/distroless/static:nonroot
26+
27+
# Include Konflux required labels
28+
LABEL com.redhat.component="NBDE Tang Server"
29+
LABEL distribution-scope="public"
30+
LABEL name="nbde-tang-server"
31+
LABEL release="1.1.0"
32+
LABEL version="1.1.0"
33+
LABEL url="https://github.com/openshift/nbde-tang-server"
34+
LABEL vendor="Red Hat, Inc."
35+
LABEL description="The NBDE Tang Server Operator allows NBDE technology deployment on OpenShift"
36+
LABEL io.k8s.description="The NBDE Tang Server Operator allows NBDE technology deployment on OpenShift"
37+
LABEL summary="The NBDE Tang Server Operator allows NBDE technology deployment on OpenShift"
38+
LABEL io.k8s.display-name="NBDE Tang Server"
39+
LABEL io.openshift.tags="openshift,operator,nbde,network,security,storage,disk,unlocking"
40+
2641
WORKDIR /
2742
COPY --from=builder /workspace/manager .
2843
COPY --from=builder /workspace/LICENSE /licenses/

bundle.Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
FROM scratch
22

3+
# Include required labels (for Konflux deployment)
4+
LABEL com.redhat.component="NBDE Tang Server (Bundle)"
5+
LABEL distribution-scope="public"
6+
LABEL name="nbde-tang-server-bundle"
7+
LABEL release="1.1.0"
8+
LABEL version="1.1.0"
9+
LABEL url="https://github.com/openshift/nbde-tang-server"
10+
LABEL vendor="Red Hat, Inc."
11+
LABEL description="The NBDE Tang Server Operator allows NBDE technology deployment on OpenShift"
12+
LABEL io.k8s.description="The NBDE Tang Server Operator allows NBDE technology deployment on OpenShift"
13+
LABEL summary="The NBDE Tang Server Operator allows NBDE technology deployment on OpenShift"
14+
LABEL io.k8s.display-name="NBDE Tang Server"
15+
LABEL io.openshift.tags="openshift,operator,nbde,network,security,storage,disk,unlocking"
16+
317
# Core bundle labels.
418
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
519
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/

0 commit comments

Comments
 (0)