From baa126adfff592569fc5f508e8249575266fdf55 Mon Sep 17 00:00:00 2001 From: Simone Bruzzese Date: Fri, 24 May 2024 16:50:37 +0200 Subject: [PATCH 1/9] feat: upgrade Rook to v1.10.13 --- katalog/rook-operator/MAINTENANCE.md | 2 +- ...cephfs-external-provisioner-runner-cr.yaml | 5 +- katalog/rook-operator/crds.yaml | 49 ++++++------------- katalog/rook-operator/kustomization.yaml | 2 +- .../rook-ceph-operator-config-csi-images.yml | 10 ++-- .../rbd-external-provisioner-runner-cr.yaml | 2 +- katalog/rook-operator/rook-ceph-mgr-role.yaml | 1 + .../rook-ceph-operator-config-cm.yaml | 18 +++++-- .../rook-ceph-operator-deployment.yaml | 15 ++++-- .../rook-operator/rook-ceph-tools-deploy.yml | 23 ++++++--- 10 files changed, 70 insertions(+), 57 deletions(-) diff --git a/katalog/rook-operator/MAINTENANCE.md b/katalog/rook-operator/MAINTENANCE.md index 63490b8..060a610 100644 --- a/katalog/rook-operator/MAINTENANCE.md +++ b/katalog/rook-operator/MAINTENANCE.md @@ -5,7 +5,7 @@ To prepare a new release of this package: 1. Get the current upstream release ```bash -export ROOK_RELEASE=v1.10.5 +export ROOK_RELEASE=v1.10.13 wget -c https://raw.githubusercontent.com/rook/rook/${ROOK_RELEASE}/deploy/examples/common.yaml \ https://raw.githubusercontent.com/rook/rook/${ROOK_RELEASE}/deploy/examples/crds.yaml \ https://raw.githubusercontent.com/rook/rook/${ROOK_RELEASE}/deploy/examples/toolbox.yaml \ diff --git a/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml b/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml index 72521db..95b5577 100644 --- a/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml +++ b/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml @@ -6,12 +6,15 @@ rules: - apiGroups: [""] resources: ["secrets"] verbs: ["get", "list"] + - apiGroups: [""] + resources: ["nodes"] + verbs: ["get", "list", "watch"] - apiGroups: [""] resources: ["persistentvolumes"] verbs: ["get", "list", "watch", "create", "delete", "patch"] - apiGroups: [""] resources: ["persistentvolumeclaims"] - verbs: ["get", "list", "watch", "patch"] + verbs: ["get", "list", "watch", "patch", "update"] - apiGroups: ["storage.k8s.io"] resources: ["storageclasses"] verbs: ["get", "list", "watch"] diff --git a/katalog/rook-operator/crds.yaml b/katalog/rook-operator/crds.yaml index f76bba1..b571b46 100644 --- a/katalog/rook-operator/crds.yaml +++ b/katalog/rook-operator/crds.yaml @@ -11556,46 +11556,16 @@ spec: nullable: true type: string externalRgwEndpoints: - description: ExternalRgwEndpoints points to external rgw endpoint(s) + description: ExternalRgwEndpoints points to external RGW endpoint(s). Multiple endpoints can be given, but for stability of ObjectBucketClaims, we highly recommend that users give only a single external RGW endpoint that is a load balancer that sends requests to the multiple RGWs. items: - description: EndpointAddress is a tuple that describes single IP address. + description: EndpointAddress is a tuple that describes a single IP address or host name. This is a subset of Kubernetes's v1.EndpointAddress. properties: hostname: description: The Hostname of this endpoint type: string ip: - description: 'The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. TODO: This should allow hostname or IP, See #4447.' - type: string - nodeName: - description: 'Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.' + description: The IP of this endpoint. type: string - targetRef: - description: Reference to object providing the endpoint. - properties: - apiVersion: - description: API version of the referent. - type: string - fieldPath: - description: 'If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.' - type: string - kind: - description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' - type: string - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' - type: string - namespace: - description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' - type: string - resourceVersion: - description: 'Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency' - type: string - uid: - description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' - type: string - type: object - required: - - ip type: object nullable: true type: array @@ -12815,6 +12785,19 @@ spec: type: string type: object type: array + endpoints: + properties: + insecure: + items: + type: string + nullable: true + type: array + secure: + items: + type: string + nullable: true + type: array + type: object info: additionalProperties: type: string diff --git a/katalog/rook-operator/kustomization.yaml b/katalog/rook-operator/kustomization.yaml index 1ae9e76..3b053e7 100644 --- a/katalog/rook-operator/kustomization.yaml +++ b/katalog/rook-operator/kustomization.yaml @@ -7,7 +7,7 @@ namespace: rook-ceph images: - name: rook/ceph newName: registry.sighup.io/fury/rook/ceph - newTag: v1.10.5 + newTag: v1.10.13 - name: quay.io/ceph/ceph newName: registry.sighup.io/fury/ceph/ceph newTag: v17.2.5 diff --git a/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml b/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml index 825282f..18176fc 100644 --- a/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml +++ b/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml @@ -6,8 +6,8 @@ metadata: namespace: rook-ceph data: ROOK_CSI_CEPH_IMAGE: "registry.sighup.io/fury/cephcsi/cephcsi:v3.7.2" - ROOK_CSI_REGISTRAR_IMAGE: "registry.sighup.io/fury/sig-storage/csi-node-driver-registrar:v2.5.1" - ROOK_CSI_RESIZER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-resizer:v1.6.0" - ROOK_CSI_PROVISIONER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-provisioner:v3.3.0" - ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-snapshotter:v6.1.0" - ROOK_CSI_ATTACHER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-attacher:v4.0.0" + ROOK_CSI_REGISTRAR_IMAGE: "registry.sighup.io/fury/sig-storage/csi-node-driver-registrar:v2.7.0" + ROOK_CSI_RESIZER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-resizer:v1.7.0" + ROOK_CSI_PROVISIONER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-provisioner:v3.4.0" + ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-snapshotter:v6.2.1" + ROOK_CSI_ATTACHER_IMAGE: "registry.sighup.io/fury/sig-storage/csi-attacher:v4.1.0" diff --git a/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml b/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml index ba5d3b2..5032443 100644 --- a/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml +++ b/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml @@ -56,7 +56,7 @@ rules: verbs: ["create"] - apiGroups: [""] resources: ["nodes"] - verbs: ["get", "list", watch"] + verbs: ["get", "list", "watch"] - apiGroups: ["storage.k8s.io"] resources: ["csinodes"] verbs: ["get", "list", "watch"] diff --git a/katalog/rook-operator/rook-ceph-mgr-role.yaml b/katalog/rook-operator/rook-ceph-mgr-role.yaml index 9578d0e..c8ab905 100644 --- a/katalog/rook-operator/rook-ceph-mgr-role.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-role.yaml @@ -55,6 +55,7 @@ rules: - create - update - delete + - patch - apiGroups: - apps resources: diff --git a/katalog/rook-operator/rook-ceph-operator-config-cm.yaml b/katalog/rook-operator/rook-ceph-operator-config-cm.yaml index ca338fa..d4ebbc8 100644 --- a/katalog/rook-operator/rook-ceph-operator-config-cm.yaml +++ b/katalog/rook-operator/rook-ceph-operator-config-cm.yaml @@ -25,6 +25,9 @@ data: # The logging level for the operator: ERROR | WARNING | INFO | DEBUG ROOK_LOG_LEVEL: "INFO" + # Allow using loop devices for osds in test clusters. + ROOK_CEPH_ALLOW_LOOP_DEVICES: "false" + # Enable the CSI driver. # To run the non-default version of the CSI driver, see the override-able image properties in operator.yaml ROOK_CSI_ENABLE_CEPHFS: "true" @@ -105,11 +108,11 @@ data: # of the CSI driver to something other than what is officially supported, change # these images to the desired release of the CSI driver. # ROOK_CSI_CEPH_IMAGE: "quay.io/cephcsi/cephcsi:v3.7.2" - # ROOK_CSI_REGISTRAR_IMAGE: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1" - # ROOK_CSI_RESIZER_IMAGE: "registry.k8s.io/sig-storage/csi-resizer:v1.6.0" - # ROOK_CSI_PROVISIONER_IMAGE: "registry.k8s.io/sig-storage/csi-provisioner:v3.3.0" - # ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v6.1.0" - # ROOK_CSI_ATTACHER_IMAGE: "registry.k8s.io/sig-storage/csi-attacher:v4.0.0" + # ROOK_CSI_REGISTRAR_IMAGE: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.7.0" + # ROOK_CSI_RESIZER_IMAGE: "registry.k8s.io/sig-storage/csi-resizer:v1.7.0" + # ROOK_CSI_PROVISIONER_IMAGE: "registry.k8s.io/sig-storage/csi-provisioner:v3.4.0" + # ROOK_CSI_SNAPSHOTTER_IMAGE: "registry.k8s.io/sig-storage/csi-snapshotter:v6.2.1" + # ROOK_CSI_ATTACHER_IMAGE: "registry.k8s.io/sig-storage/csi-attacher:v4.1.0" # To indicate the image pull policy to be applied to all the containers in the csi driver pods. # ROOK_CSI_IMAGE_PULL_POLICY: "IfNotPresent" @@ -126,6 +129,9 @@ data: # CSI RBD plugin daemonset update strategy, supported values are OnDelete and RollingUpdate. # Default value is RollingUpdate. # CSI_RBD_PLUGIN_UPDATE_STRATEGY: "OnDelete" + # A maxUnavailable parameter of CSI RBD plugin daemonset update strategy. + # Default value is 1. + # CSI_RBD_PLUGIN_UPDATE_STRATEGY_MAX_UNAVAILABLE: "1" # CSI NFS plugin daemonset update strategy, supported values are OnDelete and RollingUpdate. # Default value is RollingUpdate. @@ -483,6 +489,8 @@ data: # The CSI GRPC timeout value (in seconds). It should be >= 120. If this variable is not set or is an invalid value, it's default to 150. CSI_GRPC_TIMEOUT_SECONDS: "150" + ROOK_DISABLE_ADMISSION_CONTROLLER: "true" + # Enable topology based provisioning. CSI_ENABLE_TOPOLOGY: "false" # Domain labels define which node labels to use as domains diff --git a/katalog/rook-operator/rook-ceph-operator-deployment.yaml b/katalog/rook-operator/rook-ceph-operator-deployment.yaml index 138ff14..c149b98 100644 --- a/katalog/rook-operator/rook-ceph-operator-deployment.yaml +++ b/katalog/rook-operator/rook-ceph-operator-deployment.yaml @@ -26,7 +26,7 @@ spec: serviceAccountName: rook-ceph-system containers: - name: rook-ceph-operator - image: rook/ceph:v1.10.5 + image: rook/ceph:v1.10.13 args: ["ceph", "operator"] securityContext: runAsNonRoot: true @@ -96,6 +96,16 @@ spec: - name: DISCOVER_DAEMON_UDEV_BLACKLIST value: "(?i)dm-[0-9]+,(?i)rbd[0-9]+,(?i)nbd[0-9]+" + # - name: DISCOVER_DAEMON_RESOURCES + # value: | + # resources: + # limits: + # cpu: 500m + # memory: 512Mi + # requests: + # cpu: 100m + # memory: 128Mi + # Time to wait until the node controller will move Rook pods to other # nodes after detecting an unreachable node. # Pods affected by this setting are: @@ -110,9 +120,6 @@ spec: - name: ROOK_UNREACHABLE_NODE_TOLERATION_SECONDS value: "5" - - name: ROOK_DISABLE_ADMISSION_CONTROLLER - value: "false" - # The name of the node to pass with the downward API - name: NODE_NAME valueFrom: diff --git a/katalog/rook-operator/rook-ceph-tools-deploy.yml b/katalog/rook-operator/rook-ceph-tools-deploy.yml index bb15633..ddad50e 100644 --- a/katalog/rook-operator/rook-ceph-tools-deploy.yml +++ b/katalog/rook-operator/rook-ceph-tools-deploy.yml @@ -68,10 +68,16 @@ spec: done } + # read the secret from an env var (for backward compatibility), or from the secret file + ceph_secret=${ROOK_CEPH_SECRET} + if [[ "$ceph_secret" == "" ]]; then + ceph_secret=$(cat /var/lib/rook-ceph-mon/secret.keyring) + fi + # create the keyring file cat < ${KEYRING_FILE} [${ROOK_CEPH_USERNAME}] - key = ${ROOK_CEPH_SECRET} + key = ${ceph_secret} EOF # write the initial config file @@ -91,17 +97,22 @@ spec: secretKeyRef: name: rook-ceph-mon key: ceph-username - - name: ROOK_CEPH_SECRET - valueFrom: - secretKeyRef: - name: rook-ceph-mon - key: ceph-secret volumeMounts: - mountPath: /etc/ceph name: ceph-config - name: mon-endpoint-volume mountPath: /etc/rook + - name: ceph-admin-secret + mountPath: /var/lib/rook-ceph-mon + readOnly: true volumes: + - name: ceph-admin-secret + secret: + secretName: rook-ceph-mon + optional: false + items: + - key: ceph-secret + path: secret.keyring - name: mon-endpoint-volume configMap: name: rook-ceph-mon-endpoints From 46cec7dc2b857e05f1157b0a592a731345800070 Mon Sep 17 00:00:00 2001 From: Simone Bruzzese Date: Tue, 28 May 2024 10:47:14 +0200 Subject: [PATCH 2/9] feat: add license --- katalog/rook-hostcluster/ceph-blockpool.yml | 4 ++++ katalog/rook-hostcluster/ceph-cluster.yml | 4 ++++ katalog/rook-hostcluster/ceph-filesystem.yml | 4 ++++ katalog/rook-hostcluster/kustomization.yaml | 4 ++++ .../rook-hostcluster/monitoring/dashboards/kustomization.yml | 4 ++++ katalog/rook-hostcluster/monitoring/kustomization.yml | 4 ++++ katalog/rook-hostcluster/monitoring/localrules.yaml | 4 ++++ .../rook-hostcluster/monitoring/patches/localrules-labels.yml | 4 ++++ katalog/rook-hostcluster/monitoring/rbac.yaml | 4 ++++ katalog/rook-hostcluster/sc-cephfs.yml | 4 ++++ katalog/rook-hostcluster/sc-rbd.yml | 4 ++++ katalog/rook-operator/cephfs-csi-nodeplugin-cr.yaml | 4 ++++ katalog/rook-operator/cephfs-csi-nodeplugin-crb.yaml | 4 ++++ katalog/rook-operator/cephfs-csi-provisioner-role-cfg-rb.yaml | 4 ++++ katalog/rook-operator/cephfs-csi-provisioner-role-crb.yaml | 4 ++++ .../rook-operator/cephfs-external-provisioner-cfg-role.yaml | 4 ++++ .../rook-operator/cephfs-external-provisioner-runner-cr.yaml | 4 ++++ katalog/rook-operator/crds.yaml | 4 ++++ katalog/rook-operator/kustomization.yaml | 4 ++++ .../patches/rook-ceph-operator-config-csi-images.yml | 4 ++++ .../patches/rook-ceph-operator-config-csi-tolerations.yml | 4 ++++ katalog/rook-operator/rbd-csi-nodeplugin-cr.yaml | 4 ++++ katalog/rook-operator/rbd-csi-nodeplugin-crb.yaml | 4 ++++ katalog/rook-operator/rbd-csi-nodeplugin-role-cfg-rb.yaml | 4 ++++ katalog/rook-operator/rbd-csi-nodeplugin-role.yaml | 4 ++++ katalog/rook-operator/rbd-csi-provisioner-role-cfg-rb.yaml | 4 ++++ katalog/rook-operator/rbd-csi-provisioner-role-crb.yaml | 4 ++++ katalog/rook-operator/rbd-external-provisioner-cfg-role.yaml | 4 ++++ katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-cluster-mgmt-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-cluster-mgmt-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-cmd-reporter-psp-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-cmd-reporter-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-cmd-reporter-role.yaml | 4 ++++ katalog/rook-operator/rook-ceph-cmd-reporter-sa.yaml | 4 ++++ katalog/rook-operator/rook-ceph-default-psp-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-global-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-global-crb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-cluster-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-cluster-crb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-psp-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-role.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-sa.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-system-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-mgr-system-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-namespace.yaml | 4 ++++ katalog/rook-operator/rook-ceph-object-bucket-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-object-bucket-crb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-operator-config-cm.yaml | 4 ++++ katalog/rook-operator/rook-ceph-operator-deployment.yaml | 4 ++++ katalog/rook-operator/rook-ceph-osd-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-osd-crb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-osd-psp-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-osd-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-osd-role.yaml | 4 ++++ katalog/rook-operator/rook-ceph-osd-sa.yaml | 4 ++++ katalog/rook-operator/rook-ceph-purge-osd-psp-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-purge-osd-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-purge-osd-role.yaml | 4 ++++ katalog/rook-operator/rook-ceph-purge-osd-sa.yaml | 4 ++++ katalog/rook-operator/rook-ceph-rgw-psp-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-rgw-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-rgw-role.yaml | 4 ++++ katalog/rook-operator/rook-ceph-rgw-sa.yaml | 4 ++++ katalog/rook-operator/rook-ceph-system-cr.yaml | 4 ++++ katalog/rook-operator/rook-ceph-system-crb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-system-psp-crb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-system-rb.yaml | 4 ++++ katalog/rook-operator/rook-ceph-system-role.yaml | 4 ++++ katalog/rook-operator/rook-ceph-system-sa.yaml | 4 ++++ katalog/rook-operator/rook-ceph-tools-deploy.yml | 4 ++++ katalog/rook-operator/rook-csi-cephfs-plugin-sa-psp-crb.yaml | 4 ++++ katalog/rook-operator/rook-csi-cephfs-plugin-sa-sa.yaml | 4 ++++ .../rook-operator/rook-csi-cephfs-provisioner-sa-psp-crb.yaml | 4 ++++ katalog/rook-operator/rook-csi-cephfs-provisioner-sa-sa.yaml | 4 ++++ katalog/rook-operator/rook-csi-rbd-plugin-sa-psp-crb.yaml | 4 ++++ katalog/rook-operator/rook-csi-rbd-plugin-sa-sa.yaml | 4 ++++ .../rook-operator/rook-csi-rbd-provisioner-sa-psp-crb.yaml | 4 ++++ katalog/rook-operator/rook-csi-rbd-provisioner-sa-sa.yaml | 4 ++++ 80 files changed, 320 insertions(+) diff --git a/katalog/rook-hostcluster/ceph-blockpool.yml b/katalog/rook-hostcluster/ceph-blockpool.yml index a469ee3..d0a9784 100644 --- a/katalog/rook-hostcluster/ceph-blockpool.yml +++ b/katalog/rook-hostcluster/ceph-blockpool.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: ceph.rook.io/v1 kind: CephBlockPool diff --git a/katalog/rook-hostcluster/ceph-cluster.yml b/katalog/rook-hostcluster/ceph-cluster.yml index 7b31404..f35899f 100644 --- a/katalog/rook-hostcluster/ceph-cluster.yml +++ b/katalog/rook-hostcluster/ceph-cluster.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: ceph.rook.io/v1 kind: CephCluster diff --git a/katalog/rook-hostcluster/ceph-filesystem.yml b/katalog/rook-hostcluster/ceph-filesystem.yml index 5cd6695..528fa02 100644 --- a/katalog/rook-hostcluster/ceph-filesystem.yml +++ b/katalog/rook-hostcluster/ceph-filesystem.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: ceph.rook.io/v1 kind: CephFilesystem metadata: diff --git a/katalog/rook-hostcluster/kustomization.yaml b/katalog/rook-hostcluster/kustomization.yaml index bda0c77..264adc6 100644 --- a/katalog/rook-hostcluster/kustomization.yaml +++ b/katalog/rook-hostcluster/kustomization.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/katalog/rook-hostcluster/monitoring/dashboards/kustomization.yml b/katalog/rook-hostcluster/monitoring/dashboards/kustomization.yml index ea6f82a..431b3c9 100644 --- a/katalog/rook-hostcluster/monitoring/dashboards/kustomization.yml +++ b/katalog/rook-hostcluster/monitoring/dashboards/kustomization.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/katalog/rook-hostcluster/monitoring/kustomization.yml b/katalog/rook-hostcluster/monitoring/kustomization.yml index a6f10a4..e69c27c 100644 --- a/katalog/rook-hostcluster/monitoring/kustomization.yml +++ b/katalog/rook-hostcluster/monitoring/kustomization.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/katalog/rook-hostcluster/monitoring/localrules.yaml b/katalog/rook-hostcluster/monitoring/localrules.yaml index 0647213..2775ef8 100644 --- a/katalog/rook-hostcluster/monitoring/localrules.yaml +++ b/katalog/rook-hostcluster/monitoring/localrules.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule diff --git a/katalog/rook-hostcluster/monitoring/patches/localrules-labels.yml b/katalog/rook-hostcluster/monitoring/patches/localrules-labels.yml index a48aac6..26fa96f 100644 --- a/katalog/rook-hostcluster/monitoring/patches/localrules-labels.yml +++ b/katalog/rook-hostcluster/monitoring/patches/localrules-labels.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule diff --git a/katalog/rook-hostcluster/monitoring/rbac.yaml b/katalog/rook-hostcluster/monitoring/rbac.yaml index cc5bf24..0cd7034 100644 --- a/katalog/rook-hostcluster/monitoring/rbac.yaml +++ b/katalog/rook-hostcluster/monitoring/rbac.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role diff --git a/katalog/rook-hostcluster/sc-cephfs.yml b/katalog/rook-hostcluster/sc-cephfs.yml index 6ab8bb5..b84b41e 100644 --- a/katalog/rook-hostcluster/sc-cephfs.yml +++ b/katalog/rook-hostcluster/sc-cephfs.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: storage.k8s.io/v1 kind: StorageClass diff --git a/katalog/rook-hostcluster/sc-rbd.yml b/katalog/rook-hostcluster/sc-rbd.yml index 948412b..1ee5884 100644 --- a/katalog/rook-hostcluster/sc-rbd.yml +++ b/katalog/rook-hostcluster/sc-rbd.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: storage.k8s.io/v1 kind: StorageClass diff --git a/katalog/rook-operator/cephfs-csi-nodeplugin-cr.yaml b/katalog/rook-operator/cephfs-csi-nodeplugin-cr.yaml index 867d804..d237d28 100644 --- a/katalog/rook-operator/cephfs-csi-nodeplugin-cr.yaml +++ b/katalog/rook-operator/cephfs-csi-nodeplugin-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # TODO: remove this, once https://github.com/rook/rook/issues/10141 # is resolved. kind: ClusterRole diff --git a/katalog/rook-operator/cephfs-csi-nodeplugin-crb.yaml b/katalog/rook-operator/cephfs-csi-nodeplugin-crb.yaml index 0441029..a499180 100644 --- a/katalog/rook-operator/cephfs-csi-nodeplugin-crb.yaml +++ b/katalog/rook-operator/cephfs-csi-nodeplugin-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/cephfs-csi-provisioner-role-cfg-rb.yaml b/katalog/rook-operator/cephfs-csi-provisioner-role-cfg-rb.yaml index f1ddc71..531d3d4 100644 --- a/katalog/rook-operator/cephfs-csi-provisioner-role-cfg-rb.yaml +++ b/katalog/rook-operator/cephfs-csi-provisioner-role-cfg-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/cephfs-csi-provisioner-role-crb.yaml b/katalog/rook-operator/cephfs-csi-provisioner-role-crb.yaml index 4636f15..72b9fd4 100644 --- a/katalog/rook-operator/cephfs-csi-provisioner-role-crb.yaml +++ b/katalog/rook-operator/cephfs-csi-provisioner-role-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/cephfs-external-provisioner-cfg-role.yaml b/katalog/rook-operator/cephfs-external-provisioner-cfg-role.yaml index bdb1042..30049ad 100644 --- a/katalog/rook-operator/cephfs-external-provisioner-cfg-role.yaml +++ b/katalog/rook-operator/cephfs-external-provisioner-cfg-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml b/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml index 95b5577..ce5a2f6 100644 --- a/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml +++ b/katalog/rook-operator/cephfs-external-provisioner-runner-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/crds.yaml b/katalog/rook-operator/crds.yaml index b571b46..240842f 100644 --- a/katalog/rook-operator/crds.yaml +++ b/katalog/rook-operator/crds.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + ############################################################################## # Create the CRDs that are necessary before creating your Rook cluster. # These resources *must* be created before the cluster.yaml or their variants. diff --git a/katalog/rook-operator/kustomization.yaml b/katalog/rook-operator/kustomization.yaml index 3b053e7..53ae829 100644 --- a/katalog/rook-operator/kustomization.yaml +++ b/katalog/rook-operator/kustomization.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml b/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml index 18176fc..c77944d 100644 --- a/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml +++ b/katalog/rook-operator/patches/rook-ceph-operator-config-csi-images.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: v1 kind: ConfigMap diff --git a/katalog/rook-operator/patches/rook-ceph-operator-config-csi-tolerations.yml b/katalog/rook-operator/patches/rook-ceph-operator-config-csi-tolerations.yml index e650421..9689e28 100644 --- a/katalog/rook-operator/patches/rook-ceph-operator-config-csi-tolerations.yml +++ b/katalog/rook-operator/patches/rook-ceph-operator-config-csi-tolerations.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + --- apiVersion: v1 kind: ConfigMap diff --git a/katalog/rook-operator/rbd-csi-nodeplugin-cr.yaml b/katalog/rook-operator/rbd-csi-nodeplugin-cr.yaml index 5e4b84d..f7f2141 100644 --- a/katalog/rook-operator/rbd-csi-nodeplugin-cr.yaml +++ b/katalog/rook-operator/rbd-csi-nodeplugin-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rbd-csi-nodeplugin-crb.yaml b/katalog/rook-operator/rbd-csi-nodeplugin-crb.yaml index ce18914..1bcbd77 100644 --- a/katalog/rook-operator/rbd-csi-nodeplugin-crb.yaml +++ b/katalog/rook-operator/rbd-csi-nodeplugin-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rbd-csi-nodeplugin-role-cfg-rb.yaml b/katalog/rook-operator/rbd-csi-nodeplugin-role-cfg-rb.yaml index e0af07e..a8aece2 100644 --- a/katalog/rook-operator/rbd-csi-nodeplugin-role-cfg-rb.yaml +++ b/katalog/rook-operator/rbd-csi-nodeplugin-role-cfg-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rbd-csi-nodeplugin-role.yaml b/katalog/rook-operator/rbd-csi-nodeplugin-role.yaml index 045a70a..72f240f 100644 --- a/katalog/rook-operator/rbd-csi-nodeplugin-role.yaml +++ b/katalog/rook-operator/rbd-csi-nodeplugin-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rbd-csi-provisioner-role-cfg-rb.yaml b/katalog/rook-operator/rbd-csi-provisioner-role-cfg-rb.yaml index c30ff72..fe8a797 100644 --- a/katalog/rook-operator/rbd-csi-provisioner-role-cfg-rb.yaml +++ b/katalog/rook-operator/rbd-csi-provisioner-role-cfg-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rbd-csi-provisioner-role-crb.yaml b/katalog/rook-operator/rbd-csi-provisioner-role-crb.yaml index 9923e9c..99550d3 100644 --- a/katalog/rook-operator/rbd-csi-provisioner-role-crb.yaml +++ b/katalog/rook-operator/rbd-csi-provisioner-role-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rbd-external-provisioner-cfg-role.yaml b/katalog/rook-operator/rbd-external-provisioner-cfg-role.yaml index 3160685..53a3191 100644 --- a/katalog/rook-operator/rbd-external-provisioner-cfg-role.yaml +++ b/katalog/rook-operator/rbd-external-provisioner-cfg-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml b/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml index 5032443..d88e43b 100644 --- a/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml +++ b/katalog/rook-operator/rbd-external-provisioner-runner-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-cluster-mgmt-cr.yaml b/katalog/rook-operator/rook-ceph-cluster-mgmt-cr.yaml index c5f20fb..95121ab 100644 --- a/katalog/rook-operator/rook-ceph-cluster-mgmt-cr.yaml +++ b/katalog/rook-operator/rook-ceph-cluster-mgmt-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # The cluster role for managing all the cluster-specific resources in a namespace apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole diff --git a/katalog/rook-operator/rook-ceph-cluster-mgmt-rb.yaml b/katalog/rook-operator/rook-ceph-cluster-mgmt-rb.yaml index fcc977c..a9c903a 100644 --- a/katalog/rook-operator/rook-ceph-cluster-mgmt-rb.yaml +++ b/katalog/rook-operator/rook-ceph-cluster-mgmt-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the operator to create resources in this cluster's namespace kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-cmd-reporter-psp-rb.yaml b/katalog/rook-operator/rook-ceph-cmd-reporter-psp-rb.yaml index 45f572f..913a87a 100644 --- a/katalog/rook-operator/rook-ceph-cmd-reporter-psp-rb.yaml +++ b/katalog/rook-operator/rook-ceph-cmd-reporter-psp-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/katalog/rook-operator/rook-ceph-cmd-reporter-rb.yaml b/katalog/rook-operator/rook-ceph-cmd-reporter-rb.yaml index b57522d..5e4d998 100644 --- a/katalog/rook-operator/rook-ceph-cmd-reporter-rb.yaml +++ b/katalog/rook-operator/rook-ceph-cmd-reporter-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-cmd-reporter-role.yaml b/katalog/rook-operator/rook-ceph-cmd-reporter-role.yaml index 336ce1c..ddf155e 100644 --- a/katalog/rook-operator/rook-ceph-cmd-reporter-role.yaml +++ b/katalog/rook-operator/rook-ceph-cmd-reporter-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-cmd-reporter-sa.yaml b/katalog/rook-operator/rook-ceph-cmd-reporter-sa.yaml index ec6760f..b36d3da 100644 --- a/katalog/rook-operator/rook-ceph-cmd-reporter-sa.yaml +++ b/katalog/rook-operator/rook-ceph-cmd-reporter-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for the job that reports the Ceph version in an image apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-ceph-default-psp-rb.yaml b/katalog/rook-operator/rook-ceph-default-psp-rb.yaml index 6647cd2..57f7efc 100644 --- a/katalog/rook-operator/rook-ceph-default-psp-rb.yaml +++ b/katalog/rook-operator/rook-ceph-default-psp-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/katalog/rook-operator/rook-ceph-global-cr.yaml b/katalog/rook-operator/rook-ceph-global-cr.yaml index e6af169..a8c99f7 100644 --- a/katalog/rook-operator/rook-ceph-global-cr.yaml +++ b/katalog/rook-operator/rook-ceph-global-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # The cluster role for managing the Rook CRDs apiVersion: rbac.authorization.k8s.io/v1 # Rook watches for its CRDs in all namespaces, so this should be a cluster-scoped role unless the diff --git a/katalog/rook-operator/rook-ceph-global-crb.yaml b/katalog/rook-operator/rook-ceph-global-crb.yaml index f9e3d86..901f6a5 100644 --- a/katalog/rook-operator/rook-ceph-global-crb.yaml +++ b/katalog/rook-operator/rook-ceph-global-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Grant the rook system daemons cluster-wide access to manage the Rook CRDs, PVCs, and storage classes kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-mgr-cluster-cr.yaml b/katalog/rook-operator/rook-ceph-mgr-cluster-cr.yaml index 988af97..393eda3 100644 --- a/katalog/rook-operator/rook-ceph-mgr-cluster-cr.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-cluster-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Aspects of ceph-mgr that require cluster-wide access kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-mgr-cluster-crb.yaml b/katalog/rook-operator/rook-ceph-mgr-cluster-crb.yaml index dce2cb9..b75e25b 100644 --- a/katalog/rook-operator/rook-ceph-mgr-cluster-crb.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-cluster-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the ceph mgr to access cluster-wide resources necessary for the mgr modules kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-mgr-psp-rb.yaml b/katalog/rook-operator/rook-ceph-mgr-psp-rb.yaml index 05f0e6a..70ea0cf 100644 --- a/katalog/rook-operator/rook-ceph-mgr-psp-rb.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-psp-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/katalog/rook-operator/rook-ceph-mgr-rb.yaml b/katalog/rook-operator/rook-ceph-mgr-rb.yaml index fe25f38..ff838c3 100644 --- a/katalog/rook-operator/rook-ceph-mgr-rb.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the ceph mgr to access resources scoped to the CephCluster namespace necessary for mgr modules kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-mgr-role.yaml b/katalog/rook-operator/rook-ceph-mgr-role.yaml index c8ab905..2125de1 100644 --- a/katalog/rook-operator/rook-ceph-mgr-role.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Aspects of ceph-mgr that operate within the cluster's namespace kind: Role apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-mgr-sa.yaml b/katalog/rook-operator/rook-ceph-mgr-sa.yaml index b934df2..536d3f7 100644 --- a/katalog/rook-operator/rook-ceph-mgr-sa.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for Ceph mgrs apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-ceph-mgr-system-cr.yaml b/katalog/rook-operator/rook-ceph-mgr-system-cr.yaml index 37ccf1d..6d49e02 100644 --- a/katalog/rook-operator/rook-ceph-mgr-system-cr.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-system-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Aspects of ceph-mgr that require access to the system namespace kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-mgr-system-rb.yaml b/katalog/rook-operator/rook-ceph-mgr-system-rb.yaml index 0fb3222..69cc390 100644 --- a/katalog/rook-operator/rook-ceph-mgr-system-rb.yaml +++ b/katalog/rook-operator/rook-ceph-mgr-system-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the ceph mgr to access resources in the Rook operator namespace necessary for mgr modules kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-namespace.yaml b/katalog/rook-operator/rook-ceph-namespace.yaml index 80ac4ce..a46c58c 100644 --- a/katalog/rook-operator/rook-ceph-namespace.yaml +++ b/katalog/rook-operator/rook-ceph-namespace.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + #################################################################################################### # Create the common resources that are necessary to start the operator and the ceph cluster. # These resources *must* be created before the operator.yaml and cluster.yaml or their variants. diff --git a/katalog/rook-operator/rook-ceph-object-bucket-cr.yaml b/katalog/rook-operator/rook-ceph-object-bucket-cr.yaml index 0323bbf..13389cc 100644 --- a/katalog/rook-operator/rook-ceph-object-bucket-cr.yaml +++ b/katalog/rook-operator/rook-ceph-object-bucket-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Used for provisioning ObjectBuckets (OBs) in response to ObjectBucketClaims (OBCs). # Note: Rook runs a copy of the lib-bucket-provisioner's OBC controller. # OBCs can be created in any Kubernetes namespace, so this must be a cluster-scoped role. diff --git a/katalog/rook-operator/rook-ceph-object-bucket-crb.yaml b/katalog/rook-operator/rook-ceph-object-bucket-crb.yaml index 82a06e1..31820c4 100644 --- a/katalog/rook-operator/rook-ceph-object-bucket-crb.yaml +++ b/katalog/rook-operator/rook-ceph-object-bucket-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRoleBinding # Give Rook-Ceph Operator permissions to provision ObjectBuckets in response to ObjectBucketClaims. apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-operator-config-cm.yaml b/katalog/rook-operator/rook-ceph-operator-config-cm.yaml index d4ebbc8..bd9671f 100644 --- a/katalog/rook-operator/rook-ceph-operator-config-cm.yaml +++ b/katalog/rook-operator/rook-ceph-operator-config-cm.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + ################################################################################################################# # The deployment for the rook operator # Contains the common settings for most Kubernetes deployments. diff --git a/katalog/rook-operator/rook-ceph-operator-deployment.yaml b/katalog/rook-operator/rook-ceph-operator-deployment.yaml index c149b98..b776fde 100644 --- a/katalog/rook-operator/rook-ceph-operator-deployment.yaml +++ b/katalog/rook-operator/rook-ceph-operator-deployment.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # OLM: BEGIN OPERATOR DEPLOYMENT apiVersion: apps/v1 kind: Deployment diff --git a/katalog/rook-operator/rook-ceph-osd-cr.yaml b/katalog/rook-operator/rook-ceph-osd-cr.yaml index 3741d9e..fa08549 100644 --- a/katalog/rook-operator/rook-ceph-osd-cr.yaml +++ b/katalog/rook-operator/rook-ceph-osd-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-osd-crb.yaml b/katalog/rook-operator/rook-ceph-osd-crb.yaml index 8221cdf..2ae0915 100644 --- a/katalog/rook-operator/rook-ceph-osd-crb.yaml +++ b/katalog/rook-operator/rook-ceph-osd-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the ceph osd to access cluster-wide resources necessary for determining their topology location kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-osd-psp-rb.yaml b/katalog/rook-operator/rook-ceph-osd-psp-rb.yaml index aeda009..178f795 100644 --- a/katalog/rook-operator/rook-ceph-osd-psp-rb.yaml +++ b/katalog/rook-operator/rook-ceph-osd-psp-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/katalog/rook-operator/rook-ceph-osd-rb.yaml b/katalog/rook-operator/rook-ceph-osd-rb.yaml index 0ab826d..6aad9c9 100644 --- a/katalog/rook-operator/rook-ceph-osd-rb.yaml +++ b/katalog/rook-operator/rook-ceph-osd-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the osd pods in this namespace to work with configmaps kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-osd-role.yaml b/katalog/rook-operator/rook-ceph-osd-role.yaml index caaa9be..c0358c2 100644 --- a/katalog/rook-operator/rook-ceph-osd-role.yaml +++ b/katalog/rook-operator/rook-ceph-osd-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-osd-sa.yaml b/katalog/rook-operator/rook-ceph-osd-sa.yaml index 3965021..c0f1b37 100644 --- a/katalog/rook-operator/rook-ceph-osd-sa.yaml +++ b/katalog/rook-operator/rook-ceph-osd-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for Ceph OSDs apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-ceph-purge-osd-psp-rb.yaml b/katalog/rook-operator/rook-ceph-purge-osd-psp-rb.yaml index 99a34fc..bd8415d 100644 --- a/katalog/rook-operator/rook-ceph-purge-osd-psp-rb.yaml +++ b/katalog/rook-operator/rook-ceph-purge-osd-psp-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/katalog/rook-operator/rook-ceph-purge-osd-rb.yaml b/katalog/rook-operator/rook-ceph-purge-osd-rb.yaml index f23f6ed..64af11c 100644 --- a/katalog/rook-operator/rook-ceph-purge-osd-rb.yaml +++ b/katalog/rook-operator/rook-ceph-purge-osd-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the osd purge job to run in this namespace kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-purge-osd-role.yaml b/katalog/rook-operator/rook-ceph-purge-osd-role.yaml index 56c5cef..8cdbe19 100644 --- a/katalog/rook-operator/rook-ceph-purge-osd-role.yaml +++ b/katalog/rook-operator/rook-ceph-purge-osd-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Aspects of ceph osd purge job that require access to the cluster namespace kind: Role apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-purge-osd-sa.yaml b/katalog/rook-operator/rook-ceph-purge-osd-sa.yaml index f25939b..af53688 100644 --- a/katalog/rook-operator/rook-ceph-purge-osd-sa.yaml +++ b/katalog/rook-operator/rook-ceph-purge-osd-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for job that purges OSDs from a Rook-Ceph cluster apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-ceph-rgw-psp-rb.yaml b/katalog/rook-operator/rook-ceph-rgw-psp-rb.yaml index 159a830..4b4ce9b 100644 --- a/katalog/rook-operator/rook-ceph-rgw-psp-rb.yaml +++ b/katalog/rook-operator/rook-ceph-rgw-psp-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: diff --git a/katalog/rook-operator/rook-ceph-rgw-rb.yaml b/katalog/rook-operator/rook-ceph-rgw-rb.yaml index d235b24..fe3f415 100644 --- a/katalog/rook-operator/rook-ceph-rgw-rb.yaml +++ b/katalog/rook-operator/rook-ceph-rgw-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the rgw pods in this namespace to work with configmaps kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-rgw-role.yaml b/katalog/rook-operator/rook-ceph-rgw-role.yaml index e59a2a5..7c4c8a8 100644 --- a/katalog/rook-operator/rook-ceph-rgw-role.yaml +++ b/katalog/rook-operator/rook-ceph-rgw-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-rgw-sa.yaml b/katalog/rook-operator/rook-ceph-rgw-sa.yaml index be440b5..72b9039 100644 --- a/katalog/rook-operator/rook-ceph-rgw-sa.yaml +++ b/katalog/rook-operator/rook-ceph-rgw-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for RGW server apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-ceph-system-cr.yaml b/katalog/rook-operator/rook-ceph-system-cr.yaml index d35deca..30d2b8e 100644 --- a/katalog/rook-operator/rook-ceph-system-cr.yaml +++ b/katalog/rook-operator/rook-ceph-system-cr.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-system-crb.yaml b/katalog/rook-operator/rook-ceph-system-crb.yaml index c866f9a..1d08ecc 100644 --- a/katalog/rook-operator/rook-ceph-system-crb.yaml +++ b/katalog/rook-operator/rook-ceph-system-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: diff --git a/katalog/rook-operator/rook-ceph-system-psp-crb.yaml b/katalog/rook-operator/rook-ceph-system-psp-crb.yaml index e7bd309..f9a205b 100644 --- a/katalog/rook-operator/rook-ceph-system-psp-crb.yaml +++ b/katalog/rook-operator/rook-ceph-system-psp-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/katalog/rook-operator/rook-ceph-system-rb.yaml b/katalog/rook-operator/rook-ceph-system-rb.yaml index 58bbb15..85f82f9 100644 --- a/katalog/rook-operator/rook-ceph-system-rb.yaml +++ b/katalog/rook-operator/rook-ceph-system-rb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Grant the operator, agent, and discovery agents access to resources in the rook-ceph-system namespace kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 diff --git a/katalog/rook-operator/rook-ceph-system-role.yaml b/katalog/rook-operator/rook-ceph-system-role.yaml index c8bef35..7c64ad0 100644 --- a/katalog/rook-operator/rook-ceph-system-role.yaml +++ b/katalog/rook-operator/rook-ceph-system-role.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Allow the operator to manage resources in its own namespace apiVersion: rbac.authorization.k8s.io/v1 kind: Role diff --git a/katalog/rook-operator/rook-ceph-system-sa.yaml b/katalog/rook-operator/rook-ceph-system-sa.yaml index 9e93058..be294ab 100644 --- a/katalog/rook-operator/rook-ceph-system-sa.yaml +++ b/katalog/rook-operator/rook-ceph-system-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for the Rook-Ceph operator apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-ceph-tools-deploy.yml b/katalog/rook-operator/rook-ceph-tools-deploy.yml index ddad50e..25cef80 100644 --- a/katalog/rook-operator/rook-ceph-tools-deploy.yml +++ b/katalog/rook-operator/rook-ceph-tools-deploy.yml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/katalog/rook-operator/rook-csi-cephfs-plugin-sa-psp-crb.yaml b/katalog/rook-operator/rook-csi-cephfs-plugin-sa-psp-crb.yaml index 95b1a22..8f2cd86 100644 --- a/katalog/rook-operator/rook-csi-cephfs-plugin-sa-psp-crb.yaml +++ b/katalog/rook-operator/rook-csi-cephfs-plugin-sa-psp-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/katalog/rook-operator/rook-csi-cephfs-plugin-sa-sa.yaml b/katalog/rook-operator/rook-csi-cephfs-plugin-sa-sa.yaml index 2e5f79d..7e1cf82 100644 --- a/katalog/rook-operator/rook-csi-cephfs-plugin-sa-sa.yaml +++ b/katalog/rook-operator/rook-csi-cephfs-plugin-sa-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for the CephFS CSI driver apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-psp-crb.yaml b/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-psp-crb.yaml index 9acfb86..2331bea 100644 --- a/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-psp-crb.yaml +++ b/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-psp-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-sa.yaml b/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-sa.yaml index 5fb0bff..1609e6d 100644 --- a/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-sa.yaml +++ b/katalog/rook-operator/rook-csi-cephfs-provisioner-sa-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for the CephFS CSI provisioner apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-csi-rbd-plugin-sa-psp-crb.yaml b/katalog/rook-operator/rook-csi-rbd-plugin-sa-psp-crb.yaml index b1cdcb5..7696095 100644 --- a/katalog/rook-operator/rook-csi-rbd-plugin-sa-psp-crb.yaml +++ b/katalog/rook-operator/rook-csi-rbd-plugin-sa-psp-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/katalog/rook-operator/rook-csi-rbd-plugin-sa-sa.yaml b/katalog/rook-operator/rook-csi-rbd-plugin-sa-sa.yaml index 9e9aa10..d92040c 100644 --- a/katalog/rook-operator/rook-csi-rbd-plugin-sa-sa.yaml +++ b/katalog/rook-operator/rook-csi-rbd-plugin-sa-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for the RBD CSI driver apiVersion: v1 kind: ServiceAccount diff --git a/katalog/rook-operator/rook-csi-rbd-provisioner-sa-psp-crb.yaml b/katalog/rook-operator/rook-csi-rbd-provisioner-sa-psp-crb.yaml index 1b5cacf..6d67e49 100644 --- a/katalog/rook-operator/rook-csi-rbd-provisioner-sa-psp-crb.yaml +++ b/katalog/rook-operator/rook-csi-rbd-provisioner-sa-psp-crb.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: diff --git a/katalog/rook-operator/rook-csi-rbd-provisioner-sa-sa.yaml b/katalog/rook-operator/rook-csi-rbd-provisioner-sa-sa.yaml index 67b5a76..93120ed 100644 --- a/katalog/rook-operator/rook-csi-rbd-provisioner-sa-sa.yaml +++ b/katalog/rook-operator/rook-csi-rbd-provisioner-sa-sa.yaml @@ -1,3 +1,7 @@ +# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + # Service account for the RBD CSI provisioner apiVersion: v1 kind: ServiceAccount From 42181c9d17ed973c1127b759aef3f0a2261ede1d Mon Sep 17 00:00:00 2001 From: Simone Bruzzese Date: Tue, 28 May 2024 10:47:25 +0200 Subject: [PATCH 3/9] feat(ci): add ci --- .drone.yml | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5a45afa --- /dev/null +++ b/.drone.yml @@ -0,0 +1,148 @@ +# Copyright (c) 2021 SIGHUP s.r.l All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +kind: pipeline +name: license + +steps: + - name: check + image: docker.io/library/golang:1.20 + pull: always + commands: + - go install github.com/google/addlicense@v1.1.1 + - addlicense -c "SIGHUP s.r.l" -v -l bsd -y "2017-present" --check . + +--- +kind: pipeline +name: policeman + +platform: + os: linux + arch: amd64 + +depends_on: + - license + +steps: + - name: lint + image: quay.io/sighup/policeman + pull: always + environment: + # Identifies false positives like missing 'selector'. On Kustomize is common to don't set them + VALIDATE_KUBERNETES_KUBEVAL: "false" + # We use a lot of copy paste in our code, is intended. So it important to don't use this linter + VALIDATE_JSCPD: "false" + VALIDATE_TERRAFORM_TFLINT: "false" + # hadolint already validated dockerfiles + VALIDATE_DOCKERFILE: "false" + VALIDATE_NATURAL_LANGUAGE: "false" + depends_on: + - clone + + - name: render + image: quay.io/sighup/e2e-testing:1.1.0_0.7.0_3.1.1_1.9.4_1.21.12_3.8.7_4.21.1 + pull: always + depends_on: + - clone + commands: + - kustomize build katalog/rook-hostcluster > rook-hostcluster.yml + - kustomize build katalog/rook-operator > rook-operator.yml + + - &check-deprecated-apis + name: check-deprecated-apis-rook-hostcluster + image: us-docker.pkg.dev/fairwinds-ops/oss/pluto:v5 + pull: always + depends_on: + - render + commands: + # we use --ignore-deprecations because we don't want the CI to fail when the API has not been removed yet. + - /pluto detect $${KUBERNETES_MANIFESTS} --ignore-deprecations --target-versions=k8s=v1.24.0 + environment: + KUBERNETES_MANIFESTS: rook-hostcluster.yml + + - <<: *check-deprecated-apis + name: check-deprecated-apis-rook-operator + environment: + KUBERNETES_MANIFESTS: rook-operator.yml + +--- +kind: pipeline +name: release + +depends_on: + - policeman + +platform: + os: linux + arch: amd64 + +trigger: + ref: + include: + - refs/tags/** + +steps: + - name: prepare-tar-gz + image: alpine:latest + pull: always + depends_on: [ clone ] + commands: + - tar -zcvf fury-kubernetes-storage-${DRONE_TAG}.tar.gz katalog/ LICENSE README.md + + - name: prepare-release-notes + image: quay.io/sighup/fury-release-notes-plugin:3.7_2.8.4 + pull: always + depends_on: [ clone ] + settings: + release_notes_file_path: release-notes.md + + - name: publish-prerelease + image: plugins/github-release + pull: always + depends_on: + - prepare-tar-gz + - prepare-release-notes + settings: + api_key: + from_secret: github_token + file_exists: overwrite + files: + - fury-kubernetes-storage-${DRONE_TAG}.tar.gz + prerelease: true + overwrite: true + title: "Preview ${DRONE_TAG}" + note: release-notes.md + checksum: + - md5 + - sha256 + when: + ref: + include: + - refs/tags/v**-rc** + + - name: publish-stable + image: plugins/github-release + pull: always + depends_on: + - prepare-tar-gz + - prepare-release-notes + settings: + api_key: + from_secret: github_token + file_exists: overwrite + files: + - fury-kubernetes-storage-${DRONE_TAG}.tar.gz + prerelease: false + overwrite: true + title: "Release ${DRONE_TAG}" + note: release-notes.md + checksum: + - md5 + - sha256 + when: + ref: + exclude: + - refs/tags/v**-rc** + include: + - refs/tags/v** \ No newline at end of file From b0a8c644241f5a32fabbd7e8a1eefb86d90ceb5b Mon Sep 17 00:00:00 2001 From: Simone Bruzzese Date: Tue, 28 May 2024 11:46:14 +0200 Subject: [PATCH 4/9] feat(docs): prepare release v0.1.1 --- README.md | 6 +++--- docs/COMPATIBILITY_MATRIX.md | 10 ++++++---- docs/releases/v0.1.1.md | 17 +++++++++++++++++ 3 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 docs/releases/v0.1.1.md diff --git a/README.md b/README.md index 3c74b2e..0ba4061 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Kubernetes Fury Storage -![Release](https://img.shields.io/badge/Latest%20Release-v0.1.0-blue) +![Release](https://img.shields.io/badge/Latest%20Release-v0.1.1-blue) ![License](https://img.shields.io/github/license/sighupio/fury-kubernetes-logging?label=License) ![Slack](https://img.shields.io/badge/slack-@kubernetes/fury-yellow.svg?logo=slack&label=Slack) @@ -64,9 +64,9 @@ bases: - name: monitoring/promtheus-operator version: "v2.0.1" - name: storage/rook-operator - version: "v0.1.0" + version: "v0.1.1" - name: storage/rook-hostcluster - version: "v0.1.0" + version: "v0.1.1" ``` > See `furyctl` [documentation][furyctl-repo] for additional details about `Furyfile.yml` format. diff --git a/docs/COMPATIBILITY_MATRIX.md b/docs/COMPATIBILITY_MATRIX.md index 320df53..8257b0c 100644 --- a/docs/COMPATIBILITY_MATRIX.md +++ b/docs/COMPATIBILITY_MATRIX.md @@ -2,14 +2,16 @@ ## Tested Kubernetes versions -| Module Version / Kubernetes Version | 1.22.X | 1.23.X | 1.24.X | -|-------------------------------------|:------------------:|--------------------|--------------------| -| v0.1.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Module Version / Kubernetes Version | 1.22.X | 1.23.X | 1.24.X | 1.25.X | +|-------------------------------------|:------------------:|--------------------|--------------------|--------------------| +| v0.1.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | +| v0.1.1 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | ## Rook Operator compatibility against Ceph cluster versions -| Module Version / Ceph Cluster Version | >= 16.2.0 | >= 17.2.0 | +| Module Version / Ceph Cluster Version | >= 16.2.0 | >= 17.2.0 | |----------------------------------------|--------------------|--------------------| | v0.1.0 | :white_check_mark: | :white_check_mark: | +| v0.1.1 | :white_check_mark: | :white_check_mark: | For more information, visit: [Rook Compatibility Matrix](https://rook.io/docs/rook/v1.10/Upgrade/ceph-upgrade/#supported-versions) diff --git a/docs/releases/v0.1.1.md b/docs/releases/v0.1.1.md new file mode 100644 index 0000000..f00dc68 --- /dev/null +++ b/docs/releases/v0.1.1.md @@ -0,0 +1,17 @@ +# Storage Add-On Module Release 0.1.1 + +Welcome to the latest release of the `storage` add-on module for the [`Kubernetes Fury Distribution`](https://github.com/sighupio/fury-distribution), maintained by team SIGHUP. + +This release includes a new version of Rook Operator. + +## Component Images 🚢 + +| Component | Supported Version | Previous Version | +| --------------------- | ---------------------------------------------------------------- | ---------------- | +| `rook-operator` | [`v1.10.13`](https://github.com/rook/rook/releases/tag/v1.10.13) | `v1.10.5` | + +> Please refer the individual release notes to get a detailed info on the releases. + +## Deploy 🚀 + +To deploy this module, please refer to the [deployment section]../../README.md#deployment) of the main README. From a243916d5ab205959ab9bc8e99d43e0a3350af3b Mon Sep 17 00:00:00 2001 From: Simone Bruzzese Date: Tue, 28 May 2024 11:47:21 +0200 Subject: [PATCH 5/9] feat(docs): update Readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ba4061..ef934b3 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ The following packages are included in the Fury Kubernetes Storage katalog: | Package | Version | Description | |----------------------------------------------|-----------|-------------------------------------------------------------------------------------------------| -| [rook-operator](katalog/rook-operator) | `v1.10.5` | Rook provides a way to run a highly available, durable Ceph storage in your Kubernetes cluster. | +| [rook-operator](katalog/rook-operator) | `v1.10.13`| Rook provides a way to run a highly available, durable Ceph storage in your Kubernetes cluster. | | [rook-hostcluster](katalog/rook-hostcluster) | `NA` | Rook CRDs to run a production ready Ceph cluster providing Block and File storage. | | Click on each package to see its full documentation. @@ -37,6 +37,7 @@ Click on each package to see its full documentation. | `1.22.x` | :white_check_mark: | No known issues | | `1.23.x` | :white_check_mark: | No known issues | | `1.24.x` | :white_check_mark: | No known issues | +| `1.25.x` | :white_check_mark: | No known issues | Check the [compatibility matrix][compatibility-matrix] for additional information about previous releases of the modules. From 4b5ae14607334934a470b7620d7c02e72c6bcf3b Mon Sep 17 00:00:00 2001 From: Simone Bruzzese Date: Tue, 28 May 2024 11:47:33 +0200 Subject: [PATCH 6/9] feat(ci): update k8s version --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5a45afa..a74779b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,7 +57,7 @@ steps: - render commands: # we use --ignore-deprecations because we don't want the CI to fail when the API has not been removed yet. - - /pluto detect $${KUBERNETES_MANIFESTS} --ignore-deprecations --target-versions=k8s=v1.24.0 + - /pluto detect $${KUBERNETES_MANIFESTS} --ignore-deprecations --target-versions=k8s=v1.25.0 environment: KUBERNETES_MANIFESTS: rook-hostcluster.yml From 5e86aff44b6e0bf800380b9769c42ca8f27c1bfe Mon Sep 17 00:00:00 2001 From: Simone Bruzzese <79833334+sbruzzese902@users.noreply.github.com> Date: Tue, 11 Jun 2024 12:50:17 +0200 Subject: [PATCH 7/9] Update .drone.yml Co-authored-by: Ramiro Algozino --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a74779b..2833f38 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2021 SIGHUP s.r.l All rights reserved. +# Copyright (c) 2024-present SIGHUP s.r.l All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. From 1ece32b36f98aa42c756983cd9eb405236f4792d Mon Sep 17 00:00:00 2001 From: Simone Bruzzese <79833334+sbruzzese902@users.noreply.github.com> Date: Tue, 11 Jun 2024 12:50:32 +0200 Subject: [PATCH 8/9] Update docs/releases/v0.1.1.md Co-authored-by: Ramiro Algozino --- docs/releases/v0.1.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/releases/v0.1.1.md b/docs/releases/v0.1.1.md index f00dc68..a5382e7 100644 --- a/docs/releases/v0.1.1.md +++ b/docs/releases/v0.1.1.md @@ -14,4 +14,4 @@ This release includes a new version of Rook Operator. ## Deploy 🚀 -To deploy this module, please refer to the [deployment section]../../README.md#deployment) of the main README. +To deploy this module, please refer to the [deployment section](../../README.md#deployment) of the main README. From 2536ffe6868d51699450b80030a9f71af6810049 Mon Sep 17 00:00:00 2001 From: Simone Bruzzese Date: Tue, 11 Jun 2024 12:54:04 +0200 Subject: [PATCH 9/9] feat: bump version v0.2.0 --- .drone.yml | 2 +- README.md | 6 +++--- docs/COMPATIBILITY_MATRIX.md | 4 ++-- docs/releases/{v0.1.1.md => v0.2.0.md} | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename docs/releases/{v0.1.1.md => v0.2.0.md} (95%) diff --git a/.drone.yml b/.drone.yml index 2833f38..1dc11df 100644 --- a/.drone.yml +++ b/.drone.yml @@ -145,4 +145,4 @@ steps: exclude: - refs/tags/v**-rc** include: - - refs/tags/v** \ No newline at end of file + - refs/tags/v** diff --git a/README.md b/README.md index ef934b3..4e24f7a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Kubernetes Fury Storage -![Release](https://img.shields.io/badge/Latest%20Release-v0.1.1-blue) +![Release](https://img.shields.io/badge/Latest%20Release-v0.2.0-blue) ![License](https://img.shields.io/github/license/sighupio/fury-kubernetes-logging?label=License) ![Slack](https://img.shields.io/badge/slack-@kubernetes/fury-yellow.svg?logo=slack&label=Slack) @@ -65,9 +65,9 @@ bases: - name: monitoring/promtheus-operator version: "v2.0.1" - name: storage/rook-operator - version: "v0.1.1" + version: "v0.2.0" - name: storage/rook-hostcluster - version: "v0.1.1" + version: "v0.2.0" ``` > See `furyctl` [documentation][furyctl-repo] for additional details about `Furyfile.yml` format. diff --git a/docs/COMPATIBILITY_MATRIX.md b/docs/COMPATIBILITY_MATRIX.md index 8257b0c..16cf918 100644 --- a/docs/COMPATIBILITY_MATRIX.md +++ b/docs/COMPATIBILITY_MATRIX.md @@ -5,13 +5,13 @@ | Module Version / Kubernetes Version | 1.22.X | 1.23.X | 1.24.X | 1.25.X | |-------------------------------------|:------------------:|--------------------|--------------------|--------------------| | v0.1.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | -| v0.1.1 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| v0.2.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | ## Rook Operator compatibility against Ceph cluster versions | Module Version / Ceph Cluster Version | >= 16.2.0 | >= 17.2.0 | |----------------------------------------|--------------------|--------------------| | v0.1.0 | :white_check_mark: | :white_check_mark: | -| v0.1.1 | :white_check_mark: | :white_check_mark: | +| v0.2.0 | :white_check_mark: | :white_check_mark: | For more information, visit: [Rook Compatibility Matrix](https://rook.io/docs/rook/v1.10/Upgrade/ceph-upgrade/#supported-versions) diff --git a/docs/releases/v0.1.1.md b/docs/releases/v0.2.0.md similarity index 95% rename from docs/releases/v0.1.1.md rename to docs/releases/v0.2.0.md index a5382e7..1d7749e 100644 --- a/docs/releases/v0.1.1.md +++ b/docs/releases/v0.2.0.md @@ -1,4 +1,4 @@ -# Storage Add-On Module Release 0.1.1 +# Storage Add-On Module Release 0.2.0 Welcome to the latest release of the `storage` add-on module for the [`Kubernetes Fury Distribution`](https://github.com/sighupio/fury-distribution), maintained by team SIGHUP.