diff --git a/operators/automotive-infra/0.0.5/manifests/automotive-infra-controller-manager-metrics-service_v1_service.yaml b/operators/automotive-infra/0.0.5/manifests/automotive-infra-controller-manager-metrics-service_v1_service.yaml new file mode 100644 index 00000000000..6e31ea39956 --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive-infra-controller-manager-metrics-service_v1_service.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + labels: + control-plane: controller-manager + name: automotive-infra-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/automotive-infra/0.0.5/manifests/automotive-infra-manager-config_v1_configmap.yaml b/operators/automotive-infra/0.0.5/manifests/automotive-infra-manager-config_v1_configmap.yaml new file mode 100644 index 00000000000..bef9da91ce2 --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive-infra-manager-config_v1_configmap.yaml @@ -0,0 +1,26 @@ +apiVersion: v1 +data: + controller_manager_config.yaml: | + apiVersion: controller-runtime.sigs.k8s.io/v1alpha1 + kind: ControllerManagerConfig + health: + healthProbeBindAddress: :6789 + metrics: + bindAddress: 127.0.0.1:8080 + + leaderElection: + leaderElect: true + resourceName: 811c9dc5.centos.org + # leaderElectionReleaseOnCancel defines if the leader should step down volume + # when the Manager ends. This requires the binary to immediately end when the + # Manager is stopped, otherwise, this setting is unsafe. Setting this significantly + # speeds up voluntary leader transitions as the new leader don't have to wait + # LeaseDuration time first. + # In the default scaffold provided, the program ends immediately after + # the manager stops, so would be fine to enable this option. However, + # if you are doing or is intended to do any operation such as perform cleanups + # after the manager stops then its usage might be unsafe. + # leaderElectionReleaseOnCancel: true +kind: ConfigMap +metadata: + name: automotive-infra-manager-config diff --git a/operators/automotive-infra/0.0.5/manifests/automotive-infra-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml b/operators/automotive-infra/0.0.5/manifests/automotive-infra-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml new file mode 100644 index 00000000000..7627ea20702 --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive-infra-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml @@ -0,0 +1,10 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + creationTimestamp: null + name: automotive-infra-metrics-reader +rules: +- nonResourceURLs: + - /metrics + verbs: + - get diff --git a/operators/automotive-infra/0.0.5/manifests/automotive-infra-operatorconfig-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml b/operators/automotive-infra/0.0.5/manifests/automotive-infra-operatorconfig-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml new file mode 100644 index 00000000000..bfbea6fcfb1 --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive-infra-operatorconfig-editor-role_rbac.authorization.k8s.io_v1_clusterrole.yaml @@ -0,0 +1,27 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: automotive-infra + name: automotive-infra-operatorconfig-editor-role +rules: +- apiGroups: + - automotive.sig.centos.org + resources: + - operatorconfigs + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - automotive.sig.centos.org + resources: + - operatorconfigs/status + verbs: + - get diff --git a/operators/automotive-infra/0.0.5/manifests/automotive-infra-operatorconfig-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml b/operators/automotive-infra/0.0.5/manifests/automotive-infra-operatorconfig-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml new file mode 100644 index 00000000000..33949c4b41f --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive-infra-operatorconfig-viewer-role_rbac.authorization.k8s.io_v1_clusterrole.yaml @@ -0,0 +1,23 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/managed-by: kustomize + app.kubernetes.io/name: automotive-infra + name: automotive-infra-operatorconfig-viewer-role +rules: +- apiGroups: + - automotive.sig.centos.org + resources: + - operatorconfigs + verbs: + - get + - list + - watch +- apiGroups: + - automotive.sig.centos.org + resources: + - operatorconfigs/status + verbs: + - get diff --git a/operators/automotive-infra/0.0.5/manifests/automotive-infra.clusterserviceversion.yaml b/operators/automotive-infra/0.0.5/manifests/automotive-infra.clusterserviceversion.yaml new file mode 100644 index 00000000000..a316e6de800 --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive-infra.clusterserviceversion.yaml @@ -0,0 +1,380 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "automotive.sig.centos.org/v1", + "kind": "ContainerBuild", + "metadata": { + "name": "cb-sample" + }, + "spec": {} + }, + { + "apiVersion": "automotive.sig.centos.org/v1", + "kind": "ImageBuild", + "metadata": { + "name": "imagebuild-sample" + }, + "spec": null + }, + { + "apiVersion": "automotive.sig.centos.org/v1", + "kind": "OperatorConfig", + "metadata": { + "labels": { + "app.kubernetes.io/managed-by": "kustomize", + "app.kubernetes.io/name": "automotive-infra" + }, + "name": "operatorconfig-sample", + "namespace": "automotive-infra-operator" + }, + "spec": null + } + ] + capabilities: Basic Install + categories: Integration & Delivery + containerImage: quay.io/fedora-sig-robotics/infra-ci-operator:v0.0.5 + createdAt: "2024-10-08T13:49:37Z" + description: Streamline CI/CD for RHIVOS and its ecosystem using OpenShift Pipelines + features.operators.openshift.io/cnf: "false" + features.operators.openshift.io/cni: "false" + features.operators.openshift.io/csi: "false" + features.operators.openshift.io/disconnected: "true" + features.operators.openshift.io/fips-compliant: "true" + features.operators.openshift.io/proxy-aware: "false" + features.operators.openshift.io/tls-profiles: "false" + features.operators.openshift.io/token-auth-aws: "false" + features.operators.openshift.io/token-auth-azure: "false" + features.operators.openshift.io/token-auth-gcp: "false" + operatorframework.io/suggested-namespace: automotive-infra-operator + operators.operatorframework.io/builder: operator-sdk-v1.36.1 + operators.operatorframework.io/project_layout: ansible.sdk.operatorframework.io/v1 + repository: https://gitlab.com/fedora/sigs/robotics/infra/infra-ci-operator + support: https://gitlab.com/fedora/sigs/robotics/infra/infra-ci-operator/issues + name: automotive-infra.v0.0.5 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - kind: ContainerBuild + name: containerbuilds.automotive.sig.centos.org + version: v1 + - kind: ImageBuild + name: imagebuilds.automotive.sig.centos.org + version: v1 + - kind: OperatorConfig + name: operatorconfigs.automotive.sig.centos.org + version: v1 + description: This operator is designed to streamline CI/CD for RHIVOS and its ecosystem + using OpenShift Pipelines + displayName: Automotive-CI + icon: + - base64data: iVBORw0KGgoAAAANSUhEUgAAAKMAAACgCAMAAABXJiwcAAAAjVBMVEWhT4z////vpyTZudHs3Ojw4+2wa5706vHgxdr27vSrYpjWs82nWZLmz+CpXpalVpH53KffljnxsDnt3enajz/58/f88dzCjLW3eai6fqvLnsD++O/Trcn79/r42aH64rfGlLr7683onzDz4tj0v1/1xW7PpcT++/XzuVD3z4f1y3v99ebxsj/y5ObTiE/oqxveAAAIB0lEQVR4nNXd6WLaOBAAYHMYCBjYDSUchdZNW5qGdt//8dYHtkfSHDpsB+ZXdznyxYcsjUZKNAiP82a5OO4Ok3myjvJI5pPD7riYbVr47jyisI9vl6fdJCJjsrsstx9p3M6ODA9Aj7Mwp69xc9rb+KrYL6Y9G6cnqwOoHc7TU2/G88jpCMI4zHoxxseVrzCP1cnj0nQzbnYhwCLWadylcXwIFhaxc1TaG+PwY9gone5yW+M2bU+Yxfpybt04CrpTsFiN2jVuPJpDOQ62J9zGeFp3QcxO+KktYzcHsQy7QykaRx0dxDISmyePYDy32ODgcQw1xh2e5yr24tORNY5bb3GwmI8DjAuPHziZu39mvfQ2nnyIT1MPZMS357Qx9SJmHWAfJNtSkkafG3pS9LS9kNztTRn9ie0jCWMIsXUkbjwGEdu+JlHjJZD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LO9uZuSdnxHud5TMP2ip9fPDbedzXme+57b8fe0577RUwvHn2N/cL3L0F4GbOInf4GxPrQ+9+AKGM7S60O5/64dGgM2zUWzuWF/Zsk6SLQ14KxiPNmlv9tl/08KWbSk9V8f0iPi6VzI0PE/wh/jwuli6tLAAAAAElFTkSuQmCC + mediatype: image/png + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - secrets + - pods + - pods/exec + - pods/log + - services + - serviceaccounts + - configmaps + - persistentvolumeclaims + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - apps + resources: + - deployments + - daemonsets + - replicasets + - statefulsets + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - batch + resources: + - cronjobs + verbs: + - create + - get + - delete + - list + - watch + - patch + - apiGroups: + - triggers.tekton.dev + resources: + - eventlisteners + - triggerbindings + - triggers + - triggertemplates + verbs: + - create + - get + - delete + - list + - watch + - patch + - apiGroups: + - tekton.dev + resources: + - pipelines + - tasks + - clustertasks + verbs: + - create + - get + - delete + - list + - watch + - patch + - apiGroups: + - automotive.sig.centos.org + resources: + - containerbuilds + - containerbuilds/status + - containerbuilds/finalizers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - get + - delete + - list + - watch + - patch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - roles + - rolebindings + verbs: + - '*' + - apiGroups: + - automotive.sig.centos.org + resources: + - operatorconfigs + - operatorconfigs/status + - operatorconfigs/finalizers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - automotive.sig.centos.org + resources: + - imagebuilds + - imagebuilds/status + - imagebuilds/finalizers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - security.openshift.io + resources: + - securitycontextconstraints + verbs: + - use + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - authentication.k8s.io + resources: + - tokenreviews + verbs: + - create + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + serviceAccountName: automotive-infra-controller-manager + deployments: + - label: + control-plane: controller-manager + name: automotive-infra-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: + 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.11.0 + name: kube-rbac-proxy + ports: + - containerPort: 8443 + name: https + protocol: TCP + resources: + limits: + cpu: "1" + memory: 2Gi + requests: + cpu: 5m + memory: 64Mi + securityContext: + allowPrivilegeEscalation: false + - args: + - --health-probe-bind-address=:6789 + - --metrics-bind-address=127.0.0.1:8080 + - --leader-elect + - --leader-election-id=automotive-infra + env: + - name: WATCH_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.annotations['olm.targetNamespaces'] + - name: DEPLOY_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: ANSIBLE_GATHERING + value: explicit + image: quay.io/fedora-sig-robotics/infra-ci-operator:v0.0.5 + livenessProbe: + httpGet: + path: /healthz + port: 6789 + initialDelaySeconds: 15 + periodSeconds: 20 + name: manager + readinessProbe: + httpGet: + path: /readyz + port: 6789 + initialDelaySeconds: 5 + periodSeconds: 10 + resources: + limits: + cpu: "1" + memory: 2Gi + requests: + cpu: 10m + memory: 256Mi + securityContext: + allowPrivilegeEscalation: false + securityContext: + runAsNonRoot: true + serviceAccountName: automotive-infra-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: automotive-infra-controller-manager + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: false + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: false + type: AllNamespaces + keywords: + - Automotive + - RHIVOS + - Pipelines + - CI + links: + - name: Automotive infra Operator + url: https://gitlab.com/fedora/sigs/robotics/infra/infra-ci-operator + maintainers: + - email: automotive-sig@lists.centos.org + name: Automotive SIG CentOS Community + maturity: alpha + provider: + name: Automotive SIG CentOS + version: 0.0.5 + replaces: automotive-infra.v0.0.4 diff --git a/operators/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_containerbuilds.yaml b/operators/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_containerbuilds.yaml new file mode 100644 index 00000000000..6b53df232ea --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_containerbuilds.yaml @@ -0,0 +1,53 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: containerbuilds.automotive.sig.centos.org +spec: + group: automotive.sig.centos.org + names: + kind: ContainerBuild + listKind: ContainerBuilds + plural: containerbuilds + shortNames: + - cb + - cbs + singular: containerbuild + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: ContainerBuild is the Schema for the cbs 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 ContainerBuild + type: object + x-kubernetes-preserve-unknown-fields: true + status: + description: Status defines the observed state of ContainerBuild + 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/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_imagebuilds.yaml b/operators/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_imagebuilds.yaml new file mode 100644 index 00000000000..399c63a0fc0 --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_imagebuilds.yaml @@ -0,0 +1,100 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: imagebuilds.automotive.sig.centos.org +spec: + group: automotive.sig.centos.org + names: + kind: ImageBuild + listKind: ImageBuilds + plural: imagebuilds + shortNames: + - ib + - ibs + singular: imagebuild + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: ImageBuild is the Schema for the imagebuilds API + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + description: Spec defines the desired state of ImageBuild + properties: + automotive_osbuild_image: + type: string + cron: + properties: + build_command: + description: Build command to run for scheduled builds + type: string + schedule: + description: Cron schedule for builds (e.g., '0 2 * * *' for 2 + AM daily) + type: string + required: + - schedule + - build_command + type: object + publishers: + properties: + azure: + properties: + container: + type: string + secret: + type: string + required: + - secret + - container + type: object + registry: + properties: + repository_url: + type: string + secret: + type: string + required: + - secret + - repository_url + type: object + s3: + properties: + bucket: + type: string + secret: + type: string + required: + - secret + - bucket + type: object + type: object + storage_class: + type: string + required: + - automotive_osbuild_image + type: object + x-kubernetes-preserve-unknown-fields: true + status: + description: Status defines the observed state of ImageBuild + 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/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_operatorconfigs.yaml b/operators/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_operatorconfigs.yaml new file mode 100644 index 00000000000..d193b1ff25f --- /dev/null +++ b/operators/automotive-infra/0.0.5/manifests/automotive.sig.centos.org_operatorconfigs.yaml @@ -0,0 +1,53 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: operatorconfigs.automotive.sig.centos.org +spec: + group: automotive.sig.centos.org + names: + kind: OperatorConfig + listKind: OperatorConfigList + plural: operatorconfigs + shortNames: + - oc + - ocs + singular: operatorconfig + scope: Namespaced + versions: + - name: v1 + schema: + openAPIV3Schema: + description: OperatorConfig is the Schema for the operatorconfigs 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 OperatorConfig + type: object + x-kubernetes-preserve-unknown-fields: true + status: + description: Status defines the observed state of OperatorConfig + 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/automotive-infra/0.0.5/metadata/annotations.yaml b/operators/automotive-infra/0.0.5/metadata/annotations.yaml new file mode 100644 index 00000000000..8ac56bc98a0 --- /dev/null +++ b/operators/automotive-infra/0.0.5/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: automotive-infra + operators.operatorframework.io.bundle.channels.v1: alpha + operators.operatorframework.io.metrics.builder: operator-sdk-v1.36.1 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: ansible.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/automotive-infra/0.0.5/tests/scorecard/config.yaml b/operators/automotive-infra/0.0.5/tests/scorecard/config.yaml new file mode 100644 index 00000000000..c4fd10b0661 --- /dev/null +++ b/operators/automotive-infra/0.0.5/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.22.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.22.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.22.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.22.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.22.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.22.0 + labels: + suite: olm + test: olm-status-descriptors-test + storage: + spec: + mountPath: {} +storage: + spec: + mountPath: {}