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

operator stackgres (1.14.2) #5485

Merged
merged 1 commit into from
Dec 27, 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: stackgres
app.kubernetes.io/instance: editor-clusterrole
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrole
app.kubernetes.io/part-of: stackgres
name: stackgres-editor-clusterrole
rules:
- apiGroups:
- stackgres.io
resources:
- '*'
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: stackgres
app.kubernetes.io/instance: editor-role
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: role
app.kubernetes.io/part-of: stackgres
name: stackgres-editor-role
rules:
- apiGroups:
- stackgres.io
resources:
- '*'
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
name: stackgres-operator
spec:
ports:
- port: 443
targetPort: 8443
selector:
app: stackgres-operator
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: stackgres
app.kubernetes.io/instance: viewer-clusterrole
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrole
app.kubernetes.io/part-of: stackgres
name: stackgres-viewer-clusterrole
rules:
- apiGroups:
- stackgres.io
resources:
- '*'
verbs:
- get
- list
- watch
- apiGroups:
- stackgres.io
resources:
- sgconfigs/status
verbs:
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: stackgres
app.kubernetes.io/instance: viewer-role
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: role
app.kubernetes.io/part-of: stackgres
name: stackgres-viewer-role
rules:
- apiGroups:
- stackgres.io
resources:
- '*'
verbs:
- get
- list
- watch
- apiGroups:
- stackgres.io
resources:
- sgconfigs/status
verbs:
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: stackgres-webconsole-admin
rules:
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- clusterrolebindings
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apiextensions.k8s.io
resourceNames:
- sgconfigs.stackgres.io
- sgclusters.stackgres.io
- sginstanceprofiles.stackgres.io
- sgpgconfigs.stackgres.io
- sgpoolconfigs.stackgres.io
- sgbackups.stackgres.io
- sgbackupconfigs.stackgres.io
- sgobjectstorages.stackgres.io
- sgdbops.stackgres.io
- sgdistributedlogs.stackgres.io
- sgshardedclusters.stackgres.io
- sgscripts.stackgres.io
- sgstreams.stackgres.io
resources:
- customresourcedefinitions
verbs:
- get
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- list
- apiGroups:
- ''
- storage.k8s.io
resources:
- namespaces
- storageclasses
verbs:
- get
- list
- watch
- apiGroups:
- ''
- batch
resources:
- pods/exec
- configmaps
- secrets
- jobs
verbs:
- create
- apiGroups:
- ''
resources:
- pods/exec
verbs:
- get
- apiGroups:
- ''
- batch
resources:
- configmaps
- secrets
- jobs
verbs:
- delete
- apiGroups:
- ''
resources:
- configmaps
- secrets
verbs:
- patch
- update
- apiGroups:
- ''
- batch
- storage.k8s.io
resources:
- pods
- services
- configmaps
- secrets
- persistentvolumes
- persistentvolumeclaims
- events
- jobs
verbs:
- get
- list
- watch
- apiGroups:
- stackgres.io
resources:
- sgclusters
- sgpgconfigs
- sginstanceprofiles
- sgpoolconfigs
- sgbackupconfigs
- sgbackups
- sgdistributedlogs
- sgdbops
- sgobjectstorages
- sgscripts
- sgshardedclusters
- sgshardedbackups
- sgshardeddbops
- sgstreams
verbs:
- create
- watch
- list
- get
- update
- patch
- delete
- apiGroups:
- stackgres.io
resources:
- sgconfigs
verbs:
- watch
- list
- get
- update
- patch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- roles
- rolebindings
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: stackgres
app.kubernetes.io/instance: webconsole-admin-clusterrolebinding
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: clusterrolebinding
app.kubernetes.io/part-of: stackgres
name: stackgres-webconsole-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: stackgres-webconsole-admin
subjects:
- kind: User
name: admin
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: stackgres-webconsole-reader
rules:
- apiGroups:
- apiextensions.k8s.io
resourceNames:
- sgconfigs.stackgres.io
- sgclusters.stackgres.io
- sginstanceprofiles.stackgres.io
- sgpgconfigs.stackgres.io
- sgpoolconfigs.stackgres.io
- sgbackups.stackgres.io
- sgbackupconfigs.stackgres.io
- sgobjectstorages.stackgres.io
- sgdbops.stackgres.io
- sgdistributedlogs.stackgres.io
- sgshardedclusters.stackgres.io
- sgscripts.stackgres.io
- sgstreams.stackgres.io
resources:
- customresourcedefinitions
verbs:
- get
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- list
- apiGroups:
- ''
- storage.k8s.io
resources:
- namespaces
- storageclasses
verbs:
- get
- list
- watch
- apiGroups:
- ''
- batch
resources:
- pods/exec
verbs:
- create
- apiGroups:
- ''
resources:
- pods/exec
verbs:
- get
- apiGroups:
- ''
- batch
- storage.k8s.io
resources:
- pods
- services
- configmaps
- secrets
- persistentvolumes
- persistentvolumeclaims
- events
- jobs
verbs:
- get
- list
- watch
- apiGroups:
- stackgres.io
resources:
- sgclusters
- sgpgconfigs
- sginstanceprofiles
- sgpoolconfigs
- sgbackupconfigs
- sgbackups
- sgdistributedlogs
- sgdbops
- sgobjectstorages
- sgscripts
- sgshardedclusters
- sgshardedbackups
- sgshardeddbops
- sgstreams
verbs:
- watch
- list
- get
- apiGroups:
- stackgres.io
resources:
- sgconfigs
verbs:
- watch
- list
- get
Loading
Loading