From c09648f044caa858892e05f486570f932fcbe163 Mon Sep 17 00:00:00 2001 From: nitishdsharma Date: Tue, 15 Feb 2022 16:25:54 +0530 Subject: [PATCH 1/2] Adding CloudCasa v3.0.0 --- packages/cloudcasa/generated-changes/patch/Chart.yaml.patch | 2 +- packages/cloudcasa/package.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cloudcasa/generated-changes/patch/Chart.yaml.patch b/packages/cloudcasa/generated-changes/patch/Chart.yaml.patch index f53393c29..f14d2c0d0 100644 --- a/packages/cloudcasa/generated-changes/patch/Chart.yaml.patch +++ b/packages/cloudcasa/generated-changes/patch/Chart.yaml.patch @@ -9,7 +9,7 @@ keywords: - Backup - Catalogic -@@ -15,3 +15,8 @@ +@@ -16,3 +16,8 @@ maintainers: - name: catalogicsoftware email: support@cloudcasa.io diff --git a/packages/cloudcasa/package.yaml b/packages/cloudcasa/package.yaml index 61fe28ebe..f2e277373 100644 --- a/packages/cloudcasa/package.yaml +++ b/packages/cloudcasa/package.yaml @@ -1,4 +1,4 @@ url: https://github.com/catalogicsoftware/cloudcasa-helmchart.git -subdirectory: v2.2.0 -commit: ca2d21fce8d96332c2466998f0457f5b6fef8aa7 +subdirectory: v3.0.0 +commit: 2d722552882a0a829c016c05bf4b2e75f42f7167 packageVersion: 00 From e2f9d90fbc2316df88ff30bcaea5ae39ab74a35e Mon Sep 17 00:00:00 2001 From: nitishdsharma Date: Tue, 15 Feb 2022 16:32:39 +0530 Subject: [PATCH 2/2] Adding CloudCasa v3.0.0 Chart files --- assets/cloudcasa/cloudcasa-3.0.0.tgz | Bin 0 -> 2828 bytes charts/cloudcasa/cloudcasa/3.0.0/Chart.yaml | 23 ++++ charts/cloudcasa/cloudcasa/3.0.0/README.md | 58 ++++++++++ .../cloudcasa/cloudcasa/3.0.0/app-readme.md | 6 + .../cloudcasa/cloudcasa/3.0.0/questions.yaml | 13 +++ .../cloudcasa/3.0.0/templates/NOTES.txt | 5 + .../3.0.0/templates/cluster-register.yaml | 105 ++++++++++++++++++ charts/cloudcasa/cloudcasa/3.0.0/values.yaml | 4 + index.yaml | 27 +++++ 9 files changed, 241 insertions(+) create mode 100644 assets/cloudcasa/cloudcasa-3.0.0.tgz create mode 100644 charts/cloudcasa/cloudcasa/3.0.0/Chart.yaml create mode 100644 charts/cloudcasa/cloudcasa/3.0.0/README.md create mode 100644 charts/cloudcasa/cloudcasa/3.0.0/app-readme.md create mode 100644 charts/cloudcasa/cloudcasa/3.0.0/questions.yaml create mode 100644 charts/cloudcasa/cloudcasa/3.0.0/templates/NOTES.txt create mode 100644 charts/cloudcasa/cloudcasa/3.0.0/templates/cluster-register.yaml create mode 100644 charts/cloudcasa/cloudcasa/3.0.0/values.yaml diff --git a/assets/cloudcasa/cloudcasa-3.0.0.tgz b/assets/cloudcasa/cloudcasa-3.0.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..466813d43fdedd80408d3e148957c78e74d049d8 GIT binary patch literal 2828 zcmV+n3-k0JiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PH(^ZyUFh`FlUbKssEL)Vq55Q7qcx9NSHeT8UvfITS@DK7G9(Ifyd}6tQu-04qJoF89C{>8%b%m5AN0K#RU~Pu?Wb}-FeTAV zmV!dLq!GeQNcbt6qU5Mi0pYQu0i0;ML?CI(XyoMMEri*_LhDq8yUzg7J|ysR7m|l4OReh zSr??0nCV+0(QE5q*_8N~Hs$U38>5Qb-k^c`^y~C;db;9`pab{-EXmyZgib*8iVl_-42W zVBL;rid@6(f->j2HirSKV2Zi7GqJ+huJgQ0nuhSdL`Mq?e3+&=L}IWgO?0LpQ)Z<_ zCX$5kI0TcaM4I(P1as7oidccqo9Uo87MyA!?aC@(d^p{)UnI_{2?l6VHWxnBLS!s9 zd?aG&BG3hrcm)$pGzM@wbGyjFsRE@DILs*GR8$WUXgFq=t{G`y2Y44;&G9&-xPWfj`1N1cMa6bz@- z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loudcasa/cloudcasa/3.0.0/Chart.yaml new file mode 100644 index 000000000..204dcdf88 --- /dev/null +++ b/charts/cloudcasa/cloudcasa/3.0.0/Chart.yaml @@ -0,0 +1,23 @@ +annotations: + catalog.cattle.io/certified: partner + catalog.cattle.io/display-name: CloudCasa + catalog.cattle.io/namespace: cloudcasa-io + catalog.cattle.io/release-name: cloudcasa +apiVersion: v2 +appVersion: 3.0.0 +description: CloudCasa backup service for Kubernetes and cloud native applications +home: https://cloudcasa.io +icon: https://partner-charts.rancher.io/assets/logos/cloudcasa.png +keywords: +- Backup +- Catalogic +- CloudCasa +- Restore +- Copy +- Scan +kubeVersion: '>=1.17.0-0' +maintainers: +- email: support@cloudcasa.io + name: catalogicsoftware +name: cloudcasa +version: 3.0.0 diff --git a/charts/cloudcasa/cloudcasa/3.0.0/README.md b/charts/cloudcasa/cloudcasa/3.0.0/README.md new file mode 100644 index 000000000..74c9e4eba --- /dev/null +++ b/charts/cloudcasa/cloudcasa/3.0.0/README.md @@ -0,0 +1,58 @@ +# CloudCasa Kubernetes Agent + +[CloudCasa](https://cloudcasa.io) - A Smart Home in the Cloud for Kubernetes Backups + +# Introduction + +CloudCasa is a SaaS solution that provides class-leading data protection services for Kubernetes and cloud native applications. +Configuration is quick and easy, and basic service is free. + +This Helm chart installs and configures the CloudCasa agent on a Kubernetes cluster. +See the CloudCasa [Getting Started Guide](https://cloudcasa.io/get-started) for more information. + +## Prerequisites + +1. Kubernetes 1.17+ +2. Helm 3.0+ + +## Installation + +### Rancher Installation (Apps & Marketplace) + +1. Log in to https://home.cloudcasa.io and add your Kubernetes cluster under the Protection tab. Note the returned cluster ID. +2. Go to Apps & Marketplace in the Rancher UI. In the Chart section, check the Partners checkbox and click on the CloudCasa chart. +3. Provide a Name (e.g. CloudCasa) and optional description. +4. In the CloudCasa Configuration section, provide the Cluster ID obtained above. +5. Click on the Install button to complete installation of the agent. +6. Click on Upgrade version to upgrade the existing helmchart. + +**Note**: Validate the existence of four CRDS viz. volumesnapshotlocations.velero.io, volumesnapshotcontents.snapshot.storage.k8s.io, volumesnapshots.snapshot.storage.k8s.io and volumesnapshotclasses.snapshot.storage.k8s.io. If any one of the crds doesnt exist, execute the edit/upgrade operation. + +### Helm CLI Installation + +1. Log in to https://home.cloudcasa.io and add your Kubernetes cluster under the Protection tab. Note the returned cluster ID. +2. Execute the following helm commands, replacing `````` with the Cluster ID obtained above: + ``` + $ helm repo add cloudcasa-repo https://catalogicsoftware.github.io/cloudcasa-helmchart + $ helm install cloudcasa.io cloudcasa-repo/cloudcasa --set cluster_id= + ``` +This will install the CloudCasa agent and complete registration of the cluster with the CloudCasa service. + +## Updating the CloudCasa Agent +1. Log in to https://home.cloudcasa.io and obtain the cluster ID for your cluster by selecting it under the Protection tab. +2. Execute the following commands to update the agent: + ``` + $ helm repo update + $ helm upgrade cloudcasa.io cloudcasa-repo/cloudcasa --set cluster_id= + ``` + +**Note**: Validate the existence of four CRDS viz. volumesnapshotlocations.velero.io, volumesnapshotcontents.snapshot.storage.k8s.io, volumesnapshots.snapshot.storage.k8s.io and volumesnapshotclasses.snapshot.storage.k8s.io. If any one of the crds doesnt exist, again execute the upgrade command. + +## Uninstalling the CloudCasa Agent +1. Execute the following commands to uninstall CloudCasa. + ``` + $ helm uninstall cloudcasa.io + $ kubectl delete namespace/cloudcasa-io clusterrolebinding/cloudcasa-io + $ kubectl delete crds -l component=kubeagent-backup-helper + ``` +*CloudCasa is a trademark of Catalogic Software Inc.* diff --git a/charts/cloudcasa/cloudcasa/3.0.0/app-readme.md b/charts/cloudcasa/cloudcasa/3.0.0/app-readme.md new file mode 100644 index 000000000..bae0de627 --- /dev/null +++ b/charts/cloudcasa/cloudcasa/3.0.0/app-readme.md @@ -0,0 +1,6 @@ +# CloudCasa Kubernetes Agent + +### [CloudCasa](https://cloudcasa.io) - A Smart Home in the Cloud for Kubernetes Backups + +CloudCasa is a SaaS solution that provides class-leading data protection services for Kubernetes and cloud native applications. +Configuration is quick and easy, and basic service is free. See the CloudCasa [Getting Started Guide](https://cloudcasa.io/get-started) for more information. diff --git a/charts/cloudcasa/cloudcasa/3.0.0/questions.yaml b/charts/cloudcasa/cloudcasa/3.0.0/questions.yaml new file mode 100644 index 000000000..d4443f94f --- /dev/null +++ b/charts/cloudcasa/cloudcasa/3.0.0/questions.yaml @@ -0,0 +1,13 @@ +namespace: cloudcasa-io +labels: + io.rancher.certified: partner +categories: +- Application +questions: +- variable: cluster_id + default: "" + description: "CloudCasa Cluster ID" + type: string + required: true + label: CLUSTER ID + group: "CloudCasa Configuration" diff --git a/charts/cloudcasa/cloudcasa/3.0.0/templates/NOTES.txt b/charts/cloudcasa/cloudcasa/3.0.0/templates/NOTES.txt new file mode 100644 index 000000000..c6a308b44 --- /dev/null +++ b/charts/cloudcasa/cloudcasa/3.0.0/templates/NOTES.txt @@ -0,0 +1,5 @@ +-----Please be patient while the chart is being deployed----- + +Tip: Watch the App deployment status using the command: kubectl/oc get pods -n cloudcasa-io + +Monitor the Cloudcasa UI, the registered cluster should be moved to Ready State. If the cluster is still in Pending state, wrong ClusterID would have been provided. diff --git a/charts/cloudcasa/cloudcasa/3.0.0/templates/cluster-register.yaml b/charts/cloudcasa/cloudcasa/3.0.0/templates/cluster-register.yaml new file mode 100644 index 000000000..e557884c9 --- /dev/null +++ b/charts/cloudcasa/cloudcasa/3.0.0/templates/cluster-register.yaml @@ -0,0 +1,105 @@ +# Manifest created on 2021-02-15 +# ----------------------------------------------------------------------- +# Steps to delete CloudCasa from the cluster are: +# ----------------------------------------------------------------------- +# kubectl delete namespace/cloudcasa-io clusterrolebinding/cloudcasa-io +# kubectl delete crds -l component=kubeagent_backup_helper +# ----------------------------------------------------------------------- + +apiVersion: v1 +kind: List +# This list contains Cloudcasa Agent Manager and RBAC resources +# required to deploy the Cloudcasa Kube Agent +items: +{{- if not (lookup "v1" "Namespace" "cloudcasa-io" "cloudcasa-io") }} +- apiVersion: v1 + kind: Namespace + metadata: + annotations: + "helm.sh/resource-policy": keep + creationTimestamp: null + labels: + component: kubeagent-backup-helper + name: cloudcasa-io + spec: {} +{{- end }} +- apiVersion: v1 + kind: ServiceAccount + metadata: + creationTimestamp: null + labels: + component: kubeagent-backup-helper + name: cloudcasa-io + namespace: cloudcasa-io +- apiVersion: rbac.authorization.k8s.io/v1 + kind: ClusterRoleBinding + metadata: + creationTimestamp: null + labels: + component: kubeagent-backup-helper + name: cloudcasa-io + roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin + subjects: + - kind: ServiceAccount + name: cloudcasa-io + namespace: cloudcasa-io +- apiVersion: apps/v1 + kind: Deployment + metadata: + name: cloudcasa-kubeagent-manager + namespace: cloudcasa-io + labels: + component: cloudcasa-kubeagent-manager + spec: + selector: + matchLabels: + app: cloudcasa-kubeagent-manager + strategy: {} + replicas: 1 + template: + metadata: + labels: + app: cloudcasa-kubeagent-manager + spec: + containers: + - image: catalogicsoftware/amds-kagent:3.0.0-prod.133 + args: ["/usr/local/bin/kubeagentmanager", "--server_addr", "agent.cloudcasa.io:443", "--tls", "true"] + name: kubeagentmanager + resources: + requests: + memory: "64Mi" + cpu: "250m" + limits: + memory: "128Mi" + cpu: "500m" + volumeMounts: + - mountPath: /scratch + name: scratch + env: + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: AMDS_CLUSTER_ID + value: {{ .Values.cluster_id }} + - name: KUBEMOVER_IMAGE + value: catalogicsoftware/amds-kagent:3.0.0-prod.133 + - name: DEPLOYMENT_PLATFORM + {{ if (lookup "v1" "Namespace" "" "cattle-system") }} + value: "rancher" + {{ else if (lookup "v1" "Namespace" "" "nirmata") }} + value: "nirmata" + {{ else if (lookup "v1" "Namespace" "" "rafay-system") }} + value: "rafay" + {{ else }} + value: "helm" + {{ end }} + restartPolicy: Always + serviceAccountName: cloudcasa-io + volumes: + - emptyDir: {} + name: scratch +--- diff --git a/charts/cloudcasa/cloudcasa/3.0.0/values.yaml b/charts/cloudcasa/cloudcasa/3.0.0/values.yaml new file mode 100644 index 000000000..90f712b35 --- /dev/null +++ b/charts/cloudcasa/cloudcasa/3.0.0/values.yaml @@ -0,0 +1,4 @@ +## Please, note that this will override the parameters, including dependencies, configured to use the global value + +## Cloudcasa AMDS Cluster ID. To be provided by the user. +cluster_id: "" diff --git a/index.yaml b/index.yaml index 117403bf8..2cc68dc06 100755 --- a/index.yaml +++ b/index.yaml @@ -559,6 +559,33 @@ entries: - assets/citrix-k8s-cpx-ingress-controller/citrix-k8s-cpx-ingress-controller-1.8.2800.tgz version: 1.8.2800 cloudcasa: + - annotations: + catalog.cattle.io/certified: partner + catalog.cattle.io/display-name: CloudCasa + catalog.cattle.io/namespace: cloudcasa-io + catalog.cattle.io/release-name: cloudcasa + apiVersion: v2 + appVersion: 3.0.0 + created: "2022-02-15T16:31:46.786428177+05:30" + description: CloudCasa backup service for Kubernetes and cloud native applications + digest: d9dd9949fef49bc13aaf984e6e1b9cb0109fad9b457b6269d36cd5555a8f0d7c + home: https://cloudcasa.io + icon: https://partner-charts.rancher.io/assets/logos/cloudcasa.png + keywords: + - Backup + - Catalogic + - CloudCasa + - Restore + - Copy + - Scan + kubeVersion: '>=1.17.0-0' + maintainers: + - email: support@cloudcasa.io + name: catalogicsoftware + name: cloudcasa + urls: + - assets/cloudcasa/cloudcasa-3.0.0.tgz + version: 3.0.0 - annotations: catalog.cattle.io/certified: partner catalog.cattle.io/display-name: CloudCasa