2 Commits

Author SHA1 Message Date
95609a3092 feat(repo): use the katenary.io URL
All checks were successful
Go-Tests / tests (pull_request) Successful in 2m0s
Go-Tests / sonar (pull_request) Successful in 57s
2025-08-19 23:58:51 +02:00
8e54d611eb feat(doc): Remove other github references 2025-08-19 23:58:26 +02:00
31 changed files with 69 additions and 64 deletions

View File

@@ -33,22 +33,27 @@ Today, it's partially developed in collaboration with [Klee Group](https://www.k
and **will stay an open source and free (as freedom) project**. We are convinced that the best way to make it better is to and **will stay an open source and free (as freedom) project**. We are convinced that the best way to make it better is to
share it with the community. share it with the community.
The main developer is [Patrice FERLET](https://github.com/metal3d). The main developer is [Patrice FERLET](https://repo.katenary.io/metal3d).
## Install ## Install
You can download the binaries from the [Release](https://github.com/Katenary/katenary/releases) section. Copy the binary You can download the binaries from the [Release](https://repo.katenary.io/Katenary/katenary/releases) section. Copy the binary
and rename it to `katenary`. Place the binary inside your `PATH`. You should now be able to call the `katenary` command. and rename it to `katenary`. Place the binary inside your `PATH`. You should now be able to call the `katenary` command.
You can of course get the binary with `go install -u github.com/Katenary/katenary/cmd/katenary/...` but the `main` branch On Linux, you can use the `install.sh` from the repository to install it in your `$HOME/.local/bin` directory:
is continuously updated. It's preferable to use releases.
You can use this commands on Linux:
```bash ```bash
sh <(curl -sSL https://repo.katenary.io/Katenary/katenary/raw/branch/master/install.sh) sh <(curl -sSL https://repo.katenary.io/Katenary/katenary/raw/branch/master/install.sh)
``` ```
All OS, if you've installed Go on your computer, you can install using:
```bash
go install -u katenary.io/cmd@latest
# or use a release
go install -u katenary.io/cmd@v3.0.0
```
## Or, build yourself ## Or, build yourself
If you've got `podman` or `docker`, you can build `katenary` by using: If you've got `podman` or `docker`, you can build `katenary` by using:
@@ -252,7 +257,7 @@ web:
To validate the `katenary.yaml` file, you can use the JSON schema using the "master" raw content: To validate the `katenary.yaml` file, you can use the JSON schema using the "master" raw content:
`https://raw.githubusercontent.com/Katenary/katenary/refs/heads/master/katenary.json` `https://repo.katenary.io/Katenary/katenary/raw/branch/master/katenary.json`
It's easy to configure in [LazyVim](https://www.lazyvim.org/), using `nvim-lspconfig`, It's easy to configure in [LazyVim](https://www.lazyvim.org/), using `nvim-lspconfig`,
create a Lua file in your `plugins` directory, or apply the settings as the example below: create a Lua file in your `plugins` directory, or apply the settings as the example below:

View File

@@ -10,10 +10,10 @@ import (
"os" "os"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator" "katenary.io/internal/generator"
"repo.katenary.io/katenary/katenary/internal/generator/katenaryfile" "katenary.io/internal/generator/katenaryfile"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/cli" "github.com/compose-spec/compose-go/cli"
"github.com/spf13/cobra" "github.com/spf13/cobra"

2
go.mod
View File

@@ -1,4 +1,4 @@
module repo.katenary.io/katenary/katenary module katenary.io
go 1.25 go 1.25

View File

@@ -9,9 +9,9 @@ import (
"slices" "slices"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
corev1 "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1"

View File

@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
appsv1 "k8s.io/api/apps/v1" appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"

View File

@@ -9,9 +9,9 @@ import (
"strings" "strings"
"unicode/utf8" "unicode/utf8"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
corev1 "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1"

View File

@@ -7,7 +7,7 @@ import (
"regexp" "regexp"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
v1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"

View File

@@ -12,12 +12,12 @@ import (
"strings" "strings"
"time" "time"
"repo.katenary.io/katenary/katenary/internal/generator/extrafiles" "katenary.io/internal/generator/extrafiles"
"repo.katenary.io/katenary/katenary/internal/generator/katenaryfile" "katenary.io/internal/generator/katenaryfile"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/parser" "katenary.io/internal/parser"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
) )

View File

@@ -4,9 +4,9 @@ import (
"log" "log"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
batchv1 "k8s.io/api/batch/v1" batchv1 "k8s.io/api/batch/v1"

View File

@@ -9,9 +9,9 @@ import (
"strings" "strings"
"time" "time"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
appsv1 "k8s.io/api/apps/v1" appsv1 "k8s.io/api/apps/v1"

View File

@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
yaml3 "gopkg.in/yaml.v3" yaml3 "gopkg.in/yaml.v3"
v1 "k8s.io/api/apps/v1" v1 "k8s.io/api/apps/v1"

View File

@@ -7,9 +7,9 @@ import (
"regexp" "regexp"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
corev1 "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1"

View File

@@ -3,7 +3,7 @@ package generator
import ( import (
"regexp" "regexp"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
) )
var ( var (

View File

@@ -4,7 +4,7 @@ import (
_ "embed" _ "embed"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
) )
// helmHelper is a template for the _helpers.tpl file in the chart templates directory. // helmHelper is a template for the _helpers.tpl file in the chart templates directory.

View File

@@ -4,9 +4,9 @@ import (
"log" "log"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
networkv1 "k8s.io/api/networking/v1" networkv1 "k8s.io/api/networking/v1"

View File

@@ -5,7 +5,7 @@ import (
"os" "os"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
v1 "k8s.io/api/networking/v1" v1 "k8s.io/api/networking/v1"
"sigs.k8s.io/yaml" "sigs.k8s.io/yaml"

View File

@@ -9,9 +9,9 @@ import (
"reflect" "reflect"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
"github.com/invopop/jsonschema" "github.com/invopop/jsonschema"

View File

@@ -6,7 +6,7 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"github.com/compose-spec/compose-go/cli" "github.com/compose-spec/compose-go/cli"
) )

View File

@@ -3,7 +3,7 @@ package generator
import ( import (
"fmt" "fmt"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
) )
var componentLabel = labels.LabelName("component") var componentLabel = labels.LabelName("component")

View File

@@ -11,7 +11,7 @@ import (
"text/tabwriter" "text/tabwriter"
"text/template" "text/template"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"sigs.k8s.io/yaml" "sigs.k8s.io/yaml"
) )

View File

@@ -3,7 +3,7 @@ package labelstructs_test
import ( import (
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
) )
func TestConfigMapFileFrom(t *testing.T) { func TestConfigMapFileFrom(t *testing.T) {

View File

@@ -3,7 +3,7 @@ package labelstructs
import ( import (
"fmt" "fmt"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
) )

View File

@@ -1,7 +1,7 @@
package generator package generator
import ( import (
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
corev1 "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1"

View File

@@ -4,8 +4,8 @@ import (
"encoding/base64" "encoding/base64"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
corev1 "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1"

View File

@@ -6,7 +6,7 @@ import (
"os" "os"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
v1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
"sigs.k8s.io/yaml" "sigs.k8s.io/yaml"

View File

@@ -5,7 +5,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
v1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"

View File

@@ -6,7 +6,7 @@ import (
"os/exec" "os/exec"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/parser" "katenary.io/internal/parser"
) )
const unmarshalError = "Failed to unmarshal the output: %s" const unmarshalError = "Failed to unmarshal the output: %s"

View File

@@ -5,9 +5,9 @@ import (
"strconv" "strconv"
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/generator/labels/labelstructs" "katenary.io/internal/generator/labels/labelstructs"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
corev1 "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1"

View File

@@ -6,8 +6,8 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/cli" "github.com/compose-spec/compose-go/cli"
) )

View File

@@ -3,7 +3,7 @@ package generator
import ( import (
"strings" "strings"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
"github.com/compose-spec/compose-go/types" "github.com/compose-spec/compose-go/types"
v1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"

View File

@@ -10,8 +10,8 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
"repo.katenary.io/katenary/katenary/internal/generator/labels" "katenary.io/internal/generator/labels"
"repo.katenary.io/katenary/katenary/internal/utils" "katenary.io/internal/utils"
v1 "k8s.io/api/apps/v1" v1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1"