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

V3 & Features #23

Merged
merged 13 commits into from
Mar 5, 2024
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
70 changes: 33 additions & 37 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,47 +1,43 @@
# Code generated by tool. DO NOT EDIT.
# This file is used to track the info used to scaffold your project
# and allow the plugins properly work.
# More info: https://book.kubebuilder.io/reference/project-config.html
domain: easymile.com
layout:
- go.kubebuilder.io/v4
- go.kubebuilder.io/v4
multigroup: true
plugins:
grafana.kubebuilder.io/v1-alpha: {}
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
projectName: postgresql-operator
repo: github.com/easymile/postgresql-operator
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: easymile.com
group: postgresql
kind: PostgresqlEngineConfiguration
path: github.com/easymile/postgresql-operator/apis/postgresql/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: easymile.com
group: postgresql
kind: PostgresqlDatabase
path: github.com/easymile/postgresql-operator/apis/postgresql/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: easymile.com
group: postgresql
kind: PostgresqlUser
path: github.com/easymile/postgresql-operator/apis/postgresql/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: easymile.com
group: postgresql
kind: PostgresqlUserRole
path: github.com/easymile/postgresql-operator/apis/postgresql/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: easymile.com
group: postgresql
kind: PostgresqlEngineConfiguration
path: github.com/easymile/postgresql-operator/apis/postgresql/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: easymile.com
group: postgresql
kind: PostgresqlDatabase
path: github.com/easymile/postgresql-operator/apis/postgresql/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: easymile.com
group: postgresql
kind: PostgresqlUserRole
path: github.com/easymile/postgresql-operator/apis/postgresql/v1alpha1
version: v1alpha1
version: "3"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Moreover, a single User can only have rights to one Database.
| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [PostgresqlEngineConfiguration](docs/crds/PostgresqlEngineConfiguration.md) | Represents a PostgreSQL Engine Configuration with all necessary data to connect it |
| [PostgresqlDatabase](docs/crds/PostgresqlDatabase.md) | Represents a PostgreSQL Database |
| DEPRECATED [PostgresqlUser](docs/crds/PostgresqlUser.md) | Represents a PostgreSQL User |
| [PostgresqlUserRole](docs/crds/PostgresqlUserRole.md) | Represents a PostgreSQL User Role |

## How to deploy ?
Expand Down
135 changes: 0 additions & 135 deletions api/postgresql/v1alpha1/postgresqluser_types.go

This file was deleted.

6 changes: 6 additions & 0 deletions api/postgresql/v1alpha1/postgresqluserrole_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ import (
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

type PrivilegesSpecEnum string

const OwnerPrivilege PrivilegesSpecEnum = "OWNER"
const ReaderPrivilege PrivilegesSpecEnum = "READER"
const WriterPrivilege PrivilegesSpecEnum = "WRITER"

type ConnectionTypesSpecEnum string

const PrimaryConnectionType ConnectionTypesSpecEnum = "PRIMARY"
Expand Down
94 changes: 0 additions & 94 deletions api/postgresql/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading