Skip to content

Commit

Permalink
add subnets arg for hcp
Browse files Browse the repository at this point in the history
  • Loading branch information
davdhacs committed Dec 16, 2023
1 parent c871295 commit 8a06884
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 9 additions & 0 deletions chart/infra-server/static/flavors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,15 @@
help: |
Run as ROSA HCP?
- name: subnet-ids
description: Subnets for the cluster.
value: "true"
kind: optional
help: |
Set like "public_subnet,private_subnet"
It will be placed in the command like `rosa create cluster --subnet-ids $SUBNET_IDS`
Set empty for the installer to create a new empty vpc and subnets.
- name: rosa-args
description: additional rosa cli args
value: "--sts"
Expand Down
8 changes: 6 additions & 2 deletions chart/infra-server/static/workflow-openshift-rosa-hcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ spec:
- name: rosa-args
value: ""
- name: aws-region
value: "us-east-2"
value: "us-east-1"
- name: managed-cp
value: true
- name: SUBNET_IDS
value: ""
- name: nodes
value: "2"
- name: machine-type
value: "m5.xlarge"
value: "m5.2xlarge"
volumeClaimTemplates:
- metadata:
name: data
Expand Down Expand Up @@ -78,6 +80,8 @@ spec:
value: "{{workflow.parameters.aws-region}}"
- name: MANAGED_CP
value: "{{workflow.parameters.managed-cp}}"
- name: SUBNET_IDS
value: "{{workflow.parameters.subnet-ids}}"
- name: NODE_COUNT
value: "{{workflow.parameters.nodes}}"
- name: INSTANCE_TYPE
Expand Down

0 comments on commit 8a06884

Please sign in to comment.