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

operator [CI] dynatrace-operator (0.10.0) #2048

Merged
merged 4 commits into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 17 additions & 0 deletions operators/dynatrace-operator/0.10.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM scratch

# Core 0.10.0 labels.
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
LABEL operators.operatorframework.io.0.10.0.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.0.10.0.manifests.v1=manifests/
LABEL operators.operatorframework.io.0.10.0.metadata.v1=metadata/
LABEL operators.operatorframework.io.0.10.0.package.v1=dynatrace-operator
LABEL operators.operatorframework.io.0.10.0.channels.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.16.0+git
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3


# Copy files to locations specified by labels.
COPY manifests /manifests/
COPY metadata /metadata/
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v1
automountServiceAccountToken: false
kind: ServiceAccount
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: oneagent
app.kubernetes.io/name: dynatrace-operator
app.kubernetes.io/version: 0.10.0
name: dynatrace-dynakube-oneagent-privileged
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: scheduling.k8s.io/v1
description: This priority class is used for Dynatrace Components in order to make
sure they are not evicted in favor of other pods
globalDefault: false
kind: PriorityClass
metadata:
name: dynatrace-high-priority
value: 1000000
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: csi-driver
app.kubernetes.io/name: dynatrace-operator
app.kubernetes.io/version: 0.10.0
name: dynatrace-oneagent-csi-driver
rules:
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- list
- watch
- create
- update
- patch
- apiGroups:
- storage.k8s.io
resources:
- csinodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: csi-driver
app.kubernetes.io/name: dynatrace-operator
app.kubernetes.io/version: 0.10.0
name: dynatrace-oneagent-csi-driver
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: dynatrace-oneagent-csi-driver
subjects:
- kind: ServiceAccount
name: dynatrace-oneagent-csi-driver
namespace: dynatrace
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: csi-driver
app.kubernetes.io/name: dynatrace-operator
app.kubernetes.io/version: 0.10.0
name: dynatrace-oneagent-csi-driver
rules:
- apiGroups:
- ""
resources:
- endpoints
verbs:
- get
- watch
- list
- delete
- update
- create
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- watch
- list
- delete
- update
- create
- apiGroups:
- dynatrace.com
resources:
- dynakubes
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: csi-driver
app.kubernetes.io/name: dynatrace-operator
app.kubernetes.io/version: 0.10.0
name: dynatrace-oneagent-csi-driver
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: dynatrace-oneagent-csi-driver
subjects:
- kind: ServiceAccount
name: dynatrace-oneagent-csi-driver
namespace: dynatrace
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ServiceAccount
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: csi-driver
app.kubernetes.io/name: dynatrace-operator
app.kubernetes.io/version: 0.10.0
name: dynatrace-oneagent-csi-driver
Loading