-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dockerfile, add kubeconfig, minor fixes
- Loading branch information
Showing
12 changed files
with
138 additions
and
55 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.15 | ||
FROM alpine:3.18 | ||
ARG botkube_version="dev" | ||
LABEL org.opencontainers.image.source="[email protected]:kubeshop/botkube.git" \ | ||
org.opencontainers.image.title="Botkube" \ | ||
|
@@ -9,6 +9,11 @@ LABEL org.opencontainers.image.source="[email protected]:kubeshop/botkube.git" \ | |
|
||
COPY botkube /usr/local/bin/botkube | ||
|
||
RUN apk add --no-cache 'git=>2.38' 'openssh=~9.3' && \ | ||
mkdir /root/.ssh && \ | ||
chmod 700 /root/.ssh && \ | ||
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts | ||
|
||
# Create Non Privileged user | ||
RUN addgroup --gid 1001 botkube && \ | ||
adduser -S --uid 1001 --ingroup botkube 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
templates: | ||
- command: | ||
prefix: "argo list" | ||
parser: "table" | ||
message: | ||
select: | ||
name: "Workflows" | ||
itemKey: "{{ .Namespace }}/{{ .Name }}" | ||
actions: | ||
logs: "argo logs {{ .Name }} -n {{ .Namespace }}" | ||
describe: "argo get {{ .Name }} -n {{ .Namespace }}" | ||
delete: "argo delete {{ .Name }} -n {{ .Namespace }}" |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
templates: | ||
- trigger: | ||
command: "flux get sources" | ||
type: "parser:table:space" | ||
message: | ||
selects: | ||
- name: "Source" | ||
keyTpl: "{{ .Name }}" | ||
actions: | ||
export: "flux export source git {{ .Name }}" | ||
preview: | | ||
Name: {{ .Name }} | ||
Revision: {{ .Revision }} | ||
Suspended: {{ .Suspended }} | ||
Ready: {{ .Ready }} | ||
Message: {{ .Message}} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
templates: | ||
- trigger: | ||
command: "helm list" | ||
type: "parser:table:space" | ||
message: | ||
selects: | ||
- name: "Release" | ||
keyTpl: "{{ .Namespace }}/{{ .Name }}" | ||
actions: | ||
notes: "helm get notes {{ .Name }} -n {{ .Namespace }}" | ||
values: "helm get values {{ .Name }} -n {{ .Namespace }}" | ||
delete: "helm delete {{ .Name }} -n {{ .Namespace }}" | ||
preview: | | ||
Name: {{ .Name }} | ||
Namespace: {{ .Namespace }} | ||
Status: {{ .Status }} | ||
Chart: {{ .Chart }} |
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
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