Skip to content

Commit c5245a7

Browse files
authored
Merge branch 'main' into piraeus-2.8.1
2 parents c71338c + 7b7569b commit c5245a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3775
-38
lines changed

.github/workflows/bulwark-gitleaks-pr-validation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if: github.event.pull_request.head.repo.full_name != github.repository
2929
shell: sh
3030
run: |
31-
git clone https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git -b ${BRANCH}
31+
git clone https://github.com/${{ github.event.pull_request.head.repo.full_name }}.git -b ${BRANCH} ${REPO}
3232
cd ${REPO}
3333
git remote add scRepo https://github.com/${{ github.repository }}.git
3434
git fetch scRepo
@@ -45,4 +45,4 @@ jobs:
4545
exit 1
4646
else
4747
echo "GitLeaks validation check passed"
48-
fi
48+
fi

packs/cloudcasa-3.1.0/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# CloudCasa Kubernetes Agent
2+
3+
[CloudCasa](https://cloudcasa.io) - Leader in Kubernetes Data Protection and Application Mobility
4+
5+
CloudCasa is a SaaS data protection, disaster recovery, migration, and replication solution for Kubernetes and cloud-native applications.
6+
Configuration is quick and easy, and basic service is free.
7+
8+
This pack installs and configures the CloudCasa agent on a Kubernetes cluster.
9+
10+
## Prerequisites
11+
12+
- Kubernetes 1.20 or above
13+
- A CloudCasa account. You can [sign up](https://signup.cloudcasa.io/) for free.
14+
- A CloudCasa **Cluster ID** (see below)
15+
16+
## Parameters
17+
18+
To deploy the CloudCasa agent, you **must** set the `clusterID` parameter to the Cluster ID provided by CloudCasa.
19+
All other parameters are optional or can be left at their default values.
20+
21+
| Key | Type | Default | Required |
22+
|--- |--- |--- |--- |
23+
| clusterID | string | `""` | Yes |
24+
| image.repository | string | `"docker.io/catalogicsoftware/amds-kagent"` | Yes |
25+
| image.tag | string | `"3.1.0-prod"` | Yes |
26+
| imagePullSecret | string | `null` | No |
27+
28+
## Usage
29+
30+
1. Log in to https://home.cloudcasa.io and add your Kubernetes cluster under Clusters/Overview. Note the returned cluster ID.
31+
2. Install the pack, setting the `clusterID` parameter to the returned ID.
32+
33+
This will install the CloudCasa agent and complete registration of the cluster with the CloudCasa service.
34+
35+
### Using an alternate image repository
36+
37+
The agent manager container can be installed from an alternate repository by setting values for image.repository and image.tag.
38+
Note that the alternate repository will also need to be set for the cluster in CloudCasa so that all agent containers will be loaded from it.
39+
See the [CloudCasa User Guide](https://docs.cloudcasa.io/help/cluster-add.html) for more information.
40+
41+
If the registry you are using requires authentication, you can define a Kubernetes secret with the authentication information
42+
and reference it by setting a value for imagePullSecret.
43+
See the [Kubernetes Docs](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) for more information.
44+
Note that the secret name will also need to be set for the cluster in CloudCasa so that it will be used for all agent containers.
45+
See the [CloudCasa User Guide](https://docs.cloudcasa.io/help/cluster-add.html) for more information.
46+
47+
## References
48+
49+
- The CloudCasa Website: [https://cloudcasa.io](https://cloudcasa.io/)
50+
- The CloudCasa [User Guide](https://docs.cloudcasa.io/help/)
51+
- The CloudCasa [Getting Started Guide](https://cloudcasa.io/get-started)
52+
53+
*CloudCasa is a trademark of Catalogic Software, Inc.*
3.63 KB
Binary file not shown.

packs/cloudcasa-3.1.0/logo.png

21.2 KB
Loading

packs/cloudcasa-3.1.0/pack.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "cloudcasa",
3+
"version": "3.1.0",
4+
"displayName": "CloudCasa Kubernetes Agent",
5+
"annotations": {
6+
"source": "community",
7+
"contributor" : "catalogic"
8+
},
9+
"layer": "addon",
10+
"addonType": "system app",
11+
"cloudTypes": [ "all" ],
12+
"charts": [ "charts/cloudcasa-3.4.4.tgz" ]
13+
}

packs/cloudcasa-3.1.0/values.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
pack:
2+
# The namespace (on the target cluster) in which the pack will be deployed.
3+
# When the namespace is not found, a new namespace will be created with the name specified.
4+
# Note this namespace MUST NOT BE CHANGED from "cloudcasa-io".
5+
namespace: "cloudcasa-io"
6+
content:
7+
images:
8+
- image: docker.io/catalogicsoftware/amds-kagent:3.1.0-prod
9+
10+
charts:
11+
cloudcasa:
12+
# clusterID is the CloudCasa Cluster ID. To be provided by the user.
13+
clusterID: ""
14+
15+
# image is the container repository and tag for the agent manager
16+
image:
17+
repository: "docker.io/catalogicsoftware/amds-kagent"
18+
tag: "3.1.0-prod"
19+
20+
# imagePullSecret is the name of the secret to use for image registry credentials (optional)
21+
imagePullSecret:
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Hitachi Storage Plug-in for Containers
2+
3+
Hitachi Storage Plug-in for Containers lets you create containers and run stateful applications
4+
inside those containers by using the Hitachi storage volumes as dynamically provisioned
5+
persistent volumes.
6+
7+
8+
## Prerequisites
9+
10+
- A Hitachi Virtual Storage Platform (VSP) array.
11+
12+
13+
## Parameters
14+
15+
To deploy the Hitachi HSPC pack, you need to set, at minimum, the following parameters in the pack's YAML.
16+
17+
| Name | Description | Type | Default Value | Required |
18+
| --- | --- | --- | --- | --- |
19+
| `hspc.vsp.url` | The URL of your Hitachi VSP management endpoint. | String | - | Yes |
20+
| `hspc.vsp.user` | The username of a Hitachi VSP account with appropriate permissions. | String | - | Yes |
21+
| `hspc.vsp.password` | The password of a Hitachi VSP account with appropriate permissions. | String | - | Yes |
22+
| `hspc.storageClass.parameters.serialNumber` | The serial number of the VSP storage chassis. | String | - | Yes |
23+
| `hspc.storageClass.parameters.poolID` | The HDP Pool ID (omit for VSP One SDS Block). | String | - | Yes |
24+
| `hspc.storageClass.parameters.portID` | The port ID (omit for VSP One SDS Block). Use a comma separator for multipath. If an NVMe over FC is used, don't set this option. | String | - | Yes |
25+
| `hspc.storageClass.parameters.connectionType` | Storage connection type. fc, iscsi, and nvme-fc are supported. Defaults to fc if not set. | String | fc | No |
26+
| `hspc.storageClass.parameters.storageEfficiency` | Adaptive data reduction. "Compression", "CompressionDeduplication", and "Disabled" are supported. | String | - | Yes |
27+
| `hspc.storageClass.parameters.storageEfficiencyMode` | Compression execution mode. "Inline" and "PostProcess" are supported. | String | - | No |
28+
| `hspc.storageClass.parameters.storageType` | For VSP One SDS Block, set the "storagetype" parameter to "vsp-one-sds-block". | String | - | No |
29+
| `hspc.storageClass.parameters.csi.storage.k8s.io/fstype` | Filesystem type, ext4 and xfs are supported. Defaults to ext4 if not set. | String | ext4 | No |
30+
31+
32+
Review the [Hitachi Storage Plug-in for Containers Quick Reference Guide](https://docs.hitachivantara.com/v/u/en-us/adapters-and-drivers/3.15.x/mk-92adptr142) for more details on parameters.
33+
34+
## Upgrade
35+
36+
This pack deploys an operator, which takes care of phased upgrades
37+
38+
39+
## Usage
40+
41+
To use the Hitachi Storage Plug-in for Containers pack, first create a new [infrastructure cluster profile](https://docs.spectrocloud.com/profiles/cluster-profiles/create-cluster-profiles/create-infrastructure-profile/), select MAAS for the Infrastructure Provider and when you get to the Storage pack, search for the **Hitachi Storage Plug-in for Containers** pack in the Palete Community Registry. Then configure the `hspc.vsp` and `hspc.storageClass` sections in the pack YAML:
42+
43+
```yaml
44+
charts:
45+
hspc:
46+
...
47+
vsp:
48+
url: http://172.16.1.1
49+
user: "User01"
50+
password: "*******"
51+
storageClass:
52+
name: spectro-storage-class
53+
isDefaultStorageClass: true
54+
allowVolumeExpansion: true
55+
reclaimPolicy: Delete
56+
volumeBindingMode: Immediate
57+
parameters:
58+
serialNumber: "54321"
59+
poolID: "1"
60+
portID : CL1-A,CL2-A
61+
connectionType: fc
62+
storageEfficiency: "CompressionDeduplication"
63+
storageEfficiencyMode: "Inline"
64+
```
65+
66+
Once you have confiogured the pack, you can deploy a cluster with it.
67+
68+
In order to use this CSI for snapshots, the following `VolumeSnapshotClass` can be created (manually, not part of this pack):
69+
```
70+
apiVersion: snapshot.storage.k8s.io/v1
71+
kind: VolumeSnapshotClass
72+
metadata:
73+
name: hspc-snapshotclass
74+
driver: hspc.csi.hitachi.com
75+
deletionPolicy: Delete
76+
parameters:
77+
poolID: "1"
78+
csi.storage.k8s.io/snapshotter-secret-name: "hspc-secret"
79+
csi.storage.k8s.io/snapshotter-secret-namespace: "hspc-system"
80+
```
81+
82+
## References
83+
84+
- [Hitachi Vantara website](https://www.hitachivantara.com/)
85+
- [Hitachi HSPC Quick Reference Guide](https://docs.hitachivantara.com/v/u/en-us/adapters-and-drivers/3.15.x/mk-92adptr142)
7.11 KB
Binary file not shown.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: v2
2+
name: hspc
3+
description: Installs Hitachi Storage Plug-in for Containers
4+
# A chart can be either an 'application' or a 'library' chart.
5+
#
6+
# Application charts are a collection of templates that can be packaged into versioned archives
7+
# to be deployed.
8+
#
9+
# Library charts provide useful utilities or functions for the chart developer. They're included as
10+
# a dependency of application charts to inject those utilities and functions into the rendering
11+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
12+
type: application
13+
14+
# This is the chart version. This version number should be incremented each time you make changes
15+
# to the chart and its templates, including the app version.
16+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
17+
version: 3.15.0
18+
19+
# This is the version number of the application being deployed. This version number should be
20+
# incremented each time you make changes to the application. Versions are not expected to
21+
# follow Semantic Versioning. They should reflect the version the application is using.
22+
# It is recommended to use it with quotes.
23+
appVersion: "3.15.0"

0 commit comments

Comments
 (0)