Skip to content

Commit

Permalink
Merge pull request #65 from srl-labs/chore/openshift-permissions-issue
Browse files Browse the repository at this point in the history
chore: maybe fix openshift permission issue?
  • Loading branch information
carlmontanari authored Oct 28, 2023
2 parents c9d0deb + 9e8d866 commit b8f7dd0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build/manager.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ ARG VERSION

WORKDIR /clabernetes

RUN mkdir certificates build
RUN mkdir build

# certificates and subdirs need to be owned by root group for openshift reasons -- otherwise we
# get permission denied issues when the controller tries to create ca/client subdirs
RUN mkdir -p certificates/ca \
RUN mkdir -p mkdir certificates/client
RUN chgrp -R root /clabernetes/certificates && \
chmod -R 0770 /clabernetes/certificates

COPY cmd/clabernetes/main.go main.go

Expand Down

0 comments on commit b8f7dd0

Please sign in to comment.