| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147 |
- 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
- - 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.18"
- 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"
- - name: pg-11-versions
- show_if:
- is: "postgres11"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "11.13"
- 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"
- - name: pg-12-versions
- show_if:
- is: "postgres12"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "12.8"
- 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.10"
- value: "12.10"
- - name: pg-13-versions
- show_if:
- is: "postgres13"
- variable: db_family
- contents:
- - type: select
- label: Database Version
- variable: db_engine_version
- settings:
- default: "13.4"
- 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.6"
- value: "13.6"
- - 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: 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
- - label: r5.large
- value: r5.large
- - value: 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.22"
- options:
- - label: "1.20"
- value: "1.20"
- - label: "1.21"
- value: "1.21"
- - label: "1.22"
- value: "1.22"
- - 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.
- 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: system_machine_type
- contents:
- - type: heading
- label: System Machine Type 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
- - 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: 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: false
- - 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
- `
- 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
- `
|