Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:

env:
# Common versions
GOLANGCI_VERSION: 'v2.0.2'
KUBERNETES_VERSION: '1.31.x'
GOLANGCI_VERSION: 'v2.10.1'
KUBERNETES_VERSION: '1.35.x'

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

env:
# Common versions
GOLANGCI_VERSION: 'v1.64.6'
KUBERNETES_VERSION: '1.31.x'
GOLANGCI_VERSION: 'v2.10.1'
KUBERNETES_VERSION: '1.35.x'

permissions:
contents: read
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ env:
TAG_SUFFIX: ${{ inputs.tag-suffix }}
ARCH: ${{ inputs.build-arch }}
DOCKERFILE: ${{ inputs.dockerfile }}
IS_FORK: ${{ inputs.username == '' && 'true' || 'false' }}

jobs:
build-publish:
Expand Down Expand Up @@ -86,7 +85,7 @@ jobs:

- name: Login to Docker
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
if: env.IS_FORK == 'false'
if: github.event.pull_request.head.repo.full_name != github.repository
with:
registry: ghcr.io
username: ${{ inputs.username }}
Expand All @@ -111,7 +110,7 @@ jobs:
echo "image-tag=${TAG}" >> $GITHUB_OUTPUT

- name: Build & Publish Artifacts
if: env.IS_FORK == 'false'
if: github.event.pull_request.head.repo.full_name == github.repository
shell: bash
env:
IMAGE_TAG: ${{ steps.container_info.outputs.image-tag }}
Expand All @@ -122,7 +121,7 @@ jobs:
run: make docker.build

- name: Build & Publish Artifacts fork
if: env.IS_FORK == 'true'
if: github.event.pull_request.head.repo.full_name != github.repository
shell: bash
env:
IMAGE_TAG: ${{ steps.container_info.outputs.image-tag }}
Expand All @@ -131,7 +130,7 @@ jobs:
run: make docker.build

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # master
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
with:
image-ref: ${{ inputs.image-name }}:${{ steps.container_info.outputs.image-tag }}
format: 'table'
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Image URL to use all building/pushing image targets
IMG ?= ghcr.io/external-secrets-inc/reloader
IMG ?= ghcr.io/external-secrets/reloader
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.31.0
ENVTEST_K8S_VERSION = 1.35.0

ARCH ?= amd64 arm64
BUILD_ARGS ?= CGO_ENABLED=0
Expand Down Expand Up @@ -187,11 +187,11 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
HELM ?= $(LOCALBIN)/helm

## Tool Versions
KUSTOMIZE_VERSION ?= v5.4.3
CONTROLLER_TOOLS_VERSION ?= v0.16.1
ENVTEST_VERSION ?= release-0.19
GOLANGCI_LINT_VERSION ?= v2.0.2
HELM_VERSION ?= v3.16.2
KUSTOMIZE_VERSION ?= v5.8.1
CONTROLLER_TOOLS_VERSION ?= v0.20.1
ENVTEST_VERSION ?= release-0.23
GOLANGCI_LINT_VERSION ?= v2.10.1
HELM_VERSION ?= v4.1.1

.PHONY: kustomize
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.
Expand Down
4 changes: 2 additions & 2 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ domain: external-secrets.io
layout:
- go.kubebuilder.io/v4
projectName: reloader
repo: github.com/external-secrets-inc/reloader
repo: github.com/external-secrets/reloader
resources:
- api:
crdVersion: v1
Expand All @@ -15,6 +15,6 @@ resources:
domain: external-secrets.io
group: reloader.external-secrets.io
kind: Config
path: github.com/external-secrets-inc/reloader/api/v1alpha1
path: github.com/external-secrets/reloader/api/v1alpha1
version: v1alpha1
version: "3"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ External Secrets Reloader Allows you to trigger reloads dynamically to Resources
Install from our release:
```
## Get Release
latest=$(curl -L https://api.github.com/repos/external-secrets-inc/reloader/releases/latest | jq -r .tag_name)
latest=$(curl -L https://api.github.com/repos/external-secrets/reloader/releases/latest | jq -r .tag_name)
## apply manifest
curl -L https://github.com/external-secrets-inc/reloader/releases/download/$latest/bundle.yaml | kubectl apply -f -
curl -L https://github.com/external-secrets/reloader/releases/download/$latest/bundle.yaml | kubectl apply -f -
```

Configure it to watch Secret Changes and Trigger Deployments:
Expand Down Expand Up @@ -62,4 +62,4 @@ Documentation is [hosted in here](https://docs.externalsecrets.com). We are curr
Anyone is free to come and contribute! Please note our [CLA](./CLA.md) and our [Code of Conduct](./CODE_OF_CONDUCT.md) before contributing.

## Community Meetings
So far, we did not organize any community meetings. If you'd like to see one, [open a discussion](https://github.com/external-secrets-inc/reloader/discussions)!
So far, we did not organize any community meetings. If you'd like to see one, [open a discussion](https://github.com/external-secrets/reloader/discussions)!
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if settings.get('debug').get('enabled'):


docker_build_with_restart(
'ghcr.io/external-secrets-inc/reloader',
'ghcr.io/external-secrets/reloader',
'.',
dockerfile = dockerfile,
entrypoint = entrypoint,
Expand Down
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import (
externalsecrets "github.com/external-secrets/external-secrets/apis/externalsecrets/v1"
pushsecrets "github.com/external-secrets/external-secrets/apis/externalsecrets/v1alpha1"

"github.com/external-secrets-inc/reloader/api/v1alpha1"
"github.com/external-secrets-inc/reloader/internal/controller"
"github.com/external-secrets/reloader/api/v1alpha1"
"github.com/external-secrets/reloader/internal/controller"
// +kubebuilder:scaffold:imports
)

Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/reloader.external-secrets.io_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.20.1
name: configs.reloader.external-secrets.io
spec:
group: reloader.external-secrets.io
Expand Down
2 changes: 1 addition & 1 deletion config/manager-local/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: ghcr.io/external-secrets-inc/reloader
newName: ghcr.io/external-secrets/reloader
2 changes: 1 addition & 1 deletion examples/helm-chart/reloader/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
replicaCount: 1

image:
repository: oci.external-secrets.io/external-secrets-inc/reloader
repository: oci.external-secrets.io/external-secrets/reloader
pullPolicy: IfNotPresent
tag: ""

Expand Down
89 changes: 44 additions & 45 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/external-secrets-inc/reloader
module github.com/external-secrets/reloader

go 1.25.1
go 1.25.7

require (
cloud.google.com/go/iam v1.5.3
Expand All @@ -11,21 +11,21 @@ require (
github.com/aws/aws-sdk-go-v2/credentials v1.18.24
github.com/aws/aws-sdk-go-v2/service/sqs v1.42.13
github.com/aws/aws-sdk-go-v2/service/sts v1.40.2
github.com/external-secrets/external-secrets v0.20.4
github.com/external-secrets/external-secrets/apis v0.0.0-20260220115333-4ec4aeb22431
github.com/go-logr/logr v1.4.3
github.com/googleapis/gax-go/v2 v2.15.0
github.com/onsi/ginkgo/v2 v2.27.2
github.com/onsi/gomega v1.38.2
github.com/stretchr/testify v1.11.1
github.com/tidwall/gjson v1.18.0
golang.org/x/oauth2 v0.33.0
golang.org/x/oauth2 v0.34.0
google.golang.org/api v0.256.0
google.golang.org/grpc v1.77.0
grpc.go4.org v0.0.0-20170609214715-11d0a25b4919
k8s.io/api v0.34.2
k8s.io/apimachinery v0.34.2
k8s.io/client-go v0.34.2
sigs.k8s.io/controller-runtime v0.22.4
k8s.io/api v0.35.0
k8s.io/apimachinery v0.35.0
k8s.io/client-go v0.35.0
sigs.k8s.io/controller-runtime v0.23.1
)

require (
Expand Down Expand Up @@ -58,25 +58,24 @@ require (
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-logr/zapr v1.3.0 // indirect
github.com/go-openapi/jsonpointer v0.22.1 // indirect
github.com/go-openapi/jsonreference v0.21.2 // indirect
github.com/go-openapi/swag v0.25.1 // indirect
github.com/go-openapi/swag/cmdutils v0.25.1 // indirect
github.com/go-openapi/swag/conv v0.25.1 // indirect
github.com/go-openapi/swag/fileutils v0.25.1 // indirect
github.com/go-openapi/swag/jsonname v0.25.1 // indirect
github.com/go-openapi/swag/jsonutils v0.25.1 // indirect
github.com/go-openapi/swag/loading v0.25.1 // indirect
github.com/go-openapi/swag/mangling v0.25.1 // indirect
github.com/go-openapi/swag/netutils v0.25.1 // indirect
github.com/go-openapi/swag/stringutils v0.25.1 // indirect
github.com/go-openapi/swag/typeutils v0.25.1 // indirect
github.com/go-openapi/swag/yamlutils v0.25.1 // indirect
github.com/go-openapi/jsonpointer v0.22.4 // indirect
github.com/go-openapi/jsonreference v0.21.4 // indirect
github.com/go-openapi/swag v0.25.4 // indirect
github.com/go-openapi/swag/cmdutils v0.25.4 // indirect
github.com/go-openapi/swag/conv v0.25.4 // indirect
github.com/go-openapi/swag/fileutils v0.25.4 // indirect
github.com/go-openapi/swag/jsonname v0.25.4 // indirect
github.com/go-openapi/swag/jsonutils v0.25.4 // indirect
github.com/go-openapi/swag/loading v0.25.4 // indirect
github.com/go-openapi/swag/mangling v0.25.4 // indirect
github.com/go-openapi/swag/netutils v0.25.4 // indirect
github.com/go-openapi/swag/stringutils v0.25.4 // indirect
github.com/go-openapi/swag/typeutils v0.25.4 // indirect
github.com/go-openapi/swag/yamlutils v0.25.4 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/cel-go v0.26.1 // indirect
github.com/google/gnostic-models v0.7.0 // indirect
github.com/google/gnostic-models v0.7.1 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/pprof v0.0.0-20251007162407-5df77e3f7d1d // indirect
github.com/google/s2a-go v0.1.9 // indirect
Expand All @@ -91,8 +90,8 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.23.2 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.67.1 // indirect
github.com/prometheus/procfs v0.17.0 // indirect
github.com/prometheus/common v0.67.5 // indirect
github.com/prometheus/procfs v0.19.2 // indirect
github.com/spf13/cobra v1.10.1 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/stoewer/go-strcase v1.3.1 // indirect
Expand All @@ -103,44 +102,44 @@ require (
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 // indirect
go.opentelemetry.io/otel v1.38.0 // indirect
go.opentelemetry.io/otel v1.41.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0 // indirect
go.opentelemetry.io/otel/metric v1.38.0 // indirect
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
go.opentelemetry.io/otel/trace v1.38.0 // indirect
go.opentelemetry.io/otel/metric v1.41.0 // indirect
go.opentelemetry.io/otel/sdk v1.41.0 // indirect
go.opentelemetry.io/otel/trace v1.41.0 // indirect
go.opentelemetry.io/proto/otlp v1.8.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.43.0 // indirect
golang.org/x/crypto v0.47.0 // indirect
golang.org/x/exp v0.0.0-20251017212417-90e834f514db // indirect
golang.org/x/mod v0.29.0 // indirect
golang.org/x/net v0.46.1-0.20251013234738-63d1a5100f82 // indirect
golang.org/x/sync v0.18.0 // indirect
golang.org/x/sys v0.37.0 // indirect
golang.org/x/term v0.36.0 // indirect
golang.org/x/text v0.30.0 // indirect
golang.org/x/mod v0.31.0 // indirect
golang.org/x/net v0.49.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.41.0 // indirect
golang.org/x/term v0.39.0 // indirect
golang.org/x/text v0.33.0 // indirect
golang.org/x/time v0.14.0 // indirect
golang.org/x/tools v0.38.0 // indirect
golang.org/x/tools v0.40.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
google.golang.org/genproto v0.0.0-20251014184007-4626949a642f // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20251022142026-3a174f9686a8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251103181224-f26f9409b101 // indirect
google.golang.org/protobuf v1.36.10 // indirect
google.golang.org/protobuf v1.36.11 // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.34.1 // indirect
k8s.io/apiserver v0.34.1 // indirect
k8s.io/component-base v0.34.1 // indirect
k8s.io/apiextensions-apiserver v0.35.0 // indirect
k8s.io/apiserver v0.35.0 // indirect
k8s.io/component-base v0.35.0 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
k8s.io/kube-openapi v0.0.0-20260127142750-a19766b6e2d4 // indirect
k8s.io/utils v0.0.0-20260108192941-914a6e750570 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.2-0.20260122202528-d9cc6641c482 // indirect
sigs.k8s.io/yaml v1.6.0 // indirect
)
Loading
Loading