-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-main-jsx-content-file-path-src-content-docs-migration-guide-mdx-f2bfca3c19c54ad9f1d7.js.map
1 lines (1 loc) · 26.8 KB
/
component---src-templates-main-jsx-content-file-path-src-content-docs-migration-guide-mdx-f2bfca3c19c54ad9f1d7.js.map
1
{"version":3,"file":"component---src-templates-main-jsx-content-file-path-src-content-docs-migration-guide-mdx-f2bfca3c19c54ad9f1d7.js","mappings":"4NAIA,SAASA,EAAkBC,GACzB,MAAMC,EAAcC,OAAOC,OAAO,CAChCC,GAAI,KACJC,EAAG,IACHC,KAAM,OACNC,GAAI,KACJC,EAAG,IACHC,GAAI,KACJC,IAAK,MACLC,KAAM,OACNC,GAAI,OACHC,EAAAA,EAAAA,MAAsBb,EAAMc,YAC/B,OAAOC,EAAAA,cAAoBA,EAAAA,SAAgB,KAAMA,EAAAA,cAAoBC,EAAAA,GAAM,KAAMD,EAAAA,cAAoBd,EAAYG,GAAI,CACnHa,GAAI,gBACJC,MAAO,CACLC,SAAU,aAEXJ,EAAAA,cAAoBd,EAAYI,EAAG,CACpCe,KAAM,iBACN,aAAc,0BACdC,UAAW,iBACVN,EAAAA,cAAoBd,EAAYK,KAAM,CACvCgB,wBAAyB,CACvBC,OAAQ,meAEP,iBAAkBR,EAAAA,cAAoBd,EAAYM,GAAI,CACzDU,GAAI,kBACJC,MAAO,CACLC,SAAU,aAEXJ,EAAAA,cAAoBd,EAAYI,EAAG,CACpCe,KAAM,mBACN,aAAc,4BACdC,UAAW,iBACVN,EAAAA,cAAoBd,EAAYK,KAAM,CACvCgB,wBAAyB,CACvBC,OAAQ,meAEP,oBAAqB,KAAMR,EAAAA,cAAoBd,EAAYM,GAAI,CAClEU,GAAI,2EACJC,MAAO,CACLC,SAAU,aAEXJ,EAAAA,cAAoBd,EAAYI,EAAG,CACpCe,KAAM,4EACN,aAAc,qFACdC,UAAW,iBACVN,EAAAA,cAAoBd,EAAYK,KAAM,CACvCgB,w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B,EAAU,SAAEgB,EAAQ,qBAAE0B,IAEjD,IAAIC,EAWJ,OAREA,EADED,EAEsB,mBAAf1C,EACHA,EAAW,CAAC,GACZA,GAAcyC,EAEJF,EAAiBvC,GAG5B,gBACLsC,EAAWM,SACX,CAACC,MAAOF,GACR3B,EAEJ,C","sources":["webpack://jkube-website/./src/content/docs/migration-guide.mdx","webpack://jkube-website/./src/templates/main.jsx","webpack://jkube-website/./node_modules/@mdx-js/react/lib/index.js"],"sourcesContent":["/*@jsxRuntime classic @jsx React.createElement @jsxFrag React.Fragment*/\nimport {useMDXComponents as _provideComponents} from \"@mdx-js/react\";\nimport React from \"react\";\nimport {Hero} from '../../components';\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n h1: \"h1\",\n a: \"a\",\n span: \"span\",\n h2: \"h2\",\n p: \"p\",\n h3: \"h3\",\n pre: \"pre\",\n code: \"code\",\n h5: \"h5\"\n }, _provideComponents(), props.components);\n return React.createElement(React.Fragment, null, React.createElement(Hero, null, React.createElement(_components.h1, {\n id: \"documentation\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#documentation\",\n \"aria-label\": \"documentation permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Documentation\"), React.createElement(_components.h2, {\n id: \"migration-guide\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#migration-guide\",\n \"aria-label\": \"migration guide permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Migration Guide\")), \"\\n\", React.createElement(_components.h2, {\n id: \"migration-guide-for-projects-using-fabric8-maven-plugin-to-eclipse-jkube\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#migration-guide-for-projects-using-fabric8-maven-plugin-to-eclipse-jkube\",\n \"aria-label\": \"migration guide for projects using fabric8 maven plugin to eclipse jkube permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Migration Guide for projects using Fabric8 Maven Plugin to Eclipse JKube\"), \"\\n\", React.createElement(_components.p, null, \"For any project currently using \", React.createElement(_components.a, {\n href: \"https://github.com/fabric8io/fabric8-maven-plugin\",\n target: \"_blank\",\n rel: \"nofollow noopener noreferrer\"\n }, \"Fabric8 Maven Plugin (FMP)\"), \",\\nmigrating to Eclipse JKube is as simple as running a Maven command.\"), \"\\n\", React.createElement(_components.p, null, \"FMP used to handle both Kubernetes and OpenShift clusters but Eclipse JKube has separate plugins for these two different\\nenvironments.\"), \"\\n\", React.createElement(_components.h3, {\n id: \"projects-targeting-kubernetes-clusters\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#projects-targeting-kubernetes-clusters\",\n \"aria-label\": \"projects targeting kubernetes clusters permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Projects targeting Kubernetes Clusters\"), \"\\n\", React.createElement(_components.p, null, \"Run the following command in you project's root directory:\"), \"\\n\", React.createElement(_components.pre, null, React.createElement(_components.code, {\n className: \"language-bash\"\n }, \"mvn org.eclipse.jkube:kubernetes-maven-plugin:migrate\\n\")), \"\\n\", React.createElement(_components.p, null, \"Maven coordinates in your \", React.createElement(_components.code, null, \"pom.xml\"), \" will change from \", React.createElement(_components.code, null, \"io.fabric8:fabric8-maven-plugin\"), \" to\\n\", React.createElement(_components.code, null, \"org.eclipse.jkube:kubernetes-maven-plugin\"), \" for every \", React.createElement(_components.code, null, \"<plugin>\"), \" entry.\"), \"\\n\", React.createElement(_components.h3, {\n id: \"projects-targeting-openshift-clusters\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#projects-targeting-openshift-clusters\",\n \"aria-label\": \"projects targeting openshift clusters permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Projects targeting OpenShift Clusters\"), \"\\n\", React.createElement(_components.p, null, \"Run the following command in your project's root directory:\"), \"\\n\", React.createElement(_components.pre, null, React.createElement(_components.code, {\n className: \"language-bash\"\n }, \"mvn org.eclipse.jkube:openshift-maven-plugin:migrate\\n\")), \"\\n\", React.createElement(_components.p, null, \"Maven coordinates in your \", React.createElement(_components.code, null, \"pom.xml\"), \" will change from \", React.createElement(_components.code, null, \"io.fabric8:fabric8-maven-plugin\"), \" to\\n\", React.createElement(_components.code, null, \"org.eclipse.jkube:openshift-maven-plugin\"), \" for every \", React.createElement(_components.code, null, \"<plugin>\"), \" entry.\"), \"\\n\", React.createElement(_components.h3, {\n id: \"xml-configuration-and-maven-properties\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#xml-configuration-and-maven-properties\",\n \"aria-label\": \"xml configuration and maven properties permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"XML configuration and Maven properties\"), \"\\n\", React.createElement(_components.p, null, \"FMP specific Maven properties \", React.createElement(_components.code, null, \"<fabric8.*\"), \" will be automatically renamed to Eclipse JKube analogous\\nproperties \", React.createElement(_components.code, null, \"<jkube.*\"), \".\"), \"\\n\", React.createElement(_components.p, null, \"Mojo XML configuration element tag names will also be automatically renamed to the Eclipse JKube\\nequivalent.\"), \"\\n\", React.createElement(_components.h3, {\n id: \"resource-fragments\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#resource-fragments\",\n \"aria-label\": \"resource fragments permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Resource Fragments\"), \"\\n\", React.createElement(_components.p, null, \"If you want to customize Kubernetes manifests added by FMP by means other than XML configuration,\\nyou usually add your resources to \", React.createElement(_components.code, null, \"src/main/fabric8\"), \" directory and FMP picks these up during enrichment\\nprocess and merges them along with the default generated resources.\"), \"\\n\", React.createElement(_components.p, null, \"Eclipse JKube's \", React.createElement(_components.code, null, \"migrate\"), \" Maven goal will also take care of renaming your project's \", React.createElement(_components.code, null, \"src/main/fabric8\"), \"\\nfragment directory to \", React.createElement(_components.code, null, \"src/main/jkube\")), \"\\n\", React.createElement(_components.h3, {\n id: \"image-configuration-for-docker-builds\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#image-configuration-for-docker-builds\",\n \"aria-label\": \"image configuration for docker builds permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Image Configuration for Docker builds\"), \"\\n\", React.createElement(_components.p, null, \"Projects relying on FMP's \", React.createElement(_components.code, null, \"ImageConfiguration\"), \" model for building docker images don't need any change in\\nEclipse JKube's XML configuration.\"), \"\\n\", React.createElement(_components.p, null, \"For example, let's consider this simple project's plugin configuration:\"), \"\\n\", React.createElement(_components.h5, {\n id: \"fabric8-maven-plugin-image-configuration\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#fabric8-maven-plugin-image-configuration\",\n \"aria-label\": \"fabric8 maven plugin image configuration permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Fabric8 Maven Plugin Image Configuration\"), \"\\n\", React.createElement(_components.pre, null, React.createElement(_components.code, {\n className: \"language-xml\"\n }, \"<plugin>\\n <groupId>io.fabric8</groupId>\\n <artifactId>fabric8-maven-plugin</artifactId>\\n <configuration>\\n <images>\\n <image>\\n <name>%g/helloworld-java:%l</name>\\n <alias>hello-world</alias>\\n <build>\\n <from>openjdk:latest</from>\\n <assembly>\\n <descriptorRef>artifact</descriptorRef>\\n </assembly>\\n <cmd>java -jar maven/${project.name}-${project.version}.jar</cmd>\\n </build>\\n <run>\\n <wait>\\n <log>Hello World!</log>\\n </wait>\\n </run>\\n </image>\\n </images>\\n </configuration>\\n</plugin>\\n\")), \"\\n\", React.createElement(_components.h5, {\n id: \"eclipse-jkube-image-configuration\",\n style: {\n position: \"relative\"\n }\n }, React.createElement(_components.a, {\n href: \"#eclipse-jkube-image-configuration\",\n \"aria-label\": \"eclipse jkube image configuration permalink\",\n className: \"anchor before\"\n }, React.createElement(_components.span, {\n dangerouslySetInnerHTML: {\n __html: \"<svg aria-hidden=\\\"true\\\" focusable=\\\"false\\\" height=\\\"16\\\" version=\\\"1.1\\\" viewBox=\\\"0 0 16 16\\\" width=\\\"16\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\\\"></path></svg>\"\n }\n })), \"Eclipse JKube Image Configuration\"), \"\\n\", React.createElement(_components.pre, null, React.createElement(_components.code, {\n className: \"language-xml\"\n }, \"<plugin>\\n <groupId>org.eclipse.jkube</groupId>\\n <artifactId>kubernetes-maven-plugin</artifactId>\\n <configuration>\\n <images>\\n <image>\\n <name>%g/helloworld-java:%l</name>\\n <alias>hello-world</alias>\\n <build>\\n <from>openjdk:latest</from>\\n <assembly>\\n <descriptorRef>artifact</descriptorRef>\\n </assembly>\\n <cmd>java -jar maven/${project.name}-${project.version}.jar</cmd>\\n </build>\\n <run>\\n <wait>\\n <log>Hello World!</log>\\n </wait>\\n </run>\\n </image>\\n </images>\\n </configuration>\\n</plugin>\\n\")));\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? React.createElement(MDXLayout, props, React.createElement(_createMdxContent, props)) : _createMdxContent(props);\n}\nexport default MDXContent;\n","import GATSBY_COMPILED_MDX from \"/home/runner/work/jkube-website/jkube-website/src/content/docs/migration-guide.mdx\";\nimport React from 'react';\nimport {graphql} from 'gatsby';\nimport {MDXProvider} from '@mdx-js/react';\nimport {Code, CodeBlock, MainLayout, Seo} from '../components';\nimport '../styles/main.scss';\nconst components = pageContext => ({\n pre: ({className = '', ...props}) => {\n if (props?.children?.type?.name === 'code') {\n return React.createElement(CodeBlock, props);\n }\n return React.createElement(\"pre\", Object.assign({\n className: className\n }, props));\n },\n code: props => React.createElement(Code, Object.assign({\n pageContext: pageContext\n }, props))\n});\nconst Main = ({children, pageContext}) => {\n const {locale} = pageContext;\n return React.createElement(MDXProvider, {\n components: components(pageContext)\n }, React.createElement(MainLayout, {\n locale: locale\n }, React.createElement(\"div\", {\n className: \"eclipse-jkube__content\"\n }, children)));\n};\nexport const Head = ({data: {mdx: {frontmatter: {title, description}}}}) => {\n return React.createElement(Seo, {\n title: title,\n description: description\n });\n};\nexport const pageQuery = graphql`\n query($id: String!) {\n mdx(id: {eq: $id}) {\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n path\n title\n description\n }\n }\n }\n`;\nMain\nexport default function GatsbyMDXWrapper(props) {\n return React.createElement(Main, props, React.createElement(GATSBY_COMPILED_MDX, props));\n}\n","/**\n * @typedef {import('react').ReactNode} ReactNode\n * @typedef {import('mdx/types.js').MDXComponents} Components\n *\n * @typedef Props\n * Configuration.\n * @property {Components | MergeComponents | null | undefined} [components]\n * Mapping of names for JSX components to React components.\n * @property {boolean | null | undefined} [disableParentContext=false]\n * Turn off outer component context.\n * @property {ReactNode | null | undefined} [children]\n * Children.\n *\n * @callback MergeComponents\n * Custom merge function.\n * @param {Components} currentComponents\n * Current components from the context.\n * @returns {Components}\n * Merged components.\n */\n\nimport React from 'react'\n\n/**\n * @type {import('react').Context<Components>}\n * @deprecated\n * This export is marked as a legacy feature.\n * That means it’s no longer recommended for use as it might be removed\n * in a future major release.\n *\n * Please use `useMDXComponents` to get context based components and\n * `MDXProvider` to set context based components instead.\n */\nexport const MDXContext = React.createContext({})\n\n/**\n * @param {import('react').ComponentType<any>} Component\n * @deprecated\n * This export is marked as a legacy feature.\n * That means it’s no longer recommended for use as it might be removed\n * in a future major release.\n *\n * Please use `useMDXComponents` to get context based components instead.\n */\nexport function withMDXComponents(Component) {\n return boundMDXComponent\n\n /**\n * @param {Record<string, unknown> & {components?: Components | null | undefined}} props\n * @returns {JSX.Element}\n */\n function boundMDXComponent(props) {\n const allComponents = useMDXComponents(props.components)\n return React.createElement(Component, {...props, allComponents})\n }\n}\n\n/**\n * Get current components from the MDX Context.\n *\n * @param {Components | MergeComponents | null | undefined} [components]\n * Additional components to use or a function that takes the current\n * components and filters/merges/changes them.\n * @returns {Components}\n * Current components.\n */\nexport function useMDXComponents(components) {\n const contextComponents = React.useContext(MDXContext)\n\n // Memoize to avoid unnecessary top-level context changes\n return React.useMemo(() => {\n // Custom merge via a function prop\n if (typeof components === 'function') {\n return components(contextComponents)\n }\n\n return {...contextComponents, ...components}\n }, [contextComponents, components])\n}\n\n/** @type {Components} */\nconst emptyObject = {}\n\n/**\n * Provider for MDX context\n *\n * @param {Props} props\n * @returns {JSX.Element}\n */\nexport function MDXProvider({components, children, disableParentContext}) {\n /** @type {Components} */\n let allComponents\n\n if (disableParentContext) {\n allComponents =\n typeof components === 'function'\n ? components({})\n : components || emptyObject\n } else {\n allComponents = useMDXComponents(components)\n }\n\n return React.createElement(\n MDXContext.Provider,\n {value: allComponents},\n children\n )\n}\n"],"names":["_createMdxContent","props","_components","Object","assign","h1","a","span","h2","p","h3","pre","code","h5","_provideComponents","components","React","Hero","id","style","position","href","className","dangerouslySetInnerHTML","__html","target","rel","wrapper","MDXLayout","pageContext","_ref","children","_props$children","type","_props$children$type","name","CodeBlock","Code","Main","_ref2","locale","MDXProvider","MainLayout","Head","_ref3","data","mdx","frontmatter","title","description","Seo","GatsbyMDXWrapper","GATSBY_COMPILED_MDX","MDXContext","useMDXComponents","contextComponents","emptyObject","disableParentContext","allComponents","Provider","value"],"sourceRoot":""}