Skip to content

Commit

Permalink
Default cluster version 1.27 (#3806)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmcshane authored Oct 12, 2023
1 parent 68ad236 commit 89dece5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
14 changes: 7 additions & 7 deletions dashboard/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@loadable/component": "^5.15.2",
"@material-ui/core": "^4.11.3",
"@material-ui/lab": "^4.0.0-alpha.61",
"@porter-dev/api-contracts": "^0.2.15",
"@porter-dev/api-contracts": "^0.2.17",
"@react-spring/web": "^9.6.1",
"@sentry/react": "^6.13.2",
"@sentry/tracing": "^6.13.2",
Expand Down
5 changes: 3 additions & 2 deletions dashboard/src/components/ProvisionerSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const machineTypeOptions = [

const defaultCidrVpc = "10.78.0.0/16"
const defaultCidrServices = "172.20.0.0/16"
const defaultClusterVersion = "v1.27.0"

type Props = RouteComponentProps & {
selectedClusterVersion?: Contract;
Expand Down Expand Up @@ -137,7 +138,7 @@ const ProvisionerSettings: React.FC<Props> = (props) => {
>([]);
const [cidrRangeVPC, setCidrRangeVPC] = useState(defaultCidrVpc);
const [cidrRangeServices, setCidrRangeServices] = useState(defaultCidrServices);
const [clusterVersion, setClusterVersion] = useState("v1.24.0");
const [clusterVersion, setClusterVersion] = useState(defaultClusterVersion);
const [isReadOnly, setIsReadOnly] = useState(false);
const [errorMessage, setErrorMessage] = useState<string>(undefined);
const [isClicked, setIsClicked] = useState(false);
Expand Down Expand Up @@ -297,7 +298,7 @@ const ProvisionerSettings: React.FC<Props> = (props) => {
case: "eksKind",
value: new EKS({
clusterName,
clusterVersion: clusterVersion || "v1.24.0",
clusterVersion: clusterVersion || defaultClusterVersion,
cidrRange: cidrRangeVPC || defaultCidrVpc, // deprecated in favour of network.cidrRangeVPC: can be removed after december 2023
region: awsRegion,
loadBalancer: loadBalancerObj,
Expand Down

0 comments on commit 89dece5

Please sign in to comment.