sfs-iaas
Values and chart documentation for components/dependencies/sfs-iaas in the Superphenix repository. Defaults are the chart defaults.
This Helm Chart is used by the self-service ArgoCDs of Superphenix to generate IaaS resources
Creating new resources
For each type of resource present in this chart (VPC, Subnet, Disk, ...), there's a dictionary in which they can be created.
The key used to create a new resource within that dictionary is the ID of the resource.
Warning
This ID must be unique across resources of the same type within the project. If two resources of the same type have identical IDs, the one defined last in the dictionary will override all others.
For example, with a VPC:
vpcs:
new-vpc: # This is the unique ID of the resource, no other VPC can have it
name: "vpc"
location: "aq01-test01"
new-vpc: # WARNING: this key will override the one above
name: "vpc2"
location: "aq01-test01"
Note
IDs must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters each.
Resource names
Resources have a unique ID (see this) and a name.
Names do not have to be unique across resources and can be identical. They are simply used as a tag to be filtered and found more easily.
To set a name on a resource, use the .name value.
Note
Names must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 63 characters each.
Setting a resource location
Resources are located within a specific AZ (or availability zone). AZs are represented by a unique code.
To deploy your resource in a specific AZ, simply use the code in the .location value of the resource.
Values
Organization parameters
| Key | Type | Default | Description |
|---|---|---|---|
| bgpSpeaker | string |
""
|
BGP speaker configuration for this AZ. The value is passed as an escape JSON and must be decoded in the template This parameter cannot be overriden by the user. |
| gitops | bool |
false
|
Wether this chart is deployed through GitOps or not. This parameter cannot be overriden by the user. |
| location | string |
""
|
AZ in which we're deploying this chart. This parameter cannot be overriden by the user. |
| organizationID | string |
"00000000-0000-0000-0000-000000000000"
|
Superphenix organization to which this project belongs, must be a generated UUIDv4. This ID must come from the SPX API, this parameter cannot be overriden by the user. |
| organizationName | string |
"null"
|
Superphenix organization's friendly name. This parameter cannot be overriden by the user. |
| projectID | string |
"00000000-0000-0000-0000-000000000000"
|
Superphenix project to which this project belongs, must be a project within the organization, must be a generated UUIDv4. This ID must come from the SPX API, this parameter cannot be overriden by the user. |
| projectName | string |
"null"
|
Superphenix project's friendly name. This ID must come from the SPX API, this parameter cannot be overriden by the user. |
| storageClassMapping | object |
{}
|
Mapping between user-friendly names of storage classes and their real names. The mapping is specified for the current AZ, meaning that each AZ can have a different mapping. This parameter cannot be overriden by the user. |
Storage
| Key | Type | Default | Description |
|---|---|---|---|
| buckets | object | "" |
S3 buckets that can be created in the project |
Disk Snapshot Schedules
| Key | Type | Default | Description |
|---|---|---|---|
| diskSnapshotSchedules | string | "" |
Schedules for snapshots of Disks |
Disk Snapshots
| Key | Type | Default | Description |
|---|---|---|---|
| diskSnapshots | string | "" |
Snapshots of Disks |
Disks
| Key | Type | Default | Description |
|---|---|---|---|
| disks | object | "" |
Disks that can be attached to VMs |
Elastic IPs
| Key | Type | Default | Description |
|---|---|---|---|
| eips | string |
"{}"
|
Elastic IPs available in this project. See values.yaml for the complete syntax. |
Global values
| Key | Type | Default | Description |
|---|---|---|---|
| global.labels | object |
{}
|
Labels added to every single object templated by this chart. This parameter cannot be overriden by the user. |
Load balancers
| Key | Type | Default | Description |
|---|---|---|---|
| loadbalancers | string |
null
|
Load balancers to VMs, supports TCP/UDP and automatic healthchecks |
Network Policies
| Key | Type | Default | Description |
|---|---|---|---|
| networkPolicies | string |
null
|
Network policies (firewalling rules) to block/allow traffic in and out of the project |
Replication
| Key | Type | Default | Description |
|---|---|---|---|
| replication | object |
{
"availabilityZones": {},
"schedule": ""
}
|
Replication settings for disaster recovery of the project. |
| replication.availabilityZones | object |
{}
|
Replication strategy per AZ (overrides .schedule) This setting can be used to enable replication on specific AZs. It can also be used to disable replication for a specific AZ if a global schedule has been configured. |
| replication.schedule | string |
""
|
Replication schedule applied to every AZ. If specified, the project is set to be replicated in every AZ. |
SSH key store
| Key | Type | Default | Description |
|---|---|---|---|
| ssh | object | "" |
SSH access to the VirtualMachines |
| ssh.publicKeys | object |
"{}"
|
Public keys to inject inside the VMs. See value.yaml for the complete syntax, each key should be unique. |
Subnets
| Key | Type | Default | Description |
|---|---|---|---|
| subnets | object | See the default Subnet for the syntax to define a new Subnet |
Each key defines a new Subnet, each key should be unique |
VM Snapshots
| Key | Type | Default | Description |
|---|---|---|---|
| vmSnapshots | string | "" |
Snapshots of Virtual Machines |
Virtual Machines
| Key | Type | Default | Description |
|---|---|---|---|
| vms | string |
"{}"
|
Each key defines a new VM, each key should be unique. See values.yaml for the complete syntax. |
VPCs
| Key | Type | Default | Description |
|---|---|---|---|
| vpcs | string |
"{}"
|
Each key defines a new VPC, each key should be unique. See the default VPC for the syntax to define a new VPC. |
Other Values
| Key | Type | Default | Description |
|---|---|---|---|
| vmRestores | string |
null
|