diff --git a/operators/klusterlet/0.15.1/manifests/klusterlet.clusterserviceversion.yaml b/operators/klusterlet/0.15.1/manifests/klusterlet.clusterserviceversion.yaml new file mode 100644 index 00000000000..d0061dcae4f --- /dev/null +++ b/operators/klusterlet/0.15.1/manifests/klusterlet.clusterserviceversion.yaml @@ -0,0 +1,382 @@ +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": "Singleton" + }, + "externalServerURLs": [ + { + "url": "https://localhost" + } + ], + "imagePullSpec": "quay.io/open-cluster-management/registration-operator:v0.15.1", + "namespace": "open-cluster-management-agent", + "registrationImagePullSpec": "quay.io/open-cluster-management/registration:v0.15.1", + "workImagePullSpec": "quay.io/open-cluster-management/work:v0.15.1" + } + } + ] + capabilities: Basic Install + categories: Integration & Delivery,OpenShift Optional + certified: "false" + containerImage: quay.io/open-cluster-management/registration-operator:v0.15.1 + createdAt: "2024-11-06T02:42:52Z" + description: Manages the installation and upgrade of the Klusterlet. + operators.operatorframework.io/builder: operator-sdk-v1.32.0 + operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 + repository: https://github.com/open-cluster-management-io/ocm + support: Open Cluster Management Community + name: klusterlet.v0.15.1 + 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 provides the registration to the Hub cluster as a managed cluster. This operator supports the installation and upgrade of Klusterlet. + + ## Prerequisites + You need a Hub cluster with ClusterManager installed. + + ## 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-agent-55c6574876-nfxm9 1/1 Running 0 8m38s + ``` + + 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+zOZElhWVZYUJD1Eo1bNTVq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IuiCLLHe1E0wtv3yQ/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 + - serviceaccounts + verbs: + - create + - get + - list + - update + - watch + - patch + - delete + - apiGroups: + - "" + resources: + - secrets + verbs: + - create + - apiGroups: + - "" + resourceNames: + - open-cluster-management-image-pull-credentials + - bootstrap-hub-kubeconfig + - hub-kubeconfig-secret + - external-managed-kubeconfig + - external-managed-kubeconfig-work + - external-managed-kubeconfig-registration + - external-managed-kubeconfig-agent + resources: + - secrets + verbs: + - update + - get + - list + - watch + - delete + - apiGroups: + - "" + resources: + - pods + verbs: + - get + - apiGroups: + - apps + resources: + - replicasets + verbs: + - get + - 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 + - update + - watch + - patch + - 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 + - patch + serviceAccountName: klusterlet + deployments: + - label: + app: klusterlet + 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 + env: + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + image: quay.io/open-cluster-management/registration-operator:v0.15.1 + imagePullPolicy: IfNotPresent + 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: + limits: + memory: 2Gi + requests: + cpu: 2m + memory: 16Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + readOnlyRootFilesystem: true + runAsNonRoot: true + volumeMounts: + - mountPath: /tmp + name: tmpdir + securityContext: + runAsNonRoot: true + serviceAccountName: klusterlet + volumes: + - emptyDir: {} + name: tmpdir + 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/ocm + 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: Open Cluster Management Community + replaces: klusterlet.v0.14.0 + selector: + matchLabels: + app: klusterlet + version: 0.15.1 diff --git a/operators/klusterlet/0.15.1/manifests/operator.open-cluster-management.io_klusterlets.yaml b/operators/klusterlet/0.15.1/manifests/operator.open-cluster-management.io_klusterlets.yaml new file mode 100644 index 00000000000..7bbe93d6ac2 --- /dev/null +++ b/operators/klusterlet/0.15.1/manifests/operator.open-cluster-management.io_klusterlets.yaml @@ -0,0 +1,617 @@ +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. + maxLength: 63 + pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ + type: string + deployOption: + description: DeployOption contains the options of deploying a klusterlet + properties: + mode: + description: |- + Mode can be Default, Hosted, Singleton or SingletonHosted. 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). + In Singleton mode, registration/work agent is started as a single deployment. + In SingletonHosted mode, agent is started as a single deployment in hosted mode. + Note: Do not modify the Mode field once it's applied. + type: string + type: object + externalServerURLs: + description: |- + ExternalServerURLs represents 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 + imagePullSpec: + description: |- + ImagePullSpec represents the desired image configuration of agent, it takes effect only when + singleton mode is set. quay.io/open-cluster-management.io/registration-operator:latest will + be used if unspecified + type: string + 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: 57 + 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 are 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 + priorityClassName: + description: |- + PriorityClassName is the name of the PriorityClass that will be used by the + deployed klusterlet agent. It will be ignored when the PriorityClass/v1 API + is not available on the managed cluster. + type: string + registrationConfiguration: + description: RegistrationConfiguration contains the configuration + of registration + properties: + bootstrapKubeConfigs: + description: |- + BootstrapKubeConfigs defines the ordered list of bootstrap kubeconfigs. The order decides which bootstrap kubeconfig to use first when rebootstrap. + + + When the agent loses the connection to the current hub over HubConnectionTimeoutSeconds, or the managedcluster CR + is set `hubAcceptsClient=false` on the hub, the controller marks the related bootstrap kubeconfig as "failed". + + + A failed bootstrapkubeconfig won't be used for the duration specified by SkipFailedBootstrapKubeConfigSeconds. + But if the user updates the content of a failed bootstrapkubeconfig, the "failed" mark will be cleared. + properties: + localSecretsConfig: + description: |- + LocalSecretsConfig include a list of secrets that contains the kubeconfigs for ordered bootstrap kubeconifigs. + The secrets must be in the same namespace where the agent controller runs. + properties: + hubConnectionTimeoutSeconds: + default: 600 + description: |- + HubConnectionTimeoutSeconds is used to set the timeout of connecting to the hub cluster. + When agent loses the connection to the hub over the timeout seconds, the agent do a rebootstrap. + By default is 10 mins. + format: int32 + minimum: 180 + type: integer + kubeConfigSecrets: + description: KubeConfigSecrets is a list of secret names. + The secrets are in the same namespace where the agent + controller runs. + items: + properties: + name: + description: Name is the name of the secret. + type: string + type: object + type: array + type: object + type: + default: None + description: |- + Type specifies the type of priority bootstrap kubeconfigs. + By default, it is set to None, representing no priority bootstrap kubeconfigs are set. + enum: + - None + - LocalSecrets + type: string + type: object + clientCertExpirationSeconds: + description: |- + clientCertExpirationSeconds represents the seconds of a client certificate to expire. If it is not set or 0, the default + duration seconds will be set by the hub cluster. If the value is larger than the max signing duration seconds set on + the hub cluster, the max signing duration seconds will be set. + format: int32 + type: integer + clusterAnnotations: + additionalProperties: + type: string + description: |- + ClusterAnnotations is annotations with the reserve prefix "agent.open-cluster-management.io" set on + ManagedCluster when creating only, other actors can update it afterwards. + type: object + featureGates: + description: "FeatureGates represents the list of feature gates + for registration\nIf it is set empty, default feature gates + will be used.\nIf it is set, featuregate/Foo is an example of + one item in FeatureGates:\n 1. If featuregate/Foo does not + exist, registration-operator will discard it\n 2. If featuregate/Foo + exists and is false by default. It is now possible to set featuregate/Foo=[false|true]\n + \ 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,\n \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 + kubeAPIBurst: + default: 100 + description: |- + KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster. + If it is set empty, use the default value: 100 + format: int32 + type: integer + kubeAPIQPS: + default: 50 + description: |- + KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster. + If it is set empty, use the default value: 50 + format: int32 + type: integer + registrationDriver: + description: This provides driver details required to register + with hub + properties: + authType: + default: csr + description: Type of the authentication used by managedcluster + to register as well as pull work from hub. Possible values + are csr and awsirsa. + enum: + - csr + - awsirsa + type: string + awsIrsa: + description: |- + Contain the details required for registering with hub cluster (ie: an EKS cluster) using AWS IAM roles for service account. + This is required only when the authType is awsirsa. + properties: + hubClusterArn: + description: |- + The arn of the hub cluster (ie: an EKS cluster). This will be required to pass information to hub, which hub will use to create IAM identities for this klusterlet. + Example - arn:eks:us-west-2:12345678910:cluster/hub-cluster1. + minLength: 1 + type: string + managedClusterArn: + description: |- + The arn of the managed cluster (ie: an EKS cluster). This will be required to generate the md5hash which will be used as a suffix to create IAM role on hub + as well as used by kluslerlet-agent, to assume role suffixed with the md5hash, on startup. + Example - arn:eks:us-west-2:12345678910:cluster/managed-cluster1. + minLength: 1 + type: string + type: object + type: object + 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 + resourceRequirement: + description: |- + ResourceRequirement specify QoS classes of deployments managed by klusterlet. + It applies to all the containers in the deployments. + properties: + resourceRequirements: + description: ResourceRequirements defines resource requests and + limits when Type is ResourceQosClassResourceRequirement + properties: + claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + + This field is immutable. It can only be set for containers. + items: + description: ResourceClaim references one entry in PodSpec.ResourceClaims. + properties: + name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + type: object + type: object + type: + default: Default + enum: + - Default + - BestEffort + - ResourceRequirement + type: string + type: object + workConfiguration: + description: WorkConfiguration contains the configuration of work + properties: + appliedManifestWorkEvictionGracePeriod: + description: |- + AppliedManifestWorkEvictionGracePeriod is the eviction grace period the work agent will wait before + evicting the AppliedManifestWorks, whose corresponding ManifestWorks are missing on the hub cluster, from + the managed cluster. If not present, the default value of the work agent will be used. + pattern: ^([0-9]+(s|m|h))+$ + type: string + featureGates: + description: "FeatureGates represents the list of feature gates + for work\nIf it is set empty, default feature gates will be + used.\nIf it is set, featuregate/Foo is an example of one item + in FeatureGates:\n 1. If featuregate/Foo does not exist, registration-operator + will discard it\n 2. If featuregate/Foo exists and is false + by default. It is now possible to set featuregate/Foo=[false|true]\n + \ 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,\n \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 + kubeAPIBurst: + default: 100 + description: |- + KubeAPIBurst indicates the maximum burst of the throttle while talking with apiserver of hub cluster from the spoke cluster. + If it is set empty, use the default value: 100 + format: int32 + type: integer + kubeAPIQPS: + default: 50 + description: |- + KubeAPIQPS indicates the maximum QPS while talking with apiserver of hub cluster from the spoke cluster. + If it is set empty, use the default value: 50 + format: int32 + type: integer + 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.\n---\nThis struct is intended for + direct use as an array at the field path .status.conditions. For + example,\n\n\n\ttype FooStatus struct{\n\t // Represents the + observations of a foo's current state.\n\t // Known .status.conditions.type + are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // + +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t + \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" + patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t + \ // other fields\n\t}" + 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/operators/klusterlet/0.15.1/metadata/annotations.yaml b/operators/klusterlet/0.15.1/metadata/annotations.yaml new file mode 100644 index 00000000000..052fcfc1d48 --- /dev/null +++ b/operators/klusterlet/0.15.1/metadata/annotations.yaml @@ -0,0 +1,11 @@ +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: klusterlet + operators.operatorframework.io.bundle.channels.v1: stable + operators.operatorframework.io.bundle.channel.default.v1: stable + operators.operatorframework.io.metrics.builder: operator-sdk-v1.32.0 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3