Go to file
Kevin Franklin Kim ffc5513c07
Merge pull request #59 from foomo/dependabot/go_modules/github.com/spf13/cobra-1.8.1
chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
2024-07-01 09:39:01 +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: switch to StringArray 2024-04-30 19:11:24 +02:00
internal feat: add opDoc template func 2024-06-06 22:54:13 +02:00
testdata fix: parallel local dependencies update 2024-02-05 10:40:06 +01:00
.editorconfig chore: update setup 2023-08-14 22:39:41 +02:00
.gitignore feat: add yamllint 2023-12-20 16:26:59 +01:00
.golangci.yml chore: update linter 2024-03-25 17:00:38 +01: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 Merge pull request #59 from foomo/dependabot/go_modules/github.com/spf13/cobra-1.8.1 2024-07-01 09:39:01 +02:00
go.sum Merge pull request #59 from foomo/dependabot/go_modules/github.com/spf13/cobra-1.8.1 2024-07-01 09:39:01 +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 chore: update setup 2024-03-25 17:00:51 +01:00
squadron_test.go feat: fix race conditions 2023-09-27 10:02:55 +02:00
squadron.go feat: allow dynamic docker command arguements 2024-05-02 14:04:53 +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
          dockerfile: Dockerfile
          image: docker.mycompany.com/mycomapny/frontend
          args:
            - "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
          dockerfile: Dockerfile
          image: docker.mycompany.com/mycomapny/backend
          args:
            - "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.