-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply more restrictive SecurityContext to components
This changeset add more restrictive SecurityContext to Calico opensource and enterprise components. Least privilege principle is applied to this change. Data plane components are mostly running as root user and application layer compoennts are running as non-root users. `Capabilities` and `SeccompProfile` are also filled with sensible defaults in `SecurityContext`s.
- Loading branch information
Showing
52 changed files
with
1,227 additions
and
668 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ LABEL name="Tigera Operator" \ | |
maintainer="[email protected]>" | ||
|
||
ENV OPERATOR=/usr/local/bin/operator \ | ||
USER_UID=1001 | ||
USER_UID=10001 | ||
|
||
# Install operator binary | ||
COPY build/_output/bin/operator-amd64 ${OPERATOR} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ LABEL name="Calico Operator" \ | |
maintainer="Laurence Man <[email protected]>" | ||
|
||
ENV OPERATOR=/usr/local/bin/operator \ | ||
USER_UID=1001 | ||
USER_UID=10001 | ||
|
||
# install operator binary | ||
COPY build/_output/bin/operator-arm64 ${OPERATOR} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ LABEL name="Tigera Operator" \ | |
maintainer="[email protected]>" | ||
|
||
ENV OPERATOR=/usr/local/bin/operator \ | ||
USER_UID=1001 | ||
USER_UID=10001 | ||
|
||
# Install operator binary | ||
COPY build/_output/bin/operator-ppc64le ${OPERATOR} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.