Skip to content

Commit

Permalink
operator pulsar-operator (0.17.9)
Browse files Browse the repository at this point in the history
  • Loading branch information
streamnativebot authored Dec 11, 2023
1 parent c3e91b9 commit fb6a22e
Show file tree
Hide file tree
Showing 9 changed files with 13,379 additions and 0 deletions.
21 changes: 21 additions & 0 deletions operators/pulsar-operator/0.17.9/bundle.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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=pulsar-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha,beta,stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.23.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v2

# 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/manifests /manifests/
COPY bundle/metadata /metadata/
COPY bundle/tests/scorecard /tests/scorecard/
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: pulsar-operator
control-plane: controller-manager
name: pulsar-operator-controller-manager-metrics-service
spec:
ports:
- name: https
port: 8443
targetPort: https
selector:
app: pulsar-operator
control-plane: controller-manager
status:
loadBalancer: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: pulsar-operator-metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: pulsar-operator-pulsar-broker
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- list
- watch
- get
- update
- create
- delete
- patch
- apiGroups:
- ""
resources:
- pods
- secrets
- services
verbs:
- list
- watch
- get
- update
- create
- delete
- patch
- apiGroups:
- apps
resources:
- deployments
- statefulsets
verbs:
- list
- watch
- get
- update
- create
- delete
- patch
- apiGroups:
- compute.functionmesh.io
resources:
- '*'
verbs:
- list
- watch
- get
- update
- create
- delete
- patch
Loading

0 comments on commit fb6a22e

Please sign in to comment.