From 8f7b73b84b1d403640b6da7de44cbf02e69ac4c7 Mon Sep 17 00:00:00 2001 From: mavaras Date: Wed, 31 Jul 2024 16:49:50 +0200 Subject: [PATCH] Add new operator Signed-off-by: mavaras --- .../1.1.3/bundle.Dockerfile | 20 ++ ...er-manager-metrics-service_v1_service.yaml | 23 ++ ...c.authorization.k8s.io_v1_clusterrole.yaml | 17 + ...ub-arc-operator.clusterserviceversion.yaml | 338 ++++++++++++++++++ ....boxboat.com_actionsrunnercontrollers.yaml | 51 +++ .../1.1.3/metadata/annotations.yaml | 14 + .../1.1.3/tests/scorecard/config.yaml | 70 ++++ 7 files changed, 533 insertions(+) create mode 100644 operators/github-arc-operator/1.1.3/bundle.Dockerfile create mode 100644 operators/github-arc-operator/1.1.3/manifests/github-arc-operator-controller-manager-metrics-service_v1_service.yaml create mode 100644 operators/github-arc-operator/1.1.3/manifests/github-arc-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml create mode 100644 operators/github-arc-operator/1.1.3/manifests/github-arc-operator.clusterserviceversion.yaml create mode 100644 operators/github-arc-operator/1.1.3/manifests/github-practice.boxboat.com_actionsrunnercontrollers.yaml create mode 100644 operators/github-arc-operator/1.1.3/metadata/annotations.yaml create mode 100644 operators/github-arc-operator/1.1.3/tests/scorecard/config.yaml diff --git a/operators/github-arc-operator/1.1.3/bundle.Dockerfile b/operators/github-arc-operator/1.1.3/bundle.Dockerfile new file mode 100644 index 000000000..de25da3ea --- /dev/null +++ b/operators/github-arc-operator/1.1.3/bundle.Dockerfile @@ -0,0 +1,20 @@ +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=github-arc-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=helm.sdk.operatorframework.io/v1 + +# 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/ diff --git a/operators/github-arc-operator/1.1.3/manifests/github-arc-operator-controller-manager-metrics-service_v1_service.yaml b/operators/github-arc-operator/1.1.3/manifests/github-arc-operator-controller-manager-metrics-service_v1_service.yaml new file mode 100644 index 000000000..367412468 --- /dev/null +++ b/operators/github-arc-operator/1.1.3/manifests/github-arc-operator-controller-manager-metrics-service_v1_service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/component: kube-rbac-proxy + app.kubernetes.io/created-by: github-arc-operator + app.kubernetes.io/instance: controller-manager-metrics-service + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: service + app.kubernetes.io/part-of: github-arc-operator + control-plane: controller-manager + name: github-arc-operator-controller-manager-metrics-service +spec: + ports: + - name: https + port: 8443 + protocol: TCP + targetPort: https + selector: + control-plane: controller-manager +status: + loadBalancer: {} diff --git a/operators/github-arc-operator/1.1.3/manifests/github-arc-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml b/operators/github-arc-operator/1.1.3/manifests/github-arc-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml new file mode 100644 index 000000000..0a8a00edc --- /dev/null +++ b/operators/github-arc-operator/1.1.3/manifests/github-arc-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml @@ -0,0 +1,17 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/component: kube-rbac-proxy + app.kubernetes.io/created-by: github-arc-operator + app.kubernetes.io/instance: metrics-reader + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: clusterrole + app.kubernetes.io/part-of: github-arc-operator + name: github-arc-operator-metrics-reader +rules: +- nonResourceURLs: + - /metrics + verbs: + - get diff --git a/operators/github-arc-operator/1.1.3/manifests/github-arc-operator.clusterserviceversion.yaml b/operators/github-arc-operator/1.1.3/manifests/github-arc-operator.clusterserviceversion.yaml new file mode 100644 index 000000000..83fdea4ea --- /dev/null +++ b/operators/github-arc-operator/1.1.3/manifests/github-arc-operator.clusterserviceversion.yaml @@ -0,0 +1,338 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "github-practice.boxboat.com/v1alpha1", + "kind": "ActionsRunnerController", + "metadata": { + "name": "arc-sample" + }, + "spec": { + "authSecret": { + "name": "ghauth" + }, + "createRunnerNamespaces": true, + "openshift": true, + "runnerNamespaces": [ + "test1", + "test2" + ] + } + } + ] + capabilities: Basic Install + categories: Developer Tools, Integration & Delivery, OpenShift Optional + containerImage: ghcr.io/boxboat-github-practice/github-arc-operator:1.1.0 + createdAt: "2023-03-03T20:49:16Z" + description: Operator for deploying the github actions runner controller + operators.operatorframework.io/builder: operator-sdk-v1.26.0 + operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1 + repository: https://github.com/boxboat-github-practice/github-arc-operator + name: github-arc-operator.v1.1.3 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: ActionsRunnerController is the schema for the ActionsRunnerController API + displayName: Actions Runner Controller + kind: ActionsRunnerController + name: actionsrunnercontrollers.github-practice.boxboat.com + version: v1alpha1 + description: helm based operator for github actions runner controller 1 + displayName: github-arc-operator + icon: + - base64data: iVBORw0KGgoAAAANSUhEUgAAANgAAADYCAYAAACJIC3tAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACQaSURBVH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wEnDsP0aVVrGowXK65rO6hADyGYJm43Y7ICTlda7WypEUzSgL4MgOUdml5Swn4FNM0jr9ei0jUF7S0w+TWJybkTY/8HAxyBTp50ueD1Co1n1NuUyDPEUHqLRz4c0Xg3f3FTppw4a2FOnXxjrZViSQuE7szYILspDYIotqhObEDjPLVwjeGItwJKswq/Pa4PgwuKDkLTeM4OaZyuU8RFc6izmy4hJSDS5a5v7wTmbCWX8WJVnwsB5hzT+jROYjerL4ARtOG+46lOqbyALII0P4brej+l1+n5WusITiKsZgdnGw0Wfg80hOMFtVquCi/YDnPTPYLsaNKY7oF1l9vJc+MBBBE1QGxcpGximCY3dtmz42o3egNvhseCqRmYGB96kIJ+T8MVVyPNxODf1kP82LEvLsombEL6XJiZma0/D77eiSfFGIpMyXHgzwRse5Hkt3mCgTLXwM9xIFUuthSdOwzXXn8DXb/CYcrsZuN9+/w8969eKaVmrrgAAAABJRU5ErkJggg== + mediatype: image/png + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - apiGroups: + - "" + resources: + - secrets + verbs: + - '*' + - apiGroups: + - "" + resources: + - events + verbs: + - create + - apiGroups: + - github-practice.boxboat.com + resources: + - actionsrunnercontrollers + - actionsrunnercontrollers/status + - actionsrunnercontrollers/finalizers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - "" + resources: + - pods + - services + - services/finalizers + - endpoints + - persistentvolumeclaims + - events + - configmaps + - secrets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - apps + resources: + - deployments + - daemonsets + - replicasets + - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - '*' + - apiGroups: + - cert-manager.io + resources: + - certificates + - issuers + verbs: + - '*' + - apiGroups: + - "" + resources: + - serviceaccounts + - namespaces + verbs: + - '*' + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterrolebindings + - clusterroles + - roles + - rolebindings + verbs: + - '*' + - apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + - validatingwebhookconfigurations + verbs: + - '*' + - apiGroups: + - security.openshift.io + resources: + - securitycontextconstraints + verbs: + - '*' + - apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + serviceAccountName: github-arc-operator-controller-manager + deployments: + - label: + app.kubernetes.io/component: manager + app.kubernetes.io/created-by: github-arc-operator + app.kubernetes.io/instance: controller-manager + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: deployment + app.kubernetes.io/part-of: github-arc-operator + control-plane: controller-manager + name: github-arc-operator-controller-manager + spec: + replicas: 1 + selector: + matchLabels: + control-plane: controller-manager + strategy: {} + template: + metadata: + annotations: + kubectl.kubernetes.io/default-container: manager + labels: + control-plane: controller-manager + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/arch + operator: In + values: + - amd64 + - arm64 + - ppc64le + - s390x + - key: kubernetes.io/os + operator: In + values: + - linux + containers: + - args: + - --secure-listen-address=0.0.0.0:8443 + - --upstream=http://127.0.0.1:8080/ + - --logtostderr=true + - --v=0 + image: gcr.io/kubebuilder/kube-rbac-proxy:v0.13.0 + name: kube-rbac-proxy + ports: + - containerPort: 8443 + name: https + protocol: TCP + resources: + limits: + cpu: 500m + memory: 128Mi + requests: + cpu: 5m + memory: 64Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + - args: + - --health-probe-bind-address=:8081 + - --metrics-bind-address=127.0.0.1:8080 + - --leader-elect + - --leader-election-id=github-arc-operator + image: ghcr.io/boxboat-github-practice/github-arc-operator:1.1.0 + livenessProbe: + httpGet: + path: /healthz + port: 8081 + initialDelaySeconds: 15 + periodSeconds: 20 + name: manager + readinessProbe: + httpGet: + path: /readyz + port: 8081 + initialDelaySeconds: 5 + periodSeconds: 10 + resources: + limits: + cpu: 500m + memory: 500Mi + requests: + cpu: 10m + memory: 64Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + securityContext: + runAsNonRoot: true + serviceAccountName: github-arc-operator-controller-manager + terminationGracePeriodSeconds: 10 + permissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch + serviceAccountName: github-arc-operator-controller-manager + strategy: deployment + installModes: + - supported: false + type: OwnNamespace + - supported: false + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - github + - actions + - boxboat + - ibm + - self-hosted + - runners + links: + - name: Github Arc Operator + url: https://github.com/boxboat-github-practice/github-arc-operator + - name: Actions Runner Controller + url: https://github.com/actions/actions-runner-controller + - name: Boxboat + url: https://boxboat.com/ + maintainers: + - email: Michael.McMullen@ibm.com + name: mbmcmullen27 + maturity: alpha + provider: + name: boxboat-github-practice + url: https://github.com/boxboat-github-practice + version: 1.1.3 diff --git a/operators/github-arc-operator/1.1.3/manifests/github-practice.boxboat.com_actionsrunnercontrollers.yaml b/operators/github-arc-operator/1.1.3/manifests/github-practice.boxboat.com_actionsrunnercontrollers.yaml new file mode 100644 index 000000000..44e3b8867 --- /dev/null +++ b/operators/github-arc-operator/1.1.3/manifests/github-practice.boxboat.com_actionsrunnercontrollers.yaml @@ -0,0 +1,51 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: actionsrunnercontrollers.github-practice.boxboat.com +spec: + group: github-practice.boxboat.com + names: + kind: ActionsRunnerController + listKind: ActionsRunnerControllerList + plural: actionsrunnercontrollers + singular: actionsrunnercontroller + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: ActionsRunnerController is the Schema for the actionsrunnercontrollers + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: Spec defines the desired state of ActionsRunnerController + type: object + x-kubernetes-preserve-unknown-fields: true + status: + description: Status defines the observed state of ActionsRunnerController + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: null + storedVersions: null diff --git a/operators/github-arc-operator/1.1.3/metadata/annotations.yaml b/operators/github-arc-operator/1.1.3/metadata/annotations.yaml new file mode 100644 index 000000000..397ea06fe --- /dev/null +++ b/operators/github-arc-operator/1.1.3/metadata/annotations.yaml @@ -0,0 +1,14 @@ +annotations: + # Core bundle annotations. + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: github-arc-operator + operators.operatorframework.io.bundle.channels.v1: alpha + operators.operatorframework.io.metrics.builder: operator-sdk-v1.26.0 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1 + + # Annotations for testing. + operators.operatorframework.io.test.mediatype.v1: scorecard+v1 + operators.operatorframework.io.test.config.v1: tests/scorecard/ diff --git a/operators/github-arc-operator/1.1.3/tests/scorecard/config.yaml b/operators/github-arc-operator/1.1.3/tests/scorecard/config.yaml new file mode 100644 index 000000000..b3f2fc8ea --- /dev/null +++ b/operators/github-arc-operator/1.1.3/tests/scorecard/config.yaml @@ -0,0 +1,70 @@ +apiVersion: scorecard.operatorframework.io/v1alpha3 +kind: Configuration +metadata: + name: config +stages: +- parallel: true + tests: + - entrypoint: + - scorecard-test + - basic-check-spec + image: quay.io/operator-framework/scorecard-test:v1.26.0 + labels: + suite: basic + test: basic-check-spec-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-bundle-validation + image: quay.io/operator-framework/scorecard-test:v1.26.0 + labels: + suite: olm + test: olm-bundle-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-crds-have-validation + image: quay.io/operator-framework/scorecard-test:v1.26.0 + labels: + suite: olm + test: olm-crds-have-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-crds-have-resources + image: quay.io/operator-framework/scorecard-test:v1.26.0 + labels: + suite: olm + test: olm-crds-have-resources-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-spec-descriptors + image: quay.io/operator-framework/scorecard-test:v1.26.0 + labels: + suite: olm + test: olm-spec-descriptors-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-status-descriptors + image: quay.io/operator-framework/scorecard-test:v1.26.0 + labels: + suite: olm + test: olm-status-descriptors-test + storage: + spec: + mountPath: {} +storage: + spec: + mountPath: {}