Skip to content

Commit

Permalink
default to 1.24 and add intercom (#3703)
Browse files Browse the repository at this point in the history
Co-authored-by: Trevor Shim <[email protected]>
  • Loading branch information
sunguroku and Trevor Shim authored Sep 29, 2023
1 parent c8690d5 commit 6cfe982
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dashboard/src/components/ProvisionerSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const ProvisionerSettings: React.FC<Props> = (props) => {
>([]);
const [cidrRangeVPC, setCidrRangeVPC] = useState(defaultCidrVpc);
const [cidrRangeServices, setCidrRangeServices] = useState(defaultCidrServices);
const [clusterVersion, setClusterVersion] = useState("v1.27.0");
const [clusterVersion, setClusterVersion] = useState("v1.24.0");
const [isReadOnly, setIsReadOnly] = useState(false);
const [errorMessage, setErrorMessage] = useState<string>(undefined);
const [isClicked, setIsClicked] = useState(false);
Expand Down Expand Up @@ -295,7 +295,7 @@ const ProvisionerSettings: React.FC<Props> = (props) => {
case: "eksKind",
value: new EKS({
clusterName,
clusterVersion: clusterVersion || "v1.27.0",
clusterVersion: clusterVersion || "v1.24.0",
cidrRange: cidrRangeVPC || defaultCidrVpc, // deprecated in favour of network.cidrRangeVPC: can be removed after december 2023
region: awsRegion,
loadBalancer: loadBalancerObj,
Expand Down
17 changes: 15 additions & 2 deletions dashboard/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,25 @@

<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P8D92VJ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P8D92VJ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> -->
<!-- End Google Tag Manager (noscript) -->

<div id="output"></div>
<div id="modal-root"></div>

<script>
window.intercomSettings = {
api_base: "https://api-iam.intercom.io",
app_id: "gq56g49i"
};
</script>

<script>
// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/gq56g49i'
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/gq56g49i';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>

</body>

</html>

0 comments on commit 6cfe982

Please sign in to comment.