Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
Up the version
Browse files Browse the repository at this point in the history
  • Loading branch information
staticdev committed Sep 1, 2019
1 parent efa5e1a commit 0e2f80c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ From your workspace, go to /apps/manage/custom-integrations and add Bots app. Th
## Run with Docker

```sh
sudo docker build -t staticdev/k8s-python-slackbot:0.0.2 .
sudo docker run --name k8s-python-slackbot -d -e SLACK_BOT_NAME=k8s-python-slackbot -e SLACK_BOT_TOKEN=mybot-token staticdev/k8s-python-slackbot:0.0.2
sudo docker build -t staticdev/k8s-python-slackbot:0.0.3 .
sudo docker run --name k8s-python-slackbot -d -e SLACK_BOT_NAME=k8s-python-slackbot -e SLACK_BOT_TOKEN=mybot-token staticdev/k8s-python-slackbot:0.0.3
```

## Run with Minikube
Expand All @@ -22,7 +22,7 @@ Start a new cluster using your favorite VM (kvm2 recommended) and build:
minikube start --vm-driver=kvm2
# build inside minikube
eval $(minikube docker-env)
docker build -t staticdev/k8s-python-slackbot:0.0.2 -f Dockerfile .
docker build -t staticdev/k8s-python-slackbot:0.0.3 -f Dockerfile .
```

Create a slackbot.properties file in .env folder with the following structure:
Expand Down
2 changes: 1 addition & 1 deletion manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
secretKeyRef:
key: SLACK_BOT_TOKEN
name: slackbot-secrets
image: staticdev/k8s-python-slackbot:0.0.2
image: staticdev/k8s-python-slackbot:0.0.3
name: slack
resources: {}
restartPolicy: Always
Expand Down

0 comments on commit 0e2f80c

Please sign in to comment.