-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
10,211 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest as builder-runner | ||
RUN microdnf install -y skopeo jq python3 python3-pip | ||
RUN pip3 install --upgrade pip && pip3 install ruamel.yaml==0.17.9 | ||
|
||
# Use a new stage to enable caching of the package installations for local development | ||
FROM builder-runner as builder | ||
|
||
#Copy files to locations specified by labels. | ||
COPY bundle/manifests /manifests/ | ||
COPY bundle/metadata /metadata/ | ||
COPY bundle/tests/scorecard /tests/scorecard/ | ||
COPY hack/update_bundle.sh . | ||
COPY hack/update_configmap.sh . | ||
RUN ./update_bundle.sh | ||
RUN ./update_configmap.sh | ||
|
||
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=bpfman-operator | ||
LABEL operators.operatorframework.io.bundle.channels.v1=alpha | ||
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.26.0 | ||
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/ | ||
|
||
# Labels for konflux to release the images | ||
LABEL name="bpfman-operator" \ | ||
com.redhat.component="bpfman-operator" \ | ||
io.k8s.display-name="Bpfman Operator" \ | ||
description="The bpfman-operator manage bpfman ebpf programs on every node." \ | ||
distribution-scope=public \ | ||
io.k8s.description="The bpfman-operator manage bpfman programs on every node. ." \ | ||
io.openshift.tags="bpfman-operator" \ | ||
version="0.5.5" \ | ||
release="0.5.5" \ | ||
url="https://github.com/bpfman/bpfman-operator" \ | ||
vendor="Red Hat, Inc." \ | ||
summary="Bpfman Operator" | ||
|
||
# Copy files to locations specified by labels. | ||
COPY --from=builder /manifests /manifests/ | ||
COPY --from=builder /metadata /metadata/ | ||
COPY bundle/tests/scorecard /tests/scorecard/ |
246 changes: 246 additions & 0 deletions
246
...-operator/0.5.5/manifests/bpfman-agent-role_rbac.authorization.k8s.io_v1_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
name: bpfman-agent-role | ||
rules: | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfapplications | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfapplications/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfnsapplications | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfnsprograms | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfnsprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfnsprograms/status | ||
verbs: | ||
- get | ||
- patch | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfprograms | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfprograms/status | ||
verbs: | ||
- get | ||
- patch | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- fentryprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- fentryprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- fexitprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- fexityprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- kprobeprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- kprobeprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcnsprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcxnsprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcxprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcxprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tracepointprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tracepointprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- uprobensprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- uprobeprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- uprobeprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- xdpnsprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- xdpprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- xdpprograms/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- nodes | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- secrets | ||
verbs: | ||
- get |
52 changes: 52 additions & 0 deletions
52
.../bpfman-operator/0.5.5/manifests/bpfman-agent-role_rbac.authorization.k8s.io_v1_role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
creationTimestamp: null | ||
name: bpfman-agent-role | ||
rules: | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- bpfnsapplications | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcnsprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- tcxnsprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- uprobensprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- xdpnsprograms | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- bpfman.io | ||
resources: | ||
- xdpnsprograms/finalizers | ||
verbs: | ||
- update |
19 changes: 19 additions & 0 deletions
19
...5/manifests/bpfman-agent-rolebinding_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: bpfman-operator | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/name: clusterrolebinding | ||
app.kubernetes.io/part-of: bpfman-operator | ||
name: bpfman-agent-rolebinding | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: bpfman-agent-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: bpfman-daemon | ||
namespace: bpfman |
19 changes: 19 additions & 0 deletions
19
...or/0.5.5/manifests/bpfman-agent-rolebinding_rbac.authorization.k8s.io_v1_rolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/component: rbac | ||
app.kubernetes.io/created-by: bpfman-operator | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/name: rolebinding | ||
app.kubernetes.io/part-of: bpfman-operator | ||
name: bpfman-agent-rolebinding | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: bpfman-agent-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: bpfman-daemon | ||
namespace: bpfman |
Oops, something went wrong.