Go to file
Kevin Franklin Kim 4cf20bcb1c
Merge pull request #71 from foomo/pretty
feat: pretty logs
2024-10-01 13:29:15 +02:00
_examples style: format code 2024-01-03 17:03:36 +01:00
.github Merge pull request #57 from foomo/dependabot/github_actions/goreleaser/goreleaser-action-6 2024-07-01 09:37:49 +02:00
.husky chore: update setup 2023-08-14 22:39:41 +02:00
cmd feat: pretty logs 2024-09-25 15:04:23 +02:00
internal feat: pretty logs 2024-09-25 15:04:23 +02:00
testdata feat: add vars and extend template funcs 2024-09-24 13:41:16 +02:00
.editorconfig chore: update setup 2023-08-14 22:39:41 +02:00
.gitignore feat: bump go, linter & deps 2024-07-22 10:15:08 +02:00
.golangci.yml feat: go 1.23 2024-09-23 14:09:47 +02:00
.goreleaser.yml chore: update setup 2024-03-25 17:00:51 +01:00
.husky.yaml chore: update setup 2023-08-14 22:39:41 +02:00
.yamllint.yaml style: format code 2024-01-03 17:03:36 +01:00
CODE_OF_CONDUCT.md chore: update setup 2023-08-14 22:39:41 +02:00
go.mod feat: pretty diff 2024-09-25 23:38:56 +02:00
go.sum feat: pretty diff 2024-09-25 23:38:56 +02:00
init.go feat: add squadron name to schema 2023-09-21 10:25:54 +02:00
LICENSE docs: add license 2021-07-26 15:57:20 +02:00
Makefile chore: update setup 2024-03-25 17:00:51 +01:00
README.md docs: update readme 2024-09-25 23:39:06 +02:00
squadron_test.go feat: pretty logs 2024-09-25 15:04:23 +02:00
squadron.go feat: pretty logs 2024-10-01 13:26:11 +02:00
TODO.md docs: update todos 2023-12-20 16:27:27 +01:00

Squadron

Build Status Go Report Card Coverage Status GoDoc

Application for managing kubernetes microservice environments.

Use it, if a helm chart is not enough in order to organize multiple services into an effective squadron.

Another way to think of it would be helm-compose, because it makes k8s and helm way more approachable, not matter if it is development or production (where it just becomes another helm chart)

Quickstart

Configure your squadron

# squadron.yaml
version: '2.0'

squadron:
  site:
    frontend:
      chart:
        name: mychart
        version: 0.1.0
        repository: http://helm.mycompany.com/repository
      builds:
        service:
          tag: latest
          file: Dockerfile
          image: docker.mycompany.com/mycomapny/frontend
          build_arg:
            - "foo=foo"
            - "bar=bar"
      values:
        image: docker.mycompany.com/mycomapny/frontend:latest
    backend:
      chart: <% env "PROJECT_ROOT" %>/path/to/chart
      kustomize: <% env "PROJECT_ROOT" %>/path/to/kustomize
      builds:
        service:
          tag: latest
          file: Dockerfile
          image: docker.mycompany.com/mycomapny/backend
          build_arg:
            - "foo=foo"
            - "bar=bar"
      values:
        image: docker.mycompany.com/mycomapny/backend:latest

Install the squadron squadron and namespace:

$ squadron up --build --push --namespace default

Uninstall the squadron again:

$ squadron down

Commands

# See:
$ squadron help

See also

Sometimes as a sailor or a pirate you might need to get a grapple : go get github.com/foomo/gograpple/...

How to Contribute

Make a pull request...

License

Distributed under MIT License, please see license file within the code for more details.