Skip to content

Commit

Permalink
operator [CI] mongodb-enterprise (1.30.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejKaras authored Dec 23, 2024
1 parent 4757d10 commit f0bd478
Show file tree
Hide file tree
Showing 15 changed files with 7,522 additions and 1 deletion.
22 changes: 22 additions & 0 deletions operators/mongodb-enterprise/1.30.0/bundle.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM scratch

# Core bundle labels.
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=mongodb-enterprise
LABEL operators.operatorframework.io.bundle.channels.v1=stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.26.1
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3

# Labels for testing.
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/

# Copy files to locations specified by labels.
COPY ./bundle/1.30.0//manifests /manifests/
COPY ./bundle/1.30.0//metadata /metadata/
COPY ./bundle/1.30.0//tests/scorecard /tests/scorecard/
LABEL com.redhat.openshift.versions="v4.6"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
creationTimestamp: null
name: mongodb-enterprise-appdb
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- apiGroups:
- ""
resources:
- pods
verbs:
- patch
- delete
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
creationTimestamp: null
name: mongodb-enterprise-appdb
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: mongodb-enterprise-appdb
subjects:
- kind: ServiceAccount
name: mongodb-enterprise-appdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
creationTimestamp: null
name: mongodb-enterprise-appdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
creationTimestamp: null
name: mongodb-enterprise-database-pods
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
name: mongodb-enterprise-operator-service
spec:
ports:
- name: webhook-port
port: 443
targetPort: 1993
selector:
app.kubernetes.io/name: mongodb-enterprise-operator
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
creationTimestamp: null
name: mongodb-enterprise-ops-manager
Loading

0 comments on commit f0bd478

Please sign in to comment.