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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-go@v6
with:
go-version: "1.24.5"
go-version: "1.26.0"

- name: Cache Go modules
uses: actions/cache@v5
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint-$(GOLANGCI_LINT_VERSION)

## Tool Versions
KUSTOMIZE_VERSION ?= v5.3.0
CONTROLLER_TOOLS_VERSION ?= v0.14.0
CONTROLLER_TOOLS_VERSION ?= v0.20.1
ENVTEST_VERSION ?= release-0.17
GOLANGCI_LINT_VERSION ?= v1.57.2

Expand Down
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.14.0
controller-gen.kubebuilder.io/version: v0.20.1
name: postgresqldatabases.postgresql.lunar.tech
spec:
group: postgresql.lunar.tech
Expand Down Expand Up @@ -128,7 +128,6 @@ spec:
granted to this user to allow access to the resources it may have created
before this user was enabled.


This option is here to support legacy applications sharing database
instances and should never be used for new databases.
type: boolean
Expand Down
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.14.0
controller-gen.kubebuilder.io/version: v0.20.1
name: postgresqlhostcredentials.postgresql.lunar.tech
spec:
group: postgresql.lunar.tech
Expand Down
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.14.0
controller-gen.kubebuilder.io/version: v0.20.1
name: postgresqlserviceusers.postgresql.lunar.tech
spec:
group: postgresql.lunar.tech
Expand Down
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.14.0
controller-gen.kubebuilder.io/version: v0.20.1
name: postgresqlusers.postgresql.lunar.tech
spec:
group: postgresql.lunar.tech
Expand Down
63 changes: 5 additions & 58 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ rules:
- postgresql.lunar.tech
resources:
- postgresqldatabases
- postgresqlserviceusers
- postgresqlusers
verbs:
- create
- delete
Expand All @@ -28,6 +30,9 @@ rules:
- postgresql.lunar.tech
resources:
- postgresqldatabases/status
- postgresqlhostcredentials/status
- postgresqlserviceusers/status
- postgresqlusers/status
verbs:
- get
- patch
Expand All @@ -44,65 +49,7 @@ rules:
- postgresql.lunar.tech
resources:
- postgresqlhostcredentials/finalizers
verbs:
- update
- apiGroups:
- postgresql.lunar.tech
resources:
- postgresqlhostcredentials/status
verbs:
- get
- patch
- update
- apiGroups:
- postgresql.lunar.tech
resources:
- postgresqlserviceusers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- postgresql.lunar.tech
resources:
- postgresqlserviceusers/finalizers
verbs:
- update
- apiGroups:
- postgresql.lunar.tech
resources:
- postgresqlserviceusers/status
verbs:
- get
- patch
- update
- apiGroups:
- postgresql.lunar.tech
resources:
- postgresqlusers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- postgresql.lunar.tech
resources:
- postgresqlusers/finalizers
verbs:
- update
- apiGroups:
- postgresql.lunar.tech
resources:
- postgresqlusers/status
verbs:
- get
- patch
- update
Loading