feature/cleanup
Karolis Rusenas 2023-03-05 20:26:11 +00:00
parent f9e1cf9f2b
commit a6f6a9d946
No known key found for this signature in database
GPG Key ID: 4962ECCA88323B2A
3 changed files with 29 additions and 114 deletions

View File

@ -1,73 +0,0 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: golang:1.20.1
#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/keel-hq/keel
steps:
- checkout
# specify any bash command here prefixed with `run: `
- run: make build
- run: go get github.com/mfridman/tparse
- run: make test
lint-scripts:
docker:
- image: koalaman/shellcheck-alpine
steps:
- checkout
- run:
name: lint
command: |
shellcheck -x .scripts/gen_packages.sh
shellcheck -x .scripts/index_repo.sh
shellcheck -x .scripts/repo-sync.sh
shellcheck -x .test/e2e-kind.sh
lint-charts:
docker:
- image: quay.io/helmpack/chart-testing:v3.7.1
steps:
- checkout
- run:
name: lint
command: |
git remote add k8s https://github.com/keel-hq/keel
git fetch k8s master
ct lint --config .test/ct.yaml
install-charts:
machine: true
environment:
CHART_TESTING_IMAGE: quay.io/helmpack/chart-testing
CHART_TESTING_TAG: v3.7.1
CHARTS_REPO: https://github.com/keel-hq/keel
K8S_VERSION: v1.24.7
steps:
- checkout
- run:
name: install
command: |
.test/e2e-kind.sh
no_output_timeout: 3600
workflows:
version: 2
build_lint_and_install:
jobs:
- build
- lint-scripts:
requires:
- build
- lint-charts:
requires:
- lint-scripts
- install-charts:
requires:
- lint-charts

View File

@ -3,11 +3,6 @@
</p>
<p align="center">
<a href="https://hub.docker.com/r/keelhq/keel/">
<img src="https://circleci.com/gh/keel-hq/keel/tree/master.svg?style=shield&circle-token=0239846a42cfa188de531058b9a2116a4b8600d8" alt="CircleCI">
</a>
<a href="https://goreportcard.com/report/github.com/keel-hq/keel">
<img src="https://goreportcard.com/badge/github.com/keel-hq/keel" alt="Go Report">
</a>
@ -55,44 +50,9 @@ Keel provides several key features:
### Support
Support Keel's development by:
* [Patreon](https://patreon.com/keel)
* [Paypal](https://www.paypal.me/keelhq)
* Star this repository
* [Follow on Twitter](https://twitter.com/keel_hq)
### Warp speed quick start
To achieve warp speed, we will be using [sunstone.dev](https://about.sunstone.dev) service and [Minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/).
Start Minikube:
```bash
minikube start
```
Install customized Keel (feel free to change credentials, namespace and version tag) straight from your `kubectl`.
```bash
# To override default latest semver tag, add &tag=x.x.x query argument to the URL below
kubectl apply -f https://sunstone.dev/keel?namespace=default&username=admin&password=admin&tag=latest
# and get Keel IP:
minikube service --namespace default keel --url
http://192.168.99.100:3199
```
> We are overriding default latest semver tag with **latest** since it has the new UI. If you want to use latest semver, just remove the `&tag=latest` part from the URL.
### Creating remotely accessible Keel instance
Keel can work together with [webhook relay tunnels](https://webhookrelay.com). To deploy Keel with Webhook Relay sidecar you will need to get [a token](https://my.webhookrelay.com/tokens), then pre-create [a tunnel](https://my.webhookrelay.com/tunnels) and:
```
kubectl apply -f https://sunstone.dev/keel?namespace=default&username=admin&password=admin&relay_key=TOKEN_KEY&relay_secret=TOKEN_SECRET&relay_tunnel=TUNNEL_NAME&tag=latest
```
Now, you can access Keel remotely.
### Helm quick start
Prerequisites:
@ -142,7 +102,7 @@ A step-by-step guide to install Keel on your Kubernetes cluster is viewable on t
Once Keel is deployed, you only need to specify update policy on your deployment file or Helm chart:
```yaml
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: wd

28
values.yaml Normal file
View File

@ -0,0 +1,28 @@
image:
repository: keelhq/keel
tag: 0.17.0-rc1
pullPolicy: Always
# Enable insecure registries
insecureRegistry: false
# Polling is enabled by default,
# you can disable it setting value below to false
polling:
enabled: true
# Helm provider support
helmProvider:
version: "v3"
enabled: true
basicauth:
enabled: true
user: "admin"
password: "password"
service:
enabled: true
type: NodePort
externalPort: 9300
clusterIP: ""