diff --git a/Makefile b/Makefile index 032a192a0..6c2047fe1 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ IMAGE_TAG?=latest IMAGE_NAME?=$(IMAGE_REGISTRY)/registration-operator:$(IMAGE_TAG) # CSV_VERSION is used to generate new CSV manifests -CSV_VERSION?=0.10.0 +CSV_VERSION?=0.11.0 # WORK_IMAGE can be set in the env to override calculated value WORK_TAG?=latest diff --git a/deploy/cluster-manager/config/manifests/bases/cluster-manager.clusterserviceversion.yaml b/deploy/cluster-manager/config/manifests/bases/cluster-manager.clusterserviceversion.yaml index de9ceab09..b2305e961 100644 --- a/deploy/cluster-manager/config/manifests/bases/cluster-manager.clusterserviceversion.yaml +++ b/deploy/cluster-manager/config/manifests/bases/cluster-manager.clusterserviceversion.yaml @@ -7,7 +7,7 @@ metadata: categories: Integration & Delivery,OpenShift Optional certified: "false" containerImage: quay.io/open-cluster-management/registration-operator:latest - createdAt: "2022-10-27T20:00:31Z" + createdAt: "2023-02-17T20:00:31Z" description: Manages the installation and upgrade of the ClusterManager. repository: https://github.com/open-cluster-management-io/registration-operator support: Red Hat, Inc. @@ -88,8 +88,8 @@ spec: maturity: alpha provider: name: Red Hat, Inc. - replaces: cluster-manager.v0.9.1 + replaces: cluster-manager.v0.10.0 selector: matchLabels: app: cluster-manager - version: 0.10.0 + version: 0.11.0 diff --git a/deploy/cluster-manager/olm-catalog/cluster-manager/0.10.0/cluster-manager.clusterserviceversion.yaml b/deploy/cluster-manager/olm-catalog/cluster-manager/0.10.0/cluster-manager.clusterserviceversion.yaml new file mode 100644 index 000000000..a2ad5e15c --- /dev/null +++ b/deploy/cluster-manager/olm-catalog/cluster-manager/0.10.0/cluster-manager.clusterserviceversion.yaml @@ -0,0 +1,377 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "operator.open-cluster-management.io/v1", + "kind": "ClusterManager", + "metadata": { + "name": "cluster-manager" + }, + "spec": { + "deployOption": { + "mode": "Default" + }, + "placementImagePullSpec": "quay.io/open-cluster-management/placement:v0.10.0", + "registrationConfiguration": { + "featureGates": [ + { + "feature": "DefaultClusterSet", + "mode": "Enable" + } + ] + }, + "registrationImagePullSpec": "quay.io/open-cluster-management/registration:v0.10.0", + "workImagePullSpec": "quay.io/open-cluster-management/work:v0.10.0" + } + }, + { + "apiVersion": "operator.open-cluster-management.io/v1", + "kind": "ClusterManager", + "metadata": { + "name": "cluster-manager" + }, + "spec": { + "deployOption": { + "hosted": { + "registrationWebhookConfiguration": { + "address": "management-control-plane", + "port": 30443 + }, + "workWebhookConfiguration": { + "address": "management-control-plane", + "port": 31443 + } + }, + "mode": "Hosted" + }, + "placementImagePullSpec": "quay.io/open-cluster-management/placement:v0.10.0", + "registrationImagePullSpec": "quay.io/open-cluster-management/registration:v0.10.0", + "workImagePullSpec": "quay.io/open-cluster-management/work:v0.10.0" + } + } + ] + capabilities: Basic Install + categories: Integration & Delivery,OpenShift Optional + certified: "false" + containerImage: quay.io/open-cluster-management/registration-operator:v0.10.0 + createdAt: "2022-10-27T20:00:31Z" + description: Manages the installation and upgrade of the ClusterManager. + operators.operatorframework.io/builder: operator-sdk-v1.1.0 + operators.operatorframework.io/project_layout: go + repository: https://github.com/open-cluster-management-io/registration-operator + support: Red Hat, Inc. + name: cluster-manager.v0.10.0 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: ClusterManager defines the configurations of controllers running hub that govern registration and work distribution for attached Klusterlets + displayName: ClusterManager + kind: ClusterManager + name: clustermanagers.operator.open-cluster-management.io + version: v1 + description: | + The Cluster Manager provides the multicluster hub, which can manage Kubernetes-based clusters across data centers, public clouds, and private clouds. This operator supports the installation and upgrade of ClusterManager. + + ## How to Install + Install ClusterManager operator by following instructions in top right button `Install`. After installing the operator, create an instance of the ClusterManager resource to install the ClusterManager. + + The pods of ClusterManager are created in the `open-cluster-management-hub` namespace: + + ``` + $ kubectl get pods -n open-cluster-management-hub + NAME READY STATUS RESTARTS AGE + cluster-manager-placement-controller-d76cffb7c-fvzjh 1/1 Running 0 22h + cluster-manager-placement-controller-d76cffb7c-qnpjl 1/1 Running 0 22h + cluster-manager-placement-controller-d76cffb7c-tt4h6 1/1 Running 0 22h + cluster-manager-registration-controller-66b7c65849-btmpp 1/1 Running 0 22h + cluster-manager-registration-controller-66b7c65849-gt6fv 1/1 Running 0 22h + cluster-manager-registration-controller-66b7c65849-pl46k 1/1 Running 0 22h + cluster-manager-registration-webhook-5f5499fccf-crr69 1/1 Running 0 22h + cluster-manager-registration-webhook-5f5499fccf-s2dkb 1/1 Running 0 22h + cluster-manager-registration-webhook-5f5499fccf-s7lp5 1/1 Running 0 22h + cluster-manager-work-webhook-b68fc9b84-ddz2d 1/1 Running 0 22h + cluster-manager-work-webhook-b68fc9b84-kd92j 1/1 Running 0 22h + cluster-manager-work-webhook-b68fc9b84-vdbkl 1/1 Running 0 22h + ``` + + There is a ManagedCluster created in the Hub cluster when the managed cluster is registered to the Hub cluster. + + ``` + $ kubectl get managedclusters.cluster.open-cluster-management.io + NAME HUB ACCEPTED MANAGED CLUSTER URLS JOINED AVAILABLE AGE + cluster-dev true True True 7h20m + cluster-test false https://127.0.0.1:8443 7h25m + ``` + displayName: Cluster Manager + icon: + - base64data: iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAABxVBMVEX////z//+JzuYRKUP/9/X/+P9Ipcn39/js///c8PccNE8JHjWFyd3w8vcmN0r3/vKQ0eMIMlHV5/Hz+P4TMlGR1O6Fx+Xr9f+Qyt4vQliBwdr+/e2Yzubq/PX/8O1zgZJDVGgfPFp4x+LS7v/j/v4DKEzg9P7m7fr/5ewTOlvu7e1NYHg8TF5Vn8H/6flmdolCnr1OW22OwtclRGPT5/spWHnf6Pf/5uDAy9odTW/W9f9YZ3rJ6v7H3uvR2uZaqMnA4/tgb4IRQmSHvN+cqrdbi6qGl6+UoKw3ZoT6Bx+1wtOwuckxS2ec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i0Bi9GwvMwB6AmKfAkchRTz6CwmCEtQqlHjkj5hpZu898VGerN+h9o/HydLWTUKkE5wfJC4jikWei5fxxDbJ44XZs+jCT7MH0mhoDSIAD82qN96tvlNci9S1Usk2aLyQGvjVz3qYsN1U18SPuBc0CLDHNf6c7ESxB9I+k3AIUjBP2OwwGR2tINpKK2eRgIWzj2vbtZh5VsB+PFG18b7ibXczXF+0xFPajDtjTP22QDaclTxMRxsDqsq3ViXqaBp6EiQ4/yIp2jCZIhDXGAt1s5jtrq8Oj0WiIJ23meV5QaZvlyJUyNRTvVQPjVPFMT4wzmQx3W3lUEyB3tixU1ZR5+0i/YduIuiCLLHe1E0wtv3yQ/CFx3C+d95ONA04YxSDySbFZ1g+qcfyxqw3RUOBT+jh5zUPzVWZ0fN/O3LsudFW8ORJaPBdGkOXSVHAekU/znV9hAtvIRPQYOL6AtNVZj+RdvLrpyQoz4jDViJ5ljqyB7sv4H5JBwqFfy5lzVehetCRHgLjrK/fvr2w+cvBeToaIEZsZDIm+c3KcTYzTX+bRKPGZDaMPXmVPAV19IJrElp7JsNpF606WO6r3amhqPGlciqYf76JE/xNEVSjwt/7HqPykhGH+OyQ4GwYWvtM4gyNH8Tc9eP6//Jf/8l/+yz8lXwDq+UD50w1JtwAAAABJRU5ErkJggg== + mediatype: image/png + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + - namespaces + - serviceaccounts + - services + - secrets + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - get + - list + - update + - watch + - patch + - apiGroups: + - "" + resources: + - nodes + verbs: + - get + - list + - watch + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + - apiGroups: + - "" + - events.k8s.io + resources: + - events + verbs: + - create + - patch + - update + - apiGroups: + - apps + resources: + - deployments + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterrolebindings + - rolebindings + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterroles + - roles + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - escalate + - bind + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions/status + verbs: + - update + - patch + - apiGroups: + - apiregistration.k8s.io + resources: + - apiservices + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - admissionregistration.k8s.io + resources: + - validatingwebhookconfigurations + - mutatingwebhookconfigurations + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - operator.open-cluster-management.io + resources: + - clustermanagers + verbs: + - get + - list + - watch + - update + - delete + - apiGroups: + - operator.open-cluster-management.io + resources: + - clustermanagers/status + verbs: + - update + - patch + - apiGroups: + - migration.k8s.io + resources: + - storageversionmigrations + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + serviceAccountName: cluster-manager + deployments: + - name: cluster-manager + spec: + replicas: 3 + selector: + matchLabels: + app: cluster-manager + strategy: {} + template: + metadata: + labels: + app: cluster-manager + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - cluster-manager + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 70 + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - cluster-manager + topologyKey: kubernetes.io/hostname + weight: 30 + containers: + - args: + - /registration-operator + - hub + image: quay.io/open-cluster-management/registration-operator:v0.10.0 + livenessProbe: + httpGet: + path: /healthz + port: 8443 + scheme: HTTPS + initialDelaySeconds: 2 + periodSeconds: 10 + name: registration-operator + readinessProbe: + httpGet: + path: /healthz + port: 8443 + scheme: HTTPS + initialDelaySeconds: 2 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + runAsNonRoot: true + serviceAccountName: cluster-manager + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: true + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - open-cluster-management + - ClusterManager + links: + - name: Registration Operator + url: https://github.com/open-cluster-management-io/registration-operator + maintainers: + - email: zyin@redhat.com + name: Zhiwei Yin + - email: deads@redhat.com + name: David Eads + - email: jqiu@redhat.com + name: Jian Qiu + maturity: alpha + provider: + name: Red Hat, Inc. + replaces: cluster-manager.v0.9.1 + selector: + matchLabels: + app: cluster-manager + version: 0.10.0 diff --git a/deploy/cluster-manager/olm-catalog/cluster-manager/0.10.0/operator.open-cluster-management.io_clustermanagers.yaml b/deploy/cluster-manager/olm-catalog/cluster-manager/0.10.0/operator.open-cluster-management.io_clustermanagers.yaml new file mode 100644 index 000000000..60c080d9c --- /dev/null +++ b/deploy/cluster-manager/olm-catalog/cluster-manager/0.10.0/operator.open-cluster-management.io_clustermanagers.yaml @@ -0,0 +1,284 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: clustermanagers.operator.open-cluster-management.io +spec: + group: operator.open-cluster-management.io + names: + kind: ClusterManager + listKind: ClusterManagerList + plural: clustermanagers + singular: clustermanager + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: ClusterManager configures the controllers on the hub that govern registration and work distribution for attached Klusterlets. In Default mode, ClusterManager will only be deployed in open-cluster-management-hub namespace. In Hosted mode, ClusterManager will be deployed in the namespace with the same name as cluster manager. + 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: + default: + deployOption: + mode: Default + description: Spec represents a desired deployment configuration of controllers that govern registration and work distribution for attached Klusterlets. + properties: + deployOption: + default: + mode: Default + description: DeployOption contains the options of deploying a cluster-manager Default mode is used if DeployOption is not set. + properties: + hosted: + description: Hosted includes configurations we needs for clustermanager in the Hosted mode. + properties: + registrationWebhookConfiguration: + description: RegistrationWebhookConfiguration represents the customized webhook-server configuration of registration. + properties: + address: + description: Address represents the address of a webhook-server. It could be in IP format or fqdn format. The Address must be reachable by apiserver of the hub cluster. + pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$ + type: string + port: + default: 443 + description: Port represents the port of a webhook-server. The default value of Port is 443. + format: int32 + maximum: 65535 + type: integer + required: + - address + type: object + workWebhookConfiguration: + description: WorkWebhookConfiguration represents the customized webhook-server configuration of work. + properties: + address: + description: Address represents the address of a webhook-server. It could be in IP format or fqdn format. The Address must be reachable by apiserver of the hub cluster. + pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$ + type: string + port: + default: 443 + description: Port represents the port of a webhook-server. The default value of Port is 443. + format: int32 + maximum: 65535 + type: integer + required: + - address + type: object + type: object + mode: + default: Default + description: 'Mode can be Default or Hosted. In Default mode, the Hub is installed as a whole and all parts of Hub are deployed in the same cluster. In Hosted mode, only crd and configurations are installed on one cluster(defined as hub-cluster). Controllers run in another cluster (defined as management-cluster) and connect to the hub with the kubeconfig in secret of "external-hub-kubeconfig"(a kubeconfig of hub-cluster with cluster-admin permission). Note: Do not modify the Mode field once it''s applied.' + enum: + - Default + - Hosted + type: string + required: + - mode + type: object + nodePlacement: + description: NodePlacement enables explicit control over the scheduling of the deployed pods. + properties: + nodeSelector: + additionalProperties: + type: string + description: NodeSelector defines which Nodes the Pods are scheduled on. The default is an empty list. + type: object + tolerations: + description: Tolerations is attached by pods to tolerate any taint that matches the triple using the matching operator . The default is an empty list. + items: + description: The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . + properties: + effect: + description: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + type: string + key: + description: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. + type: string + operator: + description: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. + type: string + tolerationSeconds: + description: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. + format: int64 + type: integer + value: + description: Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + type: string + type: object + type: array + type: object + placementImagePullSpec: + default: quay.io/open-cluster-management/placement + description: PlacementImagePullSpec represents the desired image configuration of placement controller/webhook installed on hub. + type: string + registrationConfiguration: + description: RegistrationConfiguration contains the configuration of registration + properties: + featureGates: + description: "FeatureGates represents the list of feature gates for registration If it is set empty, default feature gates will be used. If it is set, featuregate/Foo is an example of one item in FeatureGates: 1. If featuregate/Foo does not exist, registration-operator will discard it 2. If featuregate/Foo exists and is false by default. It is now possible to set featuregate/Foo=[false|true] 3. If featuregate/Foo exists and is true by default. If a cluster-admin upgrading from 1 to 2 wants to continue having featuregate/Foo=false, \the can set featuregate/Foo=false before upgrading. Let's say the cluster-admin wants featuregate/Foo=false." + items: + properties: + feature: + description: Feature is the key of feature gate. e.g. featuregate/Foo. + type: string + mode: + default: Disable + description: Mode is either Enable, Disable, "" where "" is Disable by default. In Enable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=true". In Disable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=false". + enum: + - Enable + - Disable + type: string + required: + - feature + type: object + type: array + type: object + registrationImagePullSpec: + default: quay.io/open-cluster-management/registration + description: RegistrationImagePullSpec represents the desired image of registration controller/webhook installed on hub. + type: string + workConfiguration: + description: WorkConfiguration contains the configuration of work + properties: + featureGates: + description: "FeatureGates represents the list of feature gates for work If it is set empty, default feature gates will be used. If it is set, featuregate/Foo is an example of one item in FeatureGates: 1. If featuregate/Foo does not exist, registration-operator will discard it 2. If featuregate/Foo exists and is false by default. It is now possible to set featuregate/Foo=[false|true] 3. If featuregate/Foo exists and is true by default. If a cluster-admin upgrading from 1 to 2 wants to continue having featuregate/Foo=false, \the can set featuregate/Foo=false before upgrading. Let's say the cluster-admin wants featuregate/Foo=false." + items: + properties: + feature: + description: Feature is the key of feature gate. e.g. featuregate/Foo. + type: string + mode: + default: Disable + description: Mode is either Enable, Disable, "" where "" is Disable by default. In Enable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=true". In Disable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=false". + enum: + - Enable + - Disable + type: string + required: + - feature + type: object + type: array + type: object + workImagePullSpec: + default: quay.io/open-cluster-management/work + description: WorkImagePullSpec represents the desired image configuration of work controller/webhook installed on hub. + type: string + type: object + status: + description: Status represents the current status of controllers that govern the lifecycle of managed clusters. + properties: + conditions: + description: 'Conditions contain the different condition statuses for this ClusterManager. Valid condition types are: Applied: Components in hub are applied. Available: Components in hub are available and ready to serve. Progressing: Components in hub are in a transitioning state. Degraded: Components in hub do not match the desired configuration and only provide degraded service.' + items: + description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + properties: + lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: message is a human readable message indicating details about the transition. This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + generations: + description: Generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. + items: + description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. The definition matches the GenerationStatus defined in github.com/openshift/api/v1 + properties: + group: + description: group is the group of the resource that you're tracking + type: string + lastGeneration: + description: lastGeneration is the last generation of the resource that controller applies + format: int64 + type: integer + name: + description: name is the name of the resource that you're tracking + type: string + namespace: + description: namespace is where the resource that you're tracking is + type: string + resource: + description: resource is the resource type of the resource that you're tracking + type: string + version: + description: version is the version of the resource that you're tracking + type: string + type: object + type: array + observedGeneration: + description: ObservedGeneration is the last generation change you've dealt with + format: int64 + type: integer + relatedResources: + description: RelatedResources are used to track the resources that are related to this ClusterManager. + items: + description: RelatedResourceMeta represents the resource that is managed by an operator + properties: + group: + description: group is the group of the resource that you're tracking + type: string + name: + description: name is the name of the resource that you're tracking + type: string + namespace: + description: namespace is where the thing you're tracking is + type: string + resource: + description: resource is the resource type of the resource that you're tracking + type: string + version: + description: version is the version of the thing you're tracking + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/deploy/cluster-manager/olm-catalog/cluster-manager/cluster-manager.package.yaml b/deploy/cluster-manager/olm-catalog/cluster-manager/cluster-manager.package.yaml index 9163787c7..73d1a7d34 100644 --- a/deploy/cluster-manager/olm-catalog/cluster-manager/cluster-manager.package.yaml +++ b/deploy/cluster-manager/olm-catalog/cluster-manager/cluster-manager.package.yaml @@ -1,5 +1,5 @@ channels: - name: stable - currentCSV: cluster-manager.v0.10.0 + currentCSV: cluster-manager.v0.11.0 defaultChannel: stable packageName: cluster-manager diff --git a/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml b/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml index c25855a12..b3a95f737 100644 --- a/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml +++ b/deploy/cluster-manager/olm-catalog/cluster-manager/manifests/cluster-manager.clusterserviceversion.yaml @@ -57,13 +57,13 @@ metadata: categories: Integration & Delivery,OpenShift Optional certified: "false" containerImage: quay.io/open-cluster-management/registration-operator:latest - createdAt: "2022-10-27T20:00:31Z" + createdAt: "2023-02-17T20:00:31Z" description: Manages the installation and upgrade of the ClusterManager. operators.operatorframework.io/builder: operator-sdk-v1.1.0 operators.operatorframework.io/project_layout: go repository: https://github.com/open-cluster-management-io/registration-operator support: Red Hat, Inc. - name: cluster-manager.v0.10.0 + name: cluster-manager.v0.11.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -370,8 +370,8 @@ spec: maturity: alpha provider: name: Red Hat, Inc. - replaces: cluster-manager.v0.9.1 + replaces: cluster-manager.v0.10.0 selector: matchLabels: app: cluster-manager - version: 0.10.0 + version: 0.11.0 diff --git a/deploy/klusterlet/config/manifests/bases/klusterlet.clusterserviceversion.yaml b/deploy/klusterlet/config/manifests/bases/klusterlet.clusterserviceversion.yaml index 70d5f891b..12db8d9d5 100644 --- a/deploy/klusterlet/config/manifests/bases/klusterlet.clusterserviceversion.yaml +++ b/deploy/klusterlet/config/manifests/bases/klusterlet.clusterserviceversion.yaml @@ -7,7 +7,7 @@ metadata: categories: Integration & Delivery,OpenShift Optional certified: "false" containerImage: quay.io/open-cluster-management/registration-operator:latest - createdAt: "2022-10-27T20:00:31Z" + createdAt: "2023-02-17T20:00:31Z" description: Manages the installation and upgrade of the Klusterlet. repository: https://github.com/open-cluster-management-io/registration-operator support: Red Hat, Inc. @@ -91,8 +91,8 @@ spec: maturity: alpha provider: name: Red Hat, Inc. - replaces: klusterlet.v0.9.1 + replaces: klusterlet.v0.10.0 selector: matchLabels: app: klusterlet - version: 0.10.0 + version: 0.11.0 diff --git a/deploy/klusterlet/olm-catalog/klusterlet/0.10.0/klusterlet.clusterserviceversion.yaml b/deploy/klusterlet/olm-catalog/klusterlet/0.10.0/klusterlet.clusterserviceversion.yaml new file mode 100644 index 000000000..fd7940711 --- /dev/null +++ b/deploy/klusterlet/olm-catalog/klusterlet/0.10.0/klusterlet.clusterserviceversion.yaml @@ -0,0 +1,329 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "operator.open-cluster-management.io/v1", + "kind": "Klusterlet", + "metadata": { + "name": "klusterlet" + }, + "spec": { + "clusterName": "cluster1", + "deployOption": { + "mode": "Default" + }, + "externalServerURLs": [ + { + "url": "https://localhost" + } + ], + "namespace": "open-cluster-management-agent", + "registrationConfiguration": { + "featureGates": [ + { + "feature": "AddonManagement", + "mode": "Enable" + } + ] + }, + "registrationImagePullSpec": "quay.io/open-cluster-management/registration:v0.10.0", + "workImagePullSpec": "quay.io/open-cluster-management/work" + } + } + ] + capabilities: Basic Install + categories: Integration & Delivery,OpenShift Optional + certified: "false" + containerImage: quay.io/open-cluster-management/registration-operator:v0.10.0 + createdAt: "2022-10-27T20:00:31Z" + description: Manages the installation and upgrade of the Klusterlet. + operators.operatorframework.io/builder: operator-sdk-v1.1.0 + operators.operatorframework.io/project_layout: go + repository: https://github.com/open-cluster-management-io/registration-operator + support: Red Hat, Inc. + name: klusterlet.v0.10.0 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: Klusterlet defines the configurations of agents running on the managed cluster + displayName: Klusterlet + kind: Klusterlet + name: klusterlets.operator.open-cluster-management.io + version: v1 + description: | + The Klusterlet proivdes the registation to the Hub clusters as a managed cluster. This operator supports the installation and upgrade of Klusterlet. + + ## Prerequisites + You need a Hub cluster which has installed ClusterManager. + + ## How to Install + * Install Klusterlet operator by following instructions in top right button `Install`. + * Optional: Create an agent namespace used to deploy Klusterlet. The default namespace is `open-cluster-management-agent`. + * Create a secret `bootstrap-hub-kubeconfig` with the kubeconfig file of hub cluster in the agent namespace. + + ``` + $ kubectl create secret generic bootstrap-hub-kubeconfig --from-file=kubeconfig= -n + ``` + + * Create an instance of the Klusterlet resource to install the Klusterlet. + + The pods of Klusterlet are created in agent namespace. + + ``` + $ kubectl get pods -n open-cluster-management-agent + NAME READY STATUS RESTARTS AGE + klusterlet-registration-agent-7fdd5b549b-4q88s 1/1 Running 0 27s + klusterlet-registration-agent-7fdd5b549b-ccdgn 1/1 Running 0 27s + klusterlet-registration-agent-7fdd5b549b-djhl9 1/1 Running 0 27s + klusterlet-work-agent-cbbb7f945-g7m45 1/1 Running 0 27s + klusterlet-work-agent-cbbb7f945-mxdbg 1/1 Running 1 27s + klusterlet-work-agent-cbbb7f945-pnjxk 1/1 Running 0 27s + ``` + + There is a ManagedCluster created in the Hub cluster. + + ``` + $ kubectl get managedclusters.cluster.open-cluster-management.io + NAME HUB ACCEPTED MANAGED CLUSTER URLS JOINED AVAILABLE AGE + cluster1 false 27s + ``` + displayName: Klusterlet + icon: + - base64data: iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAABxVBMVEX////z//+JzuYRKUP/9/X/+P9Ipcn39/js///c8PccNE8JHjWFyd3w8vcmN0r3/vKQ0eMIMlHV5/Hz+P4TMlGR1O6Fx+Xr9f+Qyt4vQliBwdr+/e2Yzubq/PX/8O1zgZJDVGgfPFp4x+LS7v/j/v4DKEzg9P7m7fr/5ewTOlvu7e1NYHg8TF5Vn8H/6flmdolCnr1OW22OwtclRGPT5/spWHnf6Pf/5uDAy9odTW/W9f9YZ3rJ6v7H3uvR2uZaqMnA4/tgb4IRQmSHvN+cqrdbi6qGl6+UoKw3ZoT6Bx+1wtOwuckxS2ec0fLi5+7y9erI09+lsb5/jJ7+1dTBCBrrAw6n1OrZ/v5rvNhuocFThKErNVj/2+Xz8OG4y96ktcqOo7pCcI7Y7Op6q8mGlKPQCiW91uqkvNNcs9GZrcXkCy3aBRO02/Lk9ujz5uN7stFAlbdll7VNepjg//GFttBogJvMHjmh2/d2jaX+xM5Sa4jJ1Oyhydtxqcr6hZWuDSLP7t/+s79Nj7D/n6o5gKG6FzLl6uK6MDrdiZbBVGDudIDcSF3W/OzMbnnbZ23LQFKaFyYoaY6jNETltq99MkG1f4X9VWx+gaqSAAAkBElEQVR42tya228SQRTG5+zOZElhWVZYUJD1Eo1bNTVqWjQmfQAbReMtQNQEY0zkBVNMbULDS9E0Db3Y0lj17/Wb3S7Q1oQ+1LDrtyzD8jS/fuecmTmU/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3LsudFW8ORJaPBdGkOXSVHAekU/znV9hAtvIRPQYOL6AtNVZj+RdvLrpyQoz4jDViJ5ljqyB7sv4H5JBwqFfy5lzVehetCRHgLjrK/fvr2w+cvBeToaIEZsZDIm+c3KcTYzTX+bRKPGZDaMPXmVPAV19IJrElp7JsNpF606WO6r3amhqPGlciqYf76JE/xNEVSjwt/7HqPykhGH+OyQ4GwYWvtM4gyNH8Tc9eP6//Jf/8l/+yz8lXwDq+UD50w1JtwAAAABJRU5ErkJggg== + mediatype: image/png + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - secrets + - configmaps + - serviceaccounts + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - create + - get + - list + - update + - watch + - patch + - apiGroups: + - authorization.k8s.io + resources: + - subjectaccessreviews + verbs: + - create + - apiGroups: + - "" + resources: + - namespaces + verbs: + - create + - get + - list + - watch + - delete + - apiGroups: + - "" + resources: + - nodes + verbs: + - get + - list + - watch + - apiGroups: + - "" + - events.k8s.io + resources: + - events + verbs: + - create + - patch + - update + - apiGroups: + - apps + resources: + - deployments + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterrolebindings + - rolebindings + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - rbac.authorization.k8s.io + resources: + - clusterroles + - roles + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - escalate + - bind + - apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - operator.open-cluster-management.io + resources: + - klusterlets + verbs: + - get + - list + - watch + - update + - patch + - delete + - apiGroups: + - operator.open-cluster-management.io + resources: + - klusterlets/status + verbs: + - update + - patch + - apiGroups: + - work.open-cluster-management.io + resources: + - appliedmanifestworks + verbs: + - list + - update + serviceAccountName: klusterlet + deployments: + - name: klusterlet + spec: + replicas: 3 + selector: + matchLabels: + app: klusterlet + strategy: {} + template: + metadata: + annotations: + target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' + labels: + app: klusterlet + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - klusterlet + topologyKey: failure-domain.beta.kubernetes.io/zone + weight: 70 + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: app + operator: In + values: + - klusterlet + topologyKey: kubernetes.io/hostname + weight: 30 + containers: + - args: + - /registration-operator + - klusterlet + image: quay.io/open-cluster-management/registration-operator:v0.10.0 + livenessProbe: + httpGet: + path: /healthz + port: 8443 + scheme: HTTPS + initialDelaySeconds: 2 + periodSeconds: 10 + name: klusterlet + readinessProbe: + httpGet: + path: /healthz + port: 8443 + scheme: HTTPS + initialDelaySeconds: 2 + resources: + requests: + cpu: 100m + memory: 128Mi + serviceAccountName: klusterlet + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: true + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: true + type: AllNamespaces + keywords: + - open-cluster-management + - Klusterlet + links: + - name: Registration Operator + url: https://github.com/open-cluster-management-io/registration-operator + maintainers: + - email: zyin@redhat.com + name: Zhiwei Yin + - email: deads@redhat.com + name: David Eads + - email: jqiu@redhat.com + name: Jian Qiu + maturity: alpha + provider: + name: Red Hat, Inc. + replaces: klusterlet.v0.9.1 + selector: + matchLabels: + app: klusterlet + version: 0.10.0 diff --git a/deploy/klusterlet/olm-catalog/klusterlet/0.10.0/operator.open-cluster-management.io_klusterlets.yaml b/deploy/klusterlet/olm-catalog/klusterlet/0.10.0/operator.open-cluster-management.io_klusterlets.yaml new file mode 100644 index 000000000..d23009d46 --- /dev/null +++ b/deploy/klusterlet/olm-catalog/klusterlet/0.10.0/operator.open-cluster-management.io_klusterlets.yaml @@ -0,0 +1,268 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: klusterlets.operator.open-cluster-management.io +spec: + group: operator.open-cluster-management.io + names: + kind: Klusterlet + listKind: KlusterletList + plural: klusterlets + singular: klusterlet + scope: Cluster + versions: + - name: v1 + schema: + openAPIV3Schema: + description: Klusterlet represents controllers to install the resources for a managed cluster. When configured, the Klusterlet requires a secret named bootstrap-hub-kubeconfig in the agent namespace to allow API requests to the hub for the registration protocol. In Hosted mode, the Klusterlet requires an additional secret named external-managed-kubeconfig in the agent namespace to allow API requests to the managed cluster for resources installation. + 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 represents the desired deployment configuration of Klusterlet agent. + properties: + clusterName: + description: ClusterName is the name of the managed cluster to be created on hub. The Klusterlet agent generates a random name if it is not set, or discovers the appropriate cluster name on OpenShift. + type: string + deployOption: + description: DeployOption contains the options of deploying a klusterlet + properties: + mode: + description: 'Mode can be Default or Hosted. It is Default mode if not specified In Default mode, all klusterlet related resources are deployed on the managed cluster. In Hosted mode, only crd and configurations are installed on the spoke/managed cluster. Controllers run in another cluster (defined as management-cluster) and connect to the mangaged cluster with the kubeconfig in secret of "external-managed-kubeconfig"(a kubeconfig of managed-cluster with cluster-admin permission). Note: Do not modify the Mode field once it''s applied.' + type: string + type: object + externalServerURLs: + description: ExternalServerURLs represents the a list of apiserver urls and ca bundles that is accessible externally If it is set empty, managed cluster has no externally accessible url that hub cluster can visit. + items: + description: ServerURL represents the apiserver url and ca bundle that is accessible externally + properties: + caBundle: + description: CABundle is the ca bundle to connect to apiserver of the managed cluster. System certs are used if it is not set. + format: byte + type: string + url: + description: URL is the url of apiserver endpoint of the managed cluster. + type: string + type: object + type: array + hubApiServerHostAlias: + description: HubApiServerHostAlias contains the host alias for hub api server. registration-agent and work-agent will use it to communicate with hub api server. + properties: + hostname: + description: Hostname for the above IP address. + pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$ + type: string + ip: + description: IP address of the host file entry. + pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ + type: string + required: + - hostname + - ip + type: object + namespace: + description: Namespace is the namespace to deploy the agent on the managed cluster. The namespace must have a prefix of "open-cluster-management-", and if it is not set, the namespace of "open-cluster-management-agent" is used to deploy agent. In addition, the add-ons are deployed to the namespace of "{Namespace}-addon". In the Hosted mode, this namespace still exists on the managed cluster to contain necessary resources, like service accounts, roles and rolebindings, while the agent is deployed to the namespace with the same name as klusterlet on the management cluster. + maxLength: 63 + pattern: ^open-cluster-management-[-a-z0-9]*[a-z0-9]$ + type: string + nodePlacement: + description: NodePlacement enables explicit control over the scheduling of the deployed pods. + properties: + nodeSelector: + additionalProperties: + type: string + description: NodeSelector defines which Nodes the Pods are scheduled on. The default is an empty list. + type: object + tolerations: + description: Tolerations is attached by pods to tolerate any taint that matches the triple using the matching operator . The default is an empty list. + items: + description: The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . + properties: + effect: + description: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. + type: string + key: + description: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. + type: string + operator: + description: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. + type: string + tolerationSeconds: + description: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. + format: int64 + type: integer + value: + description: Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. + type: string + type: object + type: array + type: object + registrationConfiguration: + description: RegistrationConfiguration contains the configuration of registration + properties: + featureGates: + description: "FeatureGates represents the list of feature gates for registration If it is set empty, default feature gates will be used. If it is set, featuregate/Foo is an example of one item in FeatureGates: 1. If featuregate/Foo does not exist, registration-operator will discard it 2. If featuregate/Foo exists and is false by default. It is now possible to set featuregate/Foo=[false|true] 3. If featuregate/Foo exists and is true by default. If a cluster-admin upgrading from 1 to 2 wants to continue having featuregate/Foo=false, \the can set featuregate/Foo=false before upgrading. Let's say the cluster-admin wants featuregate/Foo=false." + items: + properties: + feature: + description: Feature is the key of feature gate. e.g. featuregate/Foo. + type: string + mode: + default: Disable + description: Mode is either Enable, Disable, "" where "" is Disable by default. In Enable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=true". In Disable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=false". + enum: + - Enable + - Disable + type: string + required: + - feature + type: object + type: array + type: object + registrationImagePullSpec: + description: RegistrationImagePullSpec represents the desired image configuration of registration agent. quay.io/open-cluster-management.io/registration:latest will be used if unspecified. + type: string + workConfiguration: + description: WorkConfiguration contains the configuration of work + properties: + featureGates: + description: "FeatureGates represents the list of feature gates for work If it is set empty, default feature gates will be used. If it is set, featuregate/Foo is an example of one item in FeatureGates: 1. If featuregate/Foo does not exist, registration-operator will discard it 2. If featuregate/Foo exists and is false by default. It is now possible to set featuregate/Foo=[false|true] 3. If featuregate/Foo exists and is true by default. If a cluster-admin upgrading from 1 to 2 wants to continue having featuregate/Foo=false, \the can set featuregate/Foo=false before upgrading. Let's say the cluster-admin wants featuregate/Foo=false." + items: + properties: + feature: + description: Feature is the key of feature gate. e.g. featuregate/Foo. + type: string + mode: + default: Disable + description: Mode is either Enable, Disable, "" where "" is Disable by default. In Enable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=true". In Disable mode, a valid feature gate `featuregate/Foo` will be set to "--featuregate/Foo=false". + enum: + - Enable + - Disable + type: string + required: + - feature + type: object + type: array + type: object + workImagePullSpec: + description: WorkImagePullSpec represents the desired image configuration of work agent. quay.io/open-cluster-management.io/work:latest will be used if unspecified. + type: string + type: object + status: + description: Status represents the current status of Klusterlet agent. + properties: + conditions: + description: 'Conditions contain the different condition statuses for this Klusterlet. Valid condition types are: Applied: Components have been applied in the managed cluster. Available: Components in the managed cluster are available and ready to serve. Progressing: Components in the managed cluster are in a transitioning state. Degraded: Components in the managed cluster do not match the desired configuration and only provide degraded service.' + items: + description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + properties: + lastTransitionTime: + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: message is a human readable message indicating details about the transition. This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + generations: + description: Generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction. + items: + description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made. The definition matches the GenerationStatus defined in github.com/openshift/api/v1 + properties: + group: + description: group is the group of the resource that you're tracking + type: string + lastGeneration: + description: lastGeneration is the last generation of the resource that controller applies + format: int64 + type: integer + name: + description: name is the name of the resource that you're tracking + type: string + namespace: + description: namespace is where the resource that you're tracking is + type: string + resource: + description: resource is the resource type of the resource that you're tracking + type: string + version: + description: version is the version of the resource that you're tracking + type: string + type: object + type: array + observedGeneration: + description: ObservedGeneration is the last generation change you've dealt with + format: int64 + type: integer + relatedResources: + description: RelatedResources are used to track the resources that are related to this Klusterlet. + items: + description: RelatedResourceMeta represents the resource that is managed by an operator + properties: + group: + description: group is the group of the resource that you're tracking + type: string + name: + description: name is the name of the resource that you're tracking + type: string + namespace: + description: namespace is where the thing you're tracking is + type: string + resource: + description: resource is the resource type of the resource that you're tracking + type: string + version: + description: version is the version of the thing you're tracking + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/deploy/klusterlet/olm-catalog/klusterlet/klusterlet.package.yaml b/deploy/klusterlet/olm-catalog/klusterlet/klusterlet.package.yaml index c7da091c2..91ed9dc9c 100644 --- a/deploy/klusterlet/olm-catalog/klusterlet/klusterlet.package.yaml +++ b/deploy/klusterlet/olm-catalog/klusterlet/klusterlet.package.yaml @@ -1,5 +1,5 @@ channels: -- currentCSV: klusterlet.v0.10.0 +- currentCSV: klusterlet.v0.11.0 name: stable defaultChannel: stable packageName: klusterlet diff --git a/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml b/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml index e0b8db118..79dcfb109 100644 --- a/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml +++ b/deploy/klusterlet/olm-catalog/klusterlet/manifests/klusterlet.clusterserviceversion.yaml @@ -38,13 +38,13 @@ metadata: categories: Integration & Delivery,OpenShift Optional certified: "false" containerImage: quay.io/open-cluster-management/registration-operator:latest - createdAt: "2022-10-27T20:00:31Z" + createdAt: "2023-02-17T20:00:31Z" description: Manages the installation and upgrade of the Klusterlet. operators.operatorframework.io/builder: operator-sdk-v1.1.0 operators.operatorframework.io/project_layout: go repository: https://github.com/open-cluster-management-io/registration-operator support: Red Hat, Inc. - name: klusterlet.v0.10.0 + name: klusterlet.v0.11.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -322,8 +322,8 @@ spec: maturity: alpha provider: name: Red Hat, Inc. - replaces: klusterlet.v0.9.1 + replaces: klusterlet.v0.10.0 selector: matchLabels: app: klusterlet - version: 0.10.0 + version: 0.11.0