-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove built-in kubectl, filters, defaultNamespace, fix list bugs
- Loading branch information
Showing
52 changed files
with
599 additions
and
4,429 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,6 @@ LABEL org.opencontainers.image.source="[email protected]:kubeshop/botkube.git" \ | |
org.opencontainers.image.licenses="MIT" | ||
|
||
COPY botkube /usr/local/bin/botkube | ||
# Download the latest kubectl in the appropriate architecture. Currently handles aarch64 (arm64) and x86_64 (amd64). | ||
RUN MACH=$(uname -m); if [[ ${MACH} == "aarch64" ]]; then ARCH=arm64; \ | ||
elif [[ ${MACH} == "x86_64" ]]; then ARCH=amd64; \ | ||
elif [[ ${MACH} == "armv7l" ]]; then ARCH=arm; \ | ||
else echo "Unsupported arch: ${MACH}"; ARCH=${MACH}; fi; \ | ||
wget -O /usr/local/bin/kubectl "https://dl.k8s.io/release/$(wget -qO - https://dl.k8s.io/release/stable.txt)/bin/linux/${ARCH}/kubectl" && \ | ||
chmod +x /usr/local/bin/kubectl | ||
|
||
# Create Non Privileged user | ||
RUN addgroup --gid 1001 botkube && \ | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.