Skip to content

Commit

Permalink
operator stackgres (1.15.0-rc1)
Browse files Browse the repository at this point in the history
  • Loading branch information
teoincontatto authored Dec 4, 2024
1 parent 7b67615 commit ea9c5cd
Show file tree
Hide file tree
Showing 26 changed files with 69,671 additions and 0 deletions.
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

0 comments on commit ea9c5cd

Please sign in to comment.