Skip to content

Commit

Permalink
OU-453: Add perses-operator to COO component for Konflux
Browse files Browse the repository at this point in the history
- Added submodule to link to perses/perses-operator by running `git submodule add https://github.com/perses/perses-operator`
- TODO: 1) Need to point to a release branch for perses-operator in .gitmodules file 2) Need to double check Dockerfile.perses-operator points at the right file paths
  • Loading branch information
zhuje committed Jan 27, 2025
1 parent ab3a689 commit 843c686
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@
path = korrel8r
url = https://github.com/korrel8r/korrel8r.git
branch = v0.7
[submodule "perses-operator"]
path = perses-operator
url = https://github.com/perses/perses-operator.git
#branch = TBD release brach
15 changes: 15 additions & 0 deletions Dockerfile.perses-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM alpine AS build-env
RUN apk add --update --no-cache mailcap

FROM gcr.io/distroless/static-debian12

LABEL maintainer="The Perses Authors <[email protected]>"

USER nobody

COPY --chown=nobody:nobody perses-operator/bin/manager /bin/manager
COPY --chown=nobody:nobody perses-operator/LICENSE /LICENSE
COPY --from=build-env --chown=nobody:nobody perses-operator/etc/mime.types /etc/mime.types

EXPOSE 8080
ENTRYPOINT [ "/bin/manager" ]
1 change: 1 addition & 0 deletions perses-operator
Submodule perses-operator added at 808b23

0 comments on commit 843c686

Please sign in to comment.