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

K8 spsmdb 1213 #1744

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
97a6f79
Merge pull request #1714 from percona/release-1.18.0-push-test
eleo007 Nov 11, 2024
dc3633e
support for running e2e tests against arm64 GKE nodes
ptankov Nov 11, 2024
0a03ce9
making cert-manager able to be installed on arm64 nodes (using helm)
ptankov Nov 12, 2024
1111fdc
use apply_clien always so that client pod has proper tolerations applied
ptankov Nov 19, 2024
be2c942
update e2e test to use alpine/curl with tolerations for arm64 archite…
ptankov Nov 19, 2024
970942a
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 19, 2024
da6966d
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 19, 2024
09d5151
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 19, 2024
d49669e
update deploy_cmctl function to handle arm64 architecture tolerations
ptankov Nov 19, 2024
f56e773
use apply_clien always so that client pod has proper tolerations appl…
ptankov Nov 20, 2024
b1a00f2
add tolerations for arm64 architecture in run_simple_cli_inside_image…
ptankov Nov 20, 2024
908eb0f
add tolerations for arm64 architecture in deploy_operator_gh and clea…
ptankov Nov 20, 2024
4c0c72d
add initial run-release-arm64 configuration with various options
ptankov Nov 20, 2024
e7eeeab
Merge branch 'release-1.18.0' into K8SPSMDB-1213
ptankov Nov 20, 2024
43c416b
amazon/aws-cli instead of perconalab/awscli
ptankov Nov 21, 2024
f9282dd
add support for arm64 architecture in various e2e tests and enhance b…
ptankov Nov 25, 2024
ee95241
for upgrade-consistency and upgrade-consistency-sharded-tls tests, we…
ptankov Nov 21, 2024
07aac83
remove hardcoded image references in configuration files for e2e tests
ptankov Nov 25, 2024
feaef62
Merge branch 'release-1.18.0' into K8SPSMDB-1213
ptankov Nov 25, 2024
49cfb0c
Merge branch 'main' into K8SPSMDB-1213
ptankov Nov 25, 2024
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
171 changes: 171 additions & 0 deletions cw-rbac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: percona-server-mongodb-operator
rules:
- apiGroups:
- psmdb.percona.com
resources:
- perconaservermongodbs
- perconaservermongodbs/status
- perconaservermongodbs/finalizers
- perconaservermongodbbackups
- perconaservermongodbbackups/status
- perconaservermongodbbackups/finalizers
- perconaservermongodbrestores
- perconaservermongodbrestores/status
- perconaservermongodbrestores/finalizers
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
- pods/exec
- services
- persistentvolumeclaims
- secrets
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
- deployments
- replicasets
- statefulsets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- batch
resources:
- cronjobs
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- events.k8s.io
- ""
resources:
- events
verbs:
- get
- list
- watch
- create
- patch
- apiGroups:
- certmanager.k8s.io
- cert-manager.io
resources:
- issuers
- certificates
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
- apiGroups:
- net.gke.io
- multicluster.x-k8s.io
resources:
- serviceexports
- serviceimports
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: percona-server-mongodb-operator
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: service-account-percona-server-mongodb-operator
subjects:
- kind: ServiceAccount
name: percona-server-mongodb-operator
namespace: "psmdb-operator"
roleRef:
kind: ClusterRole
name: percona-server-mongodb-operator
apiGroup: rbac.authorization.k8s.io
171 changes: 171 additions & 0 deletions cw-rbac.yaml.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: percona-server-mongodb-operator
rules:
- apiGroups:
- psmdb.percona.com
resources:
- perconaservermongodbs
- perconaservermongodbs/status
- perconaservermongodbs/finalizers
- perconaservermongodbbackups
- perconaservermongodbbackups/status
- perconaservermongodbbackups/finalizers
- perconaservermongodbrestores
- perconaservermongodbrestores/status
- perconaservermongodbrestores/finalizers
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
- pods/exec
- services
- persistentvolumeclaims
- secrets
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
- deployments
- replicasets
- statefulsets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- batch
resources:
- cronjobs
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- events.k8s.io
- ""
resources:
- events
verbs:
- get
- list
- watch
- create
- patch
- apiGroups:
- certmanager.k8s.io
- cert-manager.io
resources:
- issuers
- certificates
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
- apiGroups:
- net.gke.io
- multicluster.x-k8s.io
resources:
- serviceexports
- serviceimports
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- deletecollection
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: percona-server-mongodb-operator
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: service-account-percona-server-mongodb-operator
subjects:
- kind: ServiceAccount
name: percona-server-mongodb-operator
namespace: "psmdb-operator"
roleRef:
kind: ClusterRole
name: percona-server-mongodb-operator
apiGroup: rbac.authorization.k8s.io
Loading
Loading