Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename project owner and go module #6

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-charts.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ env:
jobs:
publish-helm:
# Skip this Release on forks
if: github.repository_owner == 'maxgio92'
if: github.repository_owner == 'projectcapsule'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ linters-settings:
sections:
- standard # Captures all standard packages if they do not match another section.
- default # Contains all imports that could not be matched to another section type.
- prefix(github.com/maxgio92/capsule-addon-fluxcd) # Groups all imports with the specified Prefix.
- prefix(github.com/projectcapsule/capsule-addon-fluxcd) # Groups all imports with the specified Prefix.
goconst:
min-len: 2
min-occurrences: 3
8 changes: 4 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ signs:
# https://goreleaser.com/customization/ko/?h=kos
kos:
- base_image: cgr.dev/chainguard/static
repository: ghcr.io/maxgio92/capsule-addon-fluxcd
repository: ghcr.io/projectcapsule/capsule-addon-fluxcd
bare: true
tags:
- '{{ .Version }}'
@@ -86,11 +86,11 @@ release:

Those were the changes on {{ .Tag }}!

**Full Changelog**: https://github.com/maxgio92/{{ .ProjectName }}/compare/{{ .PreviousTag }}...{{ .Tag }}
**Full Changelog**: https://github.com/projectcapsule/{{ .ProjectName }}/compare/{{ .PreviousTag }}...{{ .Tag }}

**Container images**
- `ghcr.io/maxgio92/{{ .ProjectName }}:{{ .Tag }}`
- `ghcr.io/maxgio92/{{ .ProjectName }}:latest`
- `ghcr.io/projectcapsule/{{ .ProjectName }}:{{ .Tag }}`
- `ghcr.io/projectcapsule/{{ .ProjectName }}:latest`

# Generate a GitHub release with a customized changelog.
changelog:
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Latest release](https://img.shields.io/github/v/release/maxgio92/capsule-addon-fluxcd?style=for-the-badge)](https://github.com/maxgio92/capsule-addon-fluxcd/releases/latest)
[![License](https://img.shields.io/github/license/maxgio92/capsule-addon-fluxcd?style=for-the-badge)](COPYING)
![Go version](https://img.shields.io/github/go-mod/go-version/maxgio92/capsule-addon-fluxcd?style=for-the-badge)
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/maxgio92/capsule-addon-fluxcd/scan-code.yml?style=for-the-badge&label=GoSec)
[![Latest release](https://img.shields.io/github/v/release/projectcapsule/capsule-addon-fluxcd?style=for-the-badge)](https://github.com/projectcapsule/capsule-addon-fluxcd/releases/latest)
[![License](https://img.shields.io/github/license/projectcapsule/capsule-addon-fluxcd?style=for-the-badge)](COPYING)
![Go version](https://img.shields.io/github/go-mod/go-version/projectcapsule/capsule-addon-fluxcd?style=for-the-badge)
![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/projectcapsule/capsule-addon-fluxcd/scan-code.yml?style=for-the-badge&label=GoSec)

# Capsule addon for Flux CD

@@ -16,7 +16,7 @@ This way tenants can be provided Namespace-as-a-Service in a GitOps fashion.
## Install

```shell
helm install -n capsule-system capsule-addon-fluxcd oci://ghcr.io/maxgio92/charts/capsule-addon-fluxcd
helm install -n capsule-system capsule-addon-fluxcd oci://ghcr.io/projectcapsule/charts/capsule-addon-fluxcd
```

## How it works
2 changes: 1 addition & 1 deletion charts/capsule-addon-fluxcd/README.md
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ A Helm chart for Kubernetes
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/maxgio92/capsule-addon-fluxcd"` | |
| image.repository | string | `"ghcr.io/projectcapsule/capsule-addon-fluxcd"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| livenessProbe | object | `{"httpGet":{"path":"/healthz","port":10080}}` | Configure the liveness probe using Deployment probe spec |
2 changes: 1 addition & 1 deletion charts/capsule-addon-fluxcd/values.yaml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: ghcr.io/maxgio92/capsule-addon-fluxcd
repository: ghcr.io/projectcapsule/capsule-addon-fluxcd
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
4 changes: 2 additions & 2 deletions cmd/manager/manager.go
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log/zap"
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"

"github.com/maxgio92/capsule-addon-flux/pkg/controller/serviceaccount"
"github.com/maxgio92/capsule-addon-flux/pkg/indexer"
"github.com/projectcapsule/capsule-addon-flux/pkg/controller/serviceaccount"
"github.com/projectcapsule/capsule-addon-flux/pkg/indexer"
)

type Options struct {
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/maxgio92/capsule-addon-flux/cmd/manager"
"github.com/projectcapsule/capsule-addon-flux/cmd/manager"
"github.com/spf13/cobra"
)

2 changes: 1 addition & 1 deletion e2e/charts/serviceaccount_test.go
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ import (
"k8s.io/client-go/tools/clientcmd"
"time"

"github.com/maxgio92/capsule-addon-flux/pkg/controller/serviceaccount"
"github.com/projectcapsule/capsule-addon-flux/pkg/controller/serviceaccount"
)

var _ = Describe("Creating a new ServiceAccount", func() {
2 changes: 1 addition & 1 deletion e2e/charts/suite_test.go
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ package charts

import (
"fmt"
"github.com/maxgio92/capsule-addon-flux/e2e/utils"
"github.com/projectcapsule/capsule-addon-flux/e2e/utils"
"os"
"testing"
"time"
2 changes: 1 addition & 1 deletion e2e/serviceaccount_test.go
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ import (
"k8s.io/client-go/tools/clientcmd"
"time"

"github.com/maxgio92/capsule-addon-flux/pkg/controller/serviceaccount"
"github.com/projectcapsule/capsule-addon-flux/pkg/controller/serviceaccount"
)

var _ = Describe("Creating a new ServiceAccount", func() {
4 changes: 2 additions & 2 deletions e2e/suite_test.go
Original file line number Diff line number Diff line change
@@ -23,8 +23,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client/config"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

cmd "github.com/maxgio92/capsule-addon-flux/cmd/manager"
"github.com/maxgio92/capsule-addon-flux/e2e/utils"
cmd "github.com/projectcapsule/capsule-addon-flux/cmd/manager"
"github.com/projectcapsule/capsule-addon-flux/e2e/utils"
)

const (
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/maxgio92/capsule-addon-flux
module github.com/projectcapsule/capsule-addon-flux

go 1.21

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/maxgio92/capsule-addon-flux/cmd"
"github.com/projectcapsule/capsule-addon-flux/cmd"
)

func main() {