[node operator] bundle template

Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
Malte Poll 2022-07-26 15:24:38 +02:00 committed by Malte Poll
parent 0f6de0aa26
commit 86c88a949e
2 changed files with 87 additions and 0 deletions

View File

@ -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=constellation-node-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.22.1
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/
# Copy files to locations specified by labels.
COPY bundle/manifests /manifests/
COPY bundle/metadata /metadata/
COPY bundle/tests/scorecard /tests/scorecard/

View File

@ -0,0 +1,67 @@
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: '[]'
capabilities: Basic Install
name: constellation-node-operator.v0.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: AutoscalingStrategy is the Schema for the autoscalingstrategies
API
displayName: Autoscaling Strategy
kind: AutoscalingStrategy
name: autoscalingstrategies.update.edgeless.systems
version: v1alpha1
- description: NodeImage is the Schema for the nodeimages API
displayName: Node Image
kind: NodeImage
name: nodeimages.update.edgeless.systems
version: v1alpha1
- description: PendingNode is the Schema for the pendingnodes API
displayName: Pending Node
kind: PendingNode
name: pendingnodes.update.edgeless.systems
version: v1alpha1
- description: ScalingGroup is the Schema for the scalinggroups API
displayName: Scaling Group
kind: ScalingGroup
name: scalinggroups.update.edgeless.systems
version: v1alpha1
description: The constellation node operator manages the lifecycle of constellation
nodes after cluster initialization. In particular, it is responsible for updating
the OS images of nodes by replacing nodes running old images with new nodes.
displayName: Constellation Node Operator
icon:
- base64data: ""
mediatype: ""
install:
spec:
deployments: null
strategy: ""
installModes:
- supported: false
type: OwnNamespace
- supported: false
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
type: AllNamespaces
keywords:
- update
- constellation
links:
- name: Constellation Node Operator
url: https://constellation-node-operator.domain
maintainers:
- email: mp@edgeless.systems
name: Malte Poll
maturity: alpha
provider:
name: Edgeless Systems
url: https://edgeless.systems/
version: 0.0.0