| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286 |
- package infra
- const testForm = `name: Test
- hasSource: false
- includeHiddenFields: true
- isClusterScoped: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: String to echo
- - type: string-input
- variable: echo
- settings:
- default: hello
- `
- const s3Form = `name: S3
- hasSource: false
- includeHiddenFields: true
- isClusterScoped: true
- tabs:
- - name: main
- label: Main
- sections:
- - name: heading
- contents:
- - type: heading
- label: S3 Settings
- - name: bucket_name
- contents:
- - type: string-input
- label: Bucket Name
- required: true
- placeholder: "s3-bucket-name"
- variable: bucket_name
- `
- const rdsForm = `name: RDS
- hasSource: false
- includeHiddenFields: true
- isClusterScoped: true
- tabs:
- - name: main
- label: Main
- sections:
- - name: heading
- contents:
- - type: heading
- label: Database Settings
- - name: user
- contents:
- - type: string-input
- label: Database Master User
- required: true
- placeholder: "admin"
- variable: db_user
- - name: password
- contents:
- - type: string-input
- required: true
- label: Database Master Password
- variable: db_passwd
- - name: name
- contents:
- - type: string-input
- label: Database Name
- required: true
- placeholder: "rds-staging"
- variable: db_name
- - name: machine-type
- contents:
- - type: select
- label: ⚙️ Database Machine Type
- variable: machine_type
- settings:
- default: db.t3.medium
- options:
- - label: db.t2.medium
- value: db.t2.medium
- - label: db.t2.xlarge
- value: db.t2.xlarge
- - label: db.t2.2xlarge
- value: db.t2.2xlarge
- - label: db.t3.medium
- value: db.t3.medium
- - label: db.t3.xlarge
- value: db.t3.xlarge
- - label: db.t3.2xlarge
- value: db.t3.2xlarge
- - label: db.r5.large
- value: db.r5.large
- - label: db.r5.xlarge
- value: db.r5.xlarge
- - label: db.r5.2xlarge
- value: db.r5.2xlarge
- - name: family-versions
- contents:
- - type: select
- label: Database Family Version
- variable: db_family
- settings:
- default: postgres13
- options:
- - label: "Postgres 9"
- value: postgres9
- - label: "Postgres 10"
- value: postgres10
- - label: "Postgres 11"
- value: postgres11
- - label: "Postgres 12"
- value: postgres12
- - label: "Postgres 13"
- value: postgres13
- - label: "Postgres 14"
- value: postgres14
- - name: pg-9-versions
- show_if:
- is: "postgres9"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "9.6.23"
- options:
- - label: "v9.6.1"
- value: "9.6.1"
- - label: "v9.6.2"
- value: "9.6.2"
- - label: "v9.6.3"
- value: "9.6.3"
- - label: "v9.6.4"
- value: "9.6.4"
- - label: "v9.6.5"
- value: "9.6.5"
- - label: "v9.6.6"
- value: "9.6.6"
- - label: "v9.6.7"
- value: "9.6.7"
- - label: "v9.6.8"
- value: "9.6.8"
- - label: "v9.6.10"
- value: "9.6.10"
- - label: "v9.6.11"
- value: "9.6.11"
- - label: "v9.6.12"
- value: "9.6.12"
- - label: "v9.6.13"
- value: "9.6.13"
- - label: "v9.6.14"
- value: "9.6.14"
- - label: "v9.6.15"
- value: "9.6.15"
- - label: "v9.6.16"
- value: "9.6.16"
- - label: "v9.6.17"
- value: "9.6.17"
- - label: "v9.6.18"
- value: "9.6.18"
- - label: "v9.6.19"
- value: "9.6.19"
- - label: "v9.6.20"
- value: "9.6.20"
- - label: "v9.6.21"
- value: "9.6.21"
- - label: "v9.6.22"
- value: "9.6.22"
- - label: "v9.6.23"
- value: "9.6.23"
- - name: pg-10-versions
- show_if:
- is: "postgres10"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "10.22"
- options:
- - label: "v10.1"
- value: "10.1"
- - label: "v10.2"
- value: "10.2"
- - label: "v10.3"
- value: "10.3"
- - label: "v10.4"
- value: "10.4"
- - label: "v10.5"
- value: "10.5"
- - label: "v10.6"
- value: "10.6"
- - label: "v10.7"
- value: "10.7"
- - label: "v10.8"
- value: "10.8"
- - label: "v10.9"
- value: "10.9"
- - label: "v10.10"
- value: "10.10"
- - label: "v10.11"
- value: "10.11"
- - label: "v10.12"
- value: "10.12"
- - label: "v10.13"
- value: "10.13"
- - label: "v10.14"
- value: "10.14"
- - label: "v10.15"
- value: "10.15"
- - label: "v10.16"
- value: "10.16"
- - label: "v10.17"
- value: "10.17"
- - label: "v10.18"
- value: "10.18"
- - label: "v10.19"
- value: "10.19"
- - label: "v10.20"
- value: "10.20"
- - label: "v10.21"
- value: "10.21"
- - label: "v10.22"
- value: "10.22"
- - name: pg-11-versions
- show_if:
- is: "postgres11"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "11.17"
- options:
- - label: "v11.1"
- value: "11.1"
- - label: "v11.2"
- value: "11.2"
- - label: "v11.3"
- value: "11.3"
- - label: "v11.4"
- value: "11.4"
- - label: "v11.5"
- value: "11.5"
- - label: "v11.6"
- value: "11.6"
- - label: "v11.7"
- value: "11.7"
- - label: "v11.8"
- value: "11.8"
- - label: "v11.9"
- value: "11.9"
- - label: "v11.10"
- value: "11.10"
- - label: "v11.11"
- value: "11.11"
- - label: "v11.12"
- value: "11.12"
- - label: "v11.13"
- value: "11.13"
- - label: "v11.14"
- value: "11.14"
- - label: "v11.15"
- value: "11.15"
- - label: "v11.16"
- value: "11.16"
- - label: "v11.17"
- value: "11.17"
- - name: pg-12-versions
- show_if:
- is: "postgres12"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "12.12"
- options:
- - label: "v12.2"
- value: "12.2"
- - label: "v12.3"
- value: "12.3"
- - label: "v12.4"
- value: "12.4"
- - label: "v12.5"
- value: "12.5"
- - label: "v12.6"
- value: "12.6"
- - label: "v12.7"
- value: "12.7"
- - label: "v12.8"
- value: "12.8"
- - label: "v12.9"
- value: "12.9"
- - label: "v12.10"
- value: "12.10"
- - label: "v12.11"
- value: "12.11"
- - label: "v12.12"
- value: "12.12"
- - name: pg-13-versions
- show_if:
- is: "postgres13"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "13.8"
- options:
- - label: "v13.1"
- value: "13.1"
- - label: "v13.2"
- value: "13.2"
- - label: "v13.3"
- value: "13.3"
- - label: "v13.4"
- value: "13.4"
- - label: "v13.5"
- value: "13.5"
- - label: "v13.6"
- value: "13.6"
- - label: "v13.7"
- value: "13.7"
- - label: "v13.8"
- value: "13.8"
- - name: pg-14-versions
- show_if:
- is: "postgres14"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "14.5"
- options:
- - label: "v14.1"
- value: "14.1"
- - label: "v14.2"
- value: "14.2"
- - label: "v14.3"
- value: "14.3"
- - label: "v14.4"
- value: "14.4"
- - label: "v14.5"
- value: "14.5"
- - name: additional-settings
- contents:
- - type: heading
- label: Additional Settings
- - type: checkbox
- variable: db_deletion_protection
- label: Enable deletion protection for the database.
- settings:
- default: false
- - name: storage
- label: Storage
- sections:
- - name: storage
- contents:
- - type: heading
- label: Storage Settings
- - type: number-input
- label: Specify the amount of storage to allocate to this instance in gigabytes.
- variable: db_allocated_storage
- placeholder: "ex: 10"
- settings:
- default: 10
- - type: number-input
- label: Specify the maximum storage that this instance can scale to in gigabytes.
- variable: db_max_allocated_storage
- placeholder: "ex: 20"
- settings:
- default: 20
- - type: checkbox
- variable: db_storage_encrypted
- label: Enable storage encryption for the database.
- settings:
- default: false
- - name: advanced
- label: Advanced
- sections:
- - name: replicas
- contents:
- - type: heading
- label: Read Replicas
- - type: subtitle
- label: Specify the number of read replicas to run alongside your RDS instance.
- - type: number-input
- label: Replicas
- variable: db_replicas
- placeholder: "ex: 1"
- settings:
- default: 0`
- const ecrForm = `name: ECR
- hasSource: false
- includeHiddenFields: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: ECR Configuration
- - type: string-input
- label: ECR Name
- required: true
- placeholder: my-awesome-registry
- variable: ecr_name
- `
- const eksForm = `name: EKS
- hasSource: false
- includeHiddenFields: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: EKS Configuration
- - type: select
- label: ⚙️ AWS Machine Type
- variable: machine_type
- settings:
- default: t2.medium
- options:
- - label: t2.medium
- value: t2.medium
- - label: t2.large
- value: t2.large
- - label: t2.xlarge
- value: t2.xlarge
- - label: t2.2xlarge
- value: t2.2xlarge
- - label: t3.medium
- value: t3.medium
- - label: t3.large
- value: t3.large
- - label: t3.xlarge
- value: t3.xlarge
- - label: t3.2xlarge
- value: t3.2xlarge
- - label: c5.large
- value: c5.large
- - label: c5.xlarge
- value: c5.xlarge
- - label: c5.2xlarge
- value: c5.2xlarge
- - label: c6i.large
- value: c6i.large
- - label: c6i.xlarge
- value: c6i.xlarge
- - label: c6i.2xlarge
- value: c6i.2xlarge
- - label: c6i.4xlarge
- value: c6i.4xlarge
- - label: g4dn.xlarge
- value: g4dn.xlarge
- - label: g4dn.2xlarge
- value: g4dn.2xlarge
- - label: g4dn.4xlarge
- value: g4dn.4xlarge
- - label: g5.xlarge
- value: g5.xlarge
- - label: g5.2xlarge
- value: g5.2xlarge
- - label: g5.4xlarge
- value: g5.4xlarge
- - label: m6a.large
- value: m6a.large
- - label: m6a.xlarge
- value: m6a.xlarge
- - label: m6a.2xlarge
- value: m6a.2xlarge
- - label: m6i.large
- value: m6i.large
- - label: m6i.xlarge
- value: m6i.xlarge
- - label: m6i.2xlarge
- value: m6i.2xlarge
- - label: m6i.4xlarge
- value: m6i.4xlarge
- - label: r5.large
- value: r5.large
- - label: r5.xlarge
- value: r5.xlarge
- - type: string-input
- label: 👤 Issuer Email
- required: true
- placeholder: example@example.com
- variable: issuer_email
- - type: string-input
- label: EKS Cluster Name
- required: true
- placeholder: my-cluster
- variable: cluster_name
- - type: select
- label: EKS control plane version
- variable: cluster_version
- settings:
- default: "1.24"
- options:
- - label: "1.20"
- value: "1.20"
- - label: "1.21"
- value: "1.21"
- - label: "1.22"
- value: "1.22"
- - label: "1.23"
- value: "1.23"
- - label: "1.24"
- value: "1.24"
- - type: number-input
- label: Minimum number of EC2 instances to create in the application autoscaling group.
- variable: min_instances
- placeholder: "ex: 1"
- settings:
- default: 1
- - type: number-input
- label: Maximum number of EC2 instances to create in the application autoscaling group.
- variable: max_instances
- placeholder: "ex: 10"
- settings:
- default: 10
- - name: additional_nodegroup
- label: Additional Node Groups
- sections:
- - name: is_additional_enabled
- contents:
- - type: heading
- label: Additional Node Groups
- - type: checkbox
- variable: additional_nodegroup_enabled
- label: Enable an additional node group for this cluster.
- settings:
- default: false
- - name: additional_settings
- show_if: additional_nodegroup_enabled
- contents:
- - type: string-input
- label: Label for this node group. Multiple labels should be comma separated.
- variable: additional_nodegroup_label
- placeholder: "ex: porter.run/workload-kind=job"
- settings:
- default: porter.run/workload-kind=database
- - type: string-input
- label: Taint for this node group.
- variable: additional_nodegroup_taint
- placeholder: "ex: porter.run/workload-kind=job:NoSchedule"
- settings:
- default: porter.run/workload-kind=database:NoSchedule
- - type: checkbox
- variable: additional_stateful_nodegroup_enabled
- label: Stateful Workload
- settings:
- default: false
- - type: select
- label: ⚙️ AWS System Machine Type
- variable: additional_nodegroup_machine_type
- settings:
- default: t2.medium
- options:
- - label: t2.medium
- value: t2.medium
- - label: t2.large
- value: t2.large
- - label: t2.xlarge
- value: t2.xlarge
- - label: t2.2xlarge
- value: t2.2xlarge
- - label: t3.medium
- value: t3.medium
- - label: t3.large
- value: t3.large
- - label: t3.xlarge
- value: t3.xlarge
- - label: t3.2xlarge
- value: t3.2xlarge
- - label: c6i.large
- value: c6i.large
- - label: c6i.xlarge
- value: c6i.xlarge
- - label: c6i.2xlarge
- value: c6i.2xlarge
- - label: c6i.4xlarge
- value: c6i.4xlarge
- - label: m6i.large
- value: m6i.large
- - label: m6i.xlarge
- value: m6i.xlarge
- - label: m6i.2xlarge
- value: m6i.2xlarge
- - label: m6i.4xlarge
- value: m6i.4xlarge
- - type: number-input
- label: Minimum number of EC2 instances to create in the application autoscaling group.
- variable: additional_nodegroup_min_instances
- placeholder: "ex: 1"
- settings:
- default: 1
- - type: number-input
- label: Maximum number of EC2 instances to create in the application autoscaling group.
- variable: additional_nodegroup_max_instances
- placeholder: "ex: 10"
- settings:
- default: 10
- - name: iam
- label: IAM
- sections:
- - name: toggle_aws_auth
- contents:
- - type: heading
- label: Configure IAM Access
- - type: checkbox
- variable: manage_aws_auth_configmap
- label: Allow Porter to manage AWS authentication for the cluster.
- settings:
- default: true
- - name: aws_auth_warning
- show_if:
- not: manage_aws_auth_configmap
- contents:
- - type: subtitle
- label: "WARNING - turning this value off will result in the aws-auth configmap getting removed from the cluster, and will take existing AWS nodes offline until the configmap is re-added with the node's IAM role ARN. Make sure you know what you are doing."
- - name: arns
- show_if: manage_aws_auth_configmap
- contents:
- - type: heading
- label: Users
- - type: subtitle
- label: "Add AWS users to the cluster. The left input should be a valid AWS user ARN, and the right side should be a group on the cluster. For example, arn:aws:iam::66666666666:user/user1: system:masters."
- - type: key-value-array
- variable: aws_auth_users
- settings:
- default: {}
- - type: heading
- label: Roles
- - type: subtitle
- label: "Add AWS roles to the cluster. The left input should be a valid AWS role ARN, and the right side should be a group on the cluster. For example, arn:aws:iam::66666666666:role/role1: system:masters."
- - type: key-value-array
- variable: aws_auth_roles
- settings:
- default: {}
- - name: advanced
- label: Advanced
- sections:
- - name: workload_machine_label
- contents:
- - type: heading
- label: Application Node Group Settings
- - type: string-input
- label: Add custom node labels to the application node group. If you are adding multiple labels, they should be comma separated.
- variable: custom_node_labels_application
- placeholder: "ex: mylabel=custom-label,mylabel2=another-one"
- settings:
- default: ""
- - name: system_machine_type
- contents:
- - type: heading
- label: System Node Group Settings
- - type: select
- label: ⚙️ AWS System Machine Type
- variable: system_machine_type
- settings:
- default: t2.medium
- options:
- - label: t2.medium
- value: t2.medium
- - label: t2.large
- value: t2.large
- - label: t2.xlarge
- value: t2.xlarge
- - label: t2.2xlarge
- value: t2.2xlarge
- - label: t3.medium
- value: t3.medium
- - label: t3.large
- value: t3.large
- - label: t3.xlarge
- value: t3.xlarge
- - label: t3.2xlarge
- value: t3.2xlarge
- - label: c6i.large
- value: c6i.large
- - label: c6i.xlarge
- value: c6i.xlarge
- - label: c6i.2xlarge
- value: c6i.2xlarge
- - label: c6i.4xlarge
- value: c6i.4xlarge
- - type: string-input
- label: Add custom node labels to the system node group. If you are adding multiple labels, they should be comma separated.
- variable: custom_node_labels_system
- placeholder: "ex: mylabel=custom-label,mylabel2=another-one"
- settings:
- default: ""
- - name: spot_instance_should_enable
- contents:
- - type: heading
- label: Spot Instance Settings
- - type: checkbox
- variable: spot_instances_enabled
- label: Enable spot instances for this cluster.
- settings:
- default: false
- - name: spot_instance_price
- show_if: spot_instances_enabled
- contents:
- - type: string-input
- label: Assign a bid price for the spot instance (optional).
- variable: spot_price
- placeholder: "ex: 0.05"
- - name: net_settings
- contents:
- - type: heading
- label: Networking Settings
- - type: string-input
- label: "Add a different CIDR range prefix (first two octets: for example 10.99 will create a VPC with CIDR range 10.99.0.0/16)."
- variable: cluster_vpc_cidr_octets
- placeholder: "ex: 10.99"
- settings:
- default: "10.99"
- - type: checkbox
- label: "Add additional private subnets to the cluster in each AZ."
- variable: additional_private_subnets
- settings:
- default: false
- - name: subnet_multiplicity
- show_if: additional_private_subnets
- contents:
- - type: number-input
- label: "Multiplicity of the subnet within each AZ."
- variable: additional_private_subnets_multiplicity
- settings:
- default: 3
- - name: net_settings_azs_toggle
- contents:
- - type: checkbox
- label: "Specify the AZs to provision this cluster in."
- variable: specify_azs
- settings:
- default: false
- - name: net_settings_azs
- show_if: specify_azs
- contents:
- - type: array-input
- variable: azs
- label: Availability Zones
- - name: net_settings_single_az_nat_gateway
- contents:
- - type: checkbox
- variable: single_az_nat_gateway
- label: "Place a NAT gateway inside a single AZ. Disabling this will place a NAT gateway in each AZ, for each subnet in your cluster's VPC."
- settings:
- default: true
- - name: nginx_settings
- contents:
- - type: heading
- label: NGINX Settings
- - type: checkbox
- variable: disable_nginx_load_balancer
- label: Disable NGINX load balancer and expose NGINX only on a cluster IP address.
- settings:
- default: false
- - name: prometheus_settings
- contents:
- - type: heading
- label: Prometheus Settings
- - type: checkbox
- variable: additional_prometheus_node_group
- label: Add an additional prometheus node group to ensure monitoring stability.
- settings:
- default: true
- - name: prometheus_machine_settings
- show_if: additional_prometheus_node_group
- contents:
- - type: select
- label: ⚙️ AWS Prometheus Machine Type
- variable: additional_prometheus_machine_type
- settings:
- default: t2.medium
- options:
- - label: t2.medium
- value: t2.medium
- - label: t2.large
- value: t2.large
- - label: t2.xlarge
- value: t2.xlarge
- - label: t3.medium
- value: t3.medium
- - label: t3.large
- value: t3.large
- - label: t3.xlarge
- value: t3.xlarge
- - type: string-input
- label: Add custom node labels to the monitoring node group. If you are adding multiple labels, they should be comma separated.
- variable: custom_node_labels_monitoring
- placeholder: "ex: mylabel=custom-label,mylabel2=another-one"
- settings:
- default: ""
- - name: kms_secret_encryption
- contents:
- - type: heading
- label: KMS Encryption
- - type: checkbox
- variable: is_kms_enabled
- label: Encrypt all Kubernetes secrets with AWS Key Management Service (KMS)
- settings:
- default: false
- - name: enable_logging
- contents:
- - type: heading
- label: Enable AWS Logging
- - type: checkbox
- variable: vpc_flow_logs_enabled
- label: Enable VPC Flow Logs
- settings:
- default: false
- - type: checkbox
- variable: eks_control_plane_logs_enabled
- label: Enable EKS Control Plane Logs
- settings:
- default: false
- - name: add_custom_tags
- contents:
- - type: heading
- label: Add Custom Tags on AWS Resources Provisioned by Porter
- - type: key-value-array
- variable: custom_tags
- settings:
- default: {}
- `
- const gcrForm = `name: GCR
- hasSource: false
- includeHiddenFields: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: GCR Configuration
- - type: select
- label: 📍 GCP Region
- variable: gcp_region
- settings:
- default: us-central1
- options:
- - label: asia-east1
- value: asia-east1
- - label: asia-east2
- value: asia-east2
- - label: asia-northeast1
- value: asia-northeast1
- - label: asia-northeast2
- value: asia-northeast2
- - label: asia-northeast3
- value: asia-northeast3
- - label: asia-south1
- value: asia-south1
- - label: asia-south2
- value: asia-south2
- - label: asia-southeast1
- value: asia-southeast1
- - label: asia-southeast2
- value: asia-southeast2
- - label: australia-southeast1
- value: australia-southeast1
- - label: australia-southeast2
- value: australia-southeast2
- - label: europe-central2
- value: europe-central2
- - label: europe-north1
- value: europe-north1
- - label: europe-west1
- value: europe-west1
- - label: europe-west2
- value: europe-west2
- - label: europe-west3
- value: europe-west3
- - label: europe-west4
- value: europe-west4
- - label: europe-west6
- value: europe-west6
- - label: europe-west8
- value: europe-west8
- - label: europe-west9
- value: europe-west9
- - label: europe-southwest1
- value: europe-southwest1
- - label: northamerica-northeast1
- value: northamerica-northeast1
- - label: northamerica-northeast2
- value: northamerica-northeast2
- - label: southamerica-east1
- value: southamerica-east1
- - label: southamerica-west1
- value: southamerica-west1
- - label: us-central1
- value: us-central1
- - label: us-east1
- value: us-east1
- - label: us-east4
- value: us-east4
- - label: us-east5
- value: us-east5
- - label: us-south1
- value: us-south1
- - label: us-west1
- value: us-west1
- - label: us-west2
- value: us-west2
- - label: us-west3
- value: us-west3
- - label: us-west4
- value: us-west4
- `
- const garForm = `name: GAR
- hasSource: false
- includeHiddenFields: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: GAR Configuration
- - type: select
- label: 📍 GCP Region
- variable: gcp_region
- settings:
- default: us-central1
- options:
- - label: asia-east1
- value: asia-east1
- - label: asia-east2
- value: asia-east2
- - label: asia-northeast1
- value: asia-northeast1
- - label: asia-northeast2
- value: asia-northeast2
- - label: asia-northeast3
- value: asia-northeast3
- - label: asia-south1
- value: asia-south1
- - label: asia-south2
- value: asia-south2
- - label: asia-southeast1
- value: asia-southeast1
- - label: asia-southeast2
- value: asia-southeast2
- - label: australia-southeast1
- value: australia-southeast1
- - label: australia-southeast2
- value: australia-southeast2
- - label: europe-central2
- value: europe-central2
- - label: europe-north1
- value: europe-north1
- - label: europe-west1
- value: europe-west1
- - label: europe-west2
- value: europe-west2
- - label: europe-west3
- value: europe-west3
- - label: europe-west4
- value: europe-west4
- - label: europe-west6
- value: europe-west6
- - label: europe-west8
- value: europe-west8
- - label: europe-west9
- value: europe-west9
- - label: europe-southwest1
- value: europe-southwest1
- - label: northamerica-northeast1
- value: northamerica-northeast1
- - label: northamerica-northeast2
- value: northamerica-northeast2
- - label: southamerica-east1
- value: southamerica-east1
- - label: southamerica-west1
- value: southamerica-west1
- - label: us-central1
- value: us-central1
- - label: us-east1
- value: us-east1
- - label: us-east4
- value: us-east4
- - label: us-east5
- value: us-east5
- - label: us-south1
- value: us-south1
- - label: us-west1
- value: us-west1
- - label: us-west2
- value: us-west2
- - label: us-west3
- value: us-west3
- - label: us-west4
- value: us-west4
- - label: us (multi-region)
- value: us
- - label: europe (multi-region)
- value: europe
- - label: asia (multi-region)
- value: asia
- `
- const gkeForm = `name: GKE
- hasSource: false
- includeHiddenFields: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: GKE Configuration
- - type: select
- label: 📍 GCP Region
- variable: gcp_region
- settings:
- default: us-central1
- options:
- - label: asia-east1
- value: asia-east1
- - label: asia-east2
- value: asia-east2
- - label: asia-northeast1
- value: asia-northeast1
- - label: asia-northeast2
- value: asia-northeast2
- - label: asia-northeast3
- value: asia-northeast3
- - label: asia-south1
- value: asia-south1
- - label: asia-south2
- value: asia-south2
- - label: asia-southeast1
- value: asia-southeast1
- - label: asia-southeast2
- value: asia-southeast2
- - label: australia-southeast1
- value: australia-southeast1
- - label: australia-southeast2
- value: australia-southeast2
- - label: europe-central2
- value: europe-central2
- - label: europe-north1
- value: europe-north1
- - label: europe-west1
- value: europe-west1
- - label: europe-west2
- value: europe-west2
- - label: europe-west3
- value: europe-west3
- - label: europe-west4
- value: europe-west4
- - label: europe-west6
- value: europe-west6
- - label: europe-west8
- value: europe-west8
- - label: europe-west9
- value: europe-west9
- - label: europe-southwest1
- value: europe-southwest1
- - label: northamerica-northeast1
- value: northamerica-northeast1
- - label: northamerica-northeast2
- value: northamerica-northeast2
- - label: southamerica-east1
- value: southamerica-east1
- - label: southamerica-west1
- value: southamerica-west1
- - label: us-central1
- value: us-central1
- - label: us-east1
- value: us-east1
- - label: us-east4
- value: us-east4
- - label: us-east5
- value: us-east5
- - label: us-south1
- value: us-south1
- - label: us-west1
- value: us-west1
- - label: us-west2
- value: us-west2
- - label: us-west3
- value: us-west3
- - label: us-west4
- value: us-west4
- - type: string-input
- label: 👤 Issuer Email
- required: true
- placeholder: example@example.com
- variable: issuer_email
- - type: string-input
- label: GKE Cluster Name
- required: true
- placeholder: my-cluster
- variable: cluster_name
- `
- const docrForm = `name: DOCR
- hasSource: false
- includeHiddenFields: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: DOCR Configuration
- - type: select
- label: DO Subscription Tier
- variable: docr_subscription_tier
- settings:
- default: basic
- options:
- - label: Basic
- value: basic
- - label: Professional
- value: professional
- - type: string-input
- label: DOCR Name
- required: true
- placeholder: my-awesome-registry
- variable: docr_name
- `
- const doksForm = `name: DOKS
- hasSource: false
- includeHiddenFields: true
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: DOKS Configuration
- - type: select
- label: 📍 DO Region
- variable: do_region
- settings:
- default: nyc1
- options:
- - label: Amsterdam 3
- value: ams3
- - label: Bangalore 1
- value: blr1
- - label: Frankfurt 1
- value: fra1
- - label: London 1
- value: lon1
- - label: New York 1
- value: nyc1
- - label: New York 3
- value: nyc3
- - label: San Francisco 2
- value: sfo2
- - label: San Francisco 3
- value: sfo3
- - label: Singapore 1
- value: sgp1
- - label: Toronto 1
- value: tor1
- - type: string-input
- label: 👤 Issuer Email
- required: true
- placeholder: example@example.com
- variable: issuer_email
- - type: string-input
- label: DOKS Cluster Name
- required: true
- placeholder: my-cluster
- variable: cluster_name
- `
- const acrForm = `name: ACR
- hasSource: false
- includeHiddenFields: true
- isClusterScoped: false
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: ACR Configuration
- - type: select
- label: 📍 Azure Region
- variable: aks_region
- settings:
- default: East US
- options:
- - label: East US
- value: East US
- - label: East US 2
- value: East US 2
- - label: West US 2
- value: West US 2
- - label: West US 3
- value: West US 3
- - label: Norway East
- value: Norway East
- - type: string-input
- label: ACR Name
- required: true
- placeholder: my-registry
- variable: acr_name
- `
- const aksForm = `name: AKS
- hasSource: false
- includeHiddenFields: true
- isClusterScoped: false
- tabs:
- - name: main
- label: Configuration
- sections:
- - name: section_one
- contents:
- - type: heading
- label: AKS Configuration
- - type: select
- label: 📍 Azure Region
- variable: aks_region
- settings:
- default: East US
- options:
- - label: East US
- value: East US
- - label: East US 2
- value: East US 2
- - label: West US 2
- value: West US 2
- - label: West US 3
- value: West US 3
- - label: Norway East
- value: Norway East
- - type: select
- label: ⚙️ Application Machine Type
- variable: app_machine_type
- settings:
- default: Standard_A2_v2
- options:
- - label: Standard A2
- value: Standard_A2_v2
- - label: Standard A4
- value: Standard_A4_v2
- - label: Standard D2
- value: Standard_D2_v3
- - type: string-input
- label: 👤 Issuer Email
- required: true
- placeholder: example@example.com
- variable: issuer_email
- - type: string-input
- label: AKS Cluster Name
- required: true
- placeholder: my-cluster
- variable: cluster_name
- `
|