tag:blogger.com,1999:blog-63242895712415446962024-03-12T19:19:36.511-07:00SquidInkAdventures in Identity ManagementAnonymoushttp://www.blogger.com/profile/13815956917377701005noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6324289571241544696.post-909278036197954552018-10-08T02:13:00.001-07:002018-10-08T02:24:11.847-07:00ForgeRock DevOps for Mac Cheatsheet<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Please enjoy this cheatsheet on how to configure a Mac to have an environment that is running the ForgeRock stack in a local Kubernetes environment.</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
When completed ForgeRock stack will be running and accessible from a web-browser. In addition, Helm charts will define the Kubernetes deployment environment that runs inside of a virtual machine on the Mac. Lots of stuff running locally, so we need to allocate at least 4GB of RAM for the virtual machine.</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Here we go....</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
First acquire all the software needed per our DevOps release notes. In the end you should have these versions or later.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="color: #212529; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;">
<div>
<h3 style="color: inherit; font-family: inherit; font-size: 24px; font-weight: normal; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">
<a href="https://www.blogger.com/u/1/null" name="TOC-2.2.1.-Software-Requirements-for-All-Environments" style="color: #0033cc; text-decoration: underline;"></a><a href="https://www.google.com/url?q=https%3A%2F%2Fea.forgerock.com%2Fdocs%2Fplatform%2Frelease-notes%2Findex.html%23rnotes-before-env-sw-all&sa=D&sntz=1&usg=AFQjCNGethqGlPsniXsVwbhIy5vN_1Nodw" style="background-color: transparent; color: black;">2.2.1. Software Requirements for All Environments</a></h3>
</div>
<div style="margin-bottom: 10px;">
Install the software listed in the following table on your local computer:</div>
</div>
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<table border="1" bordercolor="#888" cellspacing="0" style="border-collapse: collapse; border-color: rgb(136, 136, 136); border-width: 1px; margin: 0px;"><tbody>
<tr><td style="height: 27px; text-align: center; vertical-align: top; width: 127px;"> <span style="color: #38761d; font-size: medium;">Software</span></td><td style="height: 27px; text-align: center; vertical-align: top; width: 72px;"><span style="color: #38761d; font-size: medium;"> Version</span></td></tr>
</tbody></table>
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; margin: 0px;"><tbody>
<tr><td style="background-color: #f9f9f9; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(221, 221, 221); border-style: solid; border-width: 1px; height: 11px; padding: 8px; vertical-align: top; width: 119px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">Docker client</span></td><td style="background-color: #f9f9f9; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(221, 221, 221); border-style: solid; border-width: 1px; height: 11px; padding: 8px; vertical-align: top; width: 58px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">18.06.1-ce</span></td></tr>
<tr><td style="border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 24px; padding: 8px; vertical-align: top; width: 119px;" valign="top"><span style="color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">Kubernetes client (kubectl)</span></td><td style="border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 24px; padding: 8px; vertical-align: top; width: 58px;" valign="top"><span style="color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">1.11.3</span></td></tr>
<tr><td style="background-color: #f9f9f9; border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 12px; padding: 8px; vertical-align: top; width: 119px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">Kubernetes Helm</span></td><td style="background-color: #f9f9f9; border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 12px; padding: 8px; vertical-align: top; width: 58px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">2.11.0</span></td></tr>
<tr><td style="border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 35px; padding: 8px; vertical-align: top; width: 119px;" valign="top"><span style="color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">Kubernetes context switching utilities (kubectx and kubens)</span></td><td style="border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 35px; padding: 8px; vertical-align: top; width: 58px;" valign="top"><span style="color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">0.6.1</span></td></tr>
<tr><td style="background-color: #f9f9f9; border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 24px; padding: 8px; vertical-align: top; width: 119px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">Kubernetes log display utility (stern)</span></td><td style="background-color: #f9f9f9; border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 24px; padding: 8px; vertical-align: top; width: 58px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">1.8.0</span></td></tr>
<tr><td style="border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 12px; padding: 8px; vertical-align: top; width: 119px;" valign="top"><span style="color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">VirtualBox</span></td><td style="border-color: rgb(221, 221, 221) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 12px; padding: 8px; vertical-align: top; width: 58px;" valign="top"><span style="color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">5.2.18</span></td></tr>
<tr><td style="background-color: #f9f9f9; border-color: rgb(221, 221, 221) rgb(0, 0, 0) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 11px; padding: 8px; vertical-align: top; width: 119px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">Minikube</span></td><td style="background-color: #f9f9f9; border-color: rgb(221, 221, 221) rgb(0, 0, 0) rgb(0, 0, 0); border-style: solid; border-width: 1px; height: 11px; padding: 8px; vertical-align: top; width: 58px;" valign="top"><span style="background-color: white; color: black; font-family: "helvetica neue"; font-size: 11px; font-stretch: normal; line-height: normal;">0.28.2</span></td></tr>
</tbody></table>
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><br /></u></b></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Rather than download each of the above using the reference URL. This guide installs each one using HomeBrew package manager.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Choosing that route will greatly assist with dependencies for now, but more important as needed for updates.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Recommend following this approach. Above chart is more for a checklist and version awareness, rather than a to do list for each of those URLs.</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><br /></u></b></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><br /></u></b></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><span style="font-size: medium;"><a href="https://www.google.com/url?q=https%3A%2F%2Fbrew.sh&sa=D&sntz=1&usg=AFQjCNERb5nsUNlty_oWSrBxKX7-O27G-A" style="color: rgb(55, 99, 45) !important;">Homebrew</a></span></u></b>: Third-party package manger for Mac OS. </div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: #f3f3f3; color: #303030; font-family: monospace; font-size: 15.6px;"></span><br />
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="background-color: #f3f3f3; color: #303030; font-family: monospace; font-size: 15.6px;"><code style="color: #006000;">/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"</code></span></div>
<div dir="ltr">
<span style="background-color: #efefef; color: #006000; font-family: monospace; font-size: 15.6px;">
</span>
<br />
<div dir="ltr">
<br />
<br />
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div dir="ltr">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">brew update</span></code></div>
</div>
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<br />
<div>
<b><u><a href="https://www.google.com/url?q=https%3A%2F%2Fwww.virtualbox.org&sa=D&sntz=1&usg=AFQjCNHtMwj7XtVpsXYnzY0BPx9QcYHikw" style="color: rgb(55, 99, 45) !important;"><span style="font-size: medium;">Virtualbox</span></a></u></b>: VirtualBox is a x86 and AMD64/Intel64 virtualization product</div>
<div>
<br /></div>
<div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">brew cask install virtualbox</span></code></div>
</div>
</div>
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
verify installation</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">virtualbox --version</span></code></div>
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #274e13;"><span style="font-size: medium; font-weight: bold; text-decoration: underline;"><br /></span></span></div>
<div dir="ltr" style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #274e13;"><span style="font-size: medium; font-weight: bold; text-decoration: underline;">Kubernetes CLIs</span>:</span> is a command line interface for running commands against Kubernetes clusters</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<span style="font-size: medium;"><code style="color: #006000;">brew install </code></span><span style="color: #006000; font-family: monospace; font-size: medium;">kubernetes-cli kubectx</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">kubectl version</span></code></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
At this point a connection error message is OK, because the step to configure a Kubernetes cluster is not yet configured. The important part is that a valid client version is returned.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; color: white; font-family: Courier; font-stretch: normal; line-height: normal;">
<span style="font-size: small;">Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T22:29:25Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}</span></div>
<div style="background-color: #0d3f7b; font-family: Courier; font-stretch: normal; line-height: normal;">
<span style="color: red; font-size: small;">Unable to connect to the server: dial tcp 192.168.99.100:8443: i/o timeout</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Note: At this point there should be three utlities: <span style="font-family: "courier new" , monospace; font-size: small;">kubectl</span>, <span style="font-family: "courier new" , monospace; font-size: small;">kubectx</span> and <span style="font-family: "courier new" , monospace; font-size: small;">kubens</span>. These all need a running Kubernetes environment that is attached to provide any utility. Further work with these tools will be below after we have started and attached a running Kubernetes environment (MiniKube).</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #274e13;"><span style="font-size: medium; font-weight: bold;">Kubernetes Logging Utility</span>:</span> a third-party logging utility for debugging</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<div>
<span style="font-size: medium;"><code style="color: #006000;">brew install </code></span><span style="color: #006000; font-family: monospace; font-size: medium;">stern</span></div>
<div dir="ltr">
</div>
</div>
<div>
<br /></div>
<div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">stern -v</span></code></div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #274e13;"><span style="font-size: medium; font-weight: bold; text-decoration: underline;"><br /></span></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #274e13;"><span style="font-size: medium; font-weight: bold; text-decoration: underline;">Minikube</span>:</span> Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<code style="color: #006000;"><span style="font-size: medium;">brew cask install minikube</span></code></div>
<div>
</div>
</div>
<br style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;" />
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">minikube start --memory 8192</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
You can also provide minikube with the memory you want to allocate to the VM. If you are going to run the whole ForgeRock Platform then it is prudent to give it at least 4GB RAM, 8GB would be better. For example "minikube start --memory 4096". Similarly you can also specify the number of CPU via "--cpus" switch. For a complete list of options run "minikube start --help". The "--memory" switch takes an integer in MB.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Starting local Kubernetes v1.10.0 cluster...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Starting VM...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Downloading Minikube ISO</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"> 160.27 MB / 160.27 MB [============================================] 100.00% 0s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Getting VM IP address...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Moving files into cluster...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Downloading kubeadm v1.10.0</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Downloading kubelet v1.10.0</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Finished Downloading kubelet v1.10.0</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Finished Downloading kubeadm v1.10.0</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Setting up certs...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Connecting to cluster...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Setting up kubeconfig...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Starting cluster components...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Kubectl is now configured to use the cluster.</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Loading cached images from config file.</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Output above is from first-time run. After this time, minikube will start quicker.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<div style="color: #454545; font-family: "Helvetica Neue"; font-size: 12px; font-stretch: normal; line-height: normal;">
<span style="color: #006000; font-family: monospace; font-size: medium;"><code>kubectl version</code></span></div>
</div>
<div>
</div>
</div>
<br style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;" />
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div>
After a successful minikube installation kubectl is configured for the cluster.</div>
<div>
Try again kubectl version and see no longer a connection error, because minikube is running and configured for the CLI.</div>
<div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.2", GitCommit:"bb9ffb1654d4a729bb4cec18ff088eacc153c239", GitTreeState:"clean", BuildDate:"2018-08-08T16:30:58Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", </span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}</span></div>
</div>
<div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
At this point VirtualBox is running and Minikube VM is running under it's control. Because VirtualBox was started VIA the minikube CLI, then it is running headless. This is fine for day-to-day usage, however to change settings of the Minikube VM environment the easiest way to set those configuration options is to launch the console, make desired changes and save those settings for the VM. </div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div>
<br /></div>
<div>
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<div>
<code style="color: #006000;"><span style="font-size: medium;">minikube ssh sudo ip link set docker0 promisc on</span></code></div>
<div>
</div>
</div>
<div>
To run the DevOps Examples successfully on Minikube, you must work around a Minikube issue. Run the following command every time you restart the Minikube virtual machine to enable pods deployed on Minikube to be able to reach themselves on the network:</div>
<div>
<br /></div>
<br />
<div>
<div>
<div>
<span style="color: #274e13;"><span style="font-size: medium; font-weight: bold;">Testing Kubernettes Context Switching CLIs</span>:</span> While minikube is running, other KubeCLI command can be run to test.</div>
<div>
<br /></div>
<div>
<div>
Test name services</div>
<div>
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<div>
<span style="color: #006000; font-family: monospace; font-size: medium;">kubens</span></div>
<div>
</div>
</div>
<div>
<br /></div>
<div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">default</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">kube-public</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">kube-system</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<br /></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<br /></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<br /></div>
</div>
</div>
</div>
<div>
<br /></div>
</div>
<div>
<br /></div>
<div>
<div>
<div>
Test context tool</div>
<div>
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<div>
<span style="color: #006000; font-family: monospace; font-size: medium;">kubctx</span></div>
<div>
</div>
</div>
<div>
<br /></div>
<div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">minikube</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
</div>
</div>
<div>
<br /></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<div>
<b><u><span style="color: #274e13; font-size: medium;"><br /></span></u></b></div>
<div>
<b><u><span style="color: #274e13; font-size: medium;">Helm</span></u></b>: Helm helps you manage Kubernetes applications — Helm Charts helps you define, install, and upgrade even the most complex Kubernetes application.</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<code style="color: #006000;"><span style="font-size: medium;">brew install kubernetes-helm</span></code></div>
<div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<code style="color: #006000;"><span style="font-size: medium;">helm init</span></code></div>
<div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm/repository </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm/repository/cache </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm/repository/local </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm/plugins </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm/starters </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm/cache/archive </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Creating ~/.helm/repository/repositories.yaml </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Adding local repo with URL: http://127.0.0.1:8879/charts </span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">$HELM_HOME has been configured at ~/.helm.</span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.</span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.</span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">To prevent this, run `helm init` with the --tiller-tls-verify flag.</span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation</span></div>
<div style="background-color: #0d3f7b; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-stretch: normal; font-variant-ligatures: normal; line-height: normal; orphans: 2; widows: 2;">
<span style="color: white; font-family: "courier"; font-size: small;">Happy Helming!</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<br style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;" />
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<code style="color: #006000;"><span style="font-size: medium;">helm version</span></code></div>
<div>
</div>
</div>
<br style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;" />
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53a</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<code style="color: #006000;"><span style="font-size: medium;">helm repo update</span></code></div>
<div>
</div>
</div>
<br style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;" />
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Hang tight while we grab the latest from your chart repositories...</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">...Skip local chart repository</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">...Successfully got an update from the "stable" chart repository</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Update Complete. ⎈ Happy Helming!⎈ </span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">minikube addons enable ingress</span></code></div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">helm plugin install https://github.com/adamreese/helm-nuke </span></code></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><span style="color: #274e13; font-size: medium;"><br /></span></u></b></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><span style="color: #274e13; font-size: medium;">ForgeOps:</span></u></b> Docker and Kubernetes DevOps artifacts for the ForgeRock platform.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">helm repo add forgerock https://storage.googleapis.com/forgerock-charts </span></code></div>
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">helm repo update</span></code></div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<code style="color: #006000;"><span style="font-size: medium;">helm install forgerock/cmp-platform --version 6.0.0</span></code></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
NOTE: <span style="font-size: small;"><u><i>'looping-bronco'</i> </u></span> reference in below text, is assigned randomly at startup time of this specific Kubernetes cluster based upon the helm-charts referenced above.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Your environment will have a different (and often comical) name for reference every time the cluster is started. This name is used for administration purposes.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME: looming-bronco</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">LAST DEPLOYED: Sat Aug 25 17:05:56 2018</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAMESPACE: default</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">STATUS: DEPLOYED</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">RESOURCES:</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1beta1/Deployment</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">amster 1 1 1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openam 1 1 1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openidm 1 1 1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openig 1 1 1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">postgres-openidm 1 1 1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1beta1/Ingress</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME HOSTS ADDRESS PORTS AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openam openam.default.example.com 80 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openidm openidm.default.example.com 80 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openig openig.default.example.com 80 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1/ClusterRole</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openam 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1/Service</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">configstore ClusterIP None <none> 1389/TCP,4444/TCP,1636/TCP,8081/TCP 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openam ClusterIP 10.105.49.142 <none> 80/TCP 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openidm NodePort 10.108.41.237 <none> 80:32299/TCP 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openig ClusterIP 10.108.212.244 <none> 80/TCP 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">postgresql ClusterIP 10.99.43.243 <none> 5432/TCP 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">userstore ClusterIP None <none> 1389/TCP,4444/TCP,1636/TCP,8081/TCP 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1/PersistentVolumeClaim</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">postgres-openidm Bound pvc-a93a0402-a8aa-11e8-9865-080027943f97 8Gi RWO standard 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1beta1/ClusterRoleBinding</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openam 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1beta1/StatefulSet</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME DESIRED CURRENT AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">configstore 1 1 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">userstore 1 1 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1/Pod(related)</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME READY STATUS RESTARTS AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">amster-5ccd84cc5b-gpwpx 0/2 Init:0/1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openam-78fc5db98c-6fvz7 0/1 Pending 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openidm-6cf9d5bdd6-snj2k 0/2 Init:0/1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openig-54ddf86f4c-t555w 0/1 Init:0/1 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">postgres-openidm-6f86c8f6cc-qqgsj 0/1 Pending 0 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">configstore-0 0/1 Pending 0 1s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">userstore-0 0/1 Pending 0 1s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1/Secret</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME TYPE DATA AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">amster-secrets Opaque 4 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">configstore Opaque 4 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openam-secrets Opaque 9 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openidm-secrets Opaque 2 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">postgres-openidm Opaque 1 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">userstore Opaque 4 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">git-ssh-key Opaque 1 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">==> v1/ConfigMap</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME DATA AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">amster-config 2 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">amster-looming-bronco 8 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">configstore 9 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">am-configmap 7 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">boot-json 1 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openidm 7 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">idm-logging-properties 1 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">idm-boot-properties 1 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openig 2 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openidm-sql 6 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">userstore 10 2s</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NOTES:</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">ForgeRock Platform</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">If you are on minikube, get your ip address using `minikube ip`</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">In your /etc/hosts file you will have an entry like:</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">192.168.100.1 openam.default.example.com openidm.default.example.com openig.default.example.com</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Get the pod status using:</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">kubectl get po</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">Get the ingress status using:</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">kubectl get ing</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">When the pods are ready, you can open up the consoles:</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">http://openam.default.example.com/openam</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">http://openidm.default.example.com/admin</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">http://openig.default.example.com/</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<code style="color: #006000;"><span style="font-size: medium;">minikube ip</span></code></div>
<div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
returns your environment's IP address such as:</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">192.168.99.100</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
assuming the above IP is returned edit localhost DNS such as /etc/host to reflect this for the DNS specified in the helm-charts.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<div style="color: #454545; font-family: "Helvetica Neue"; font-stretch: normal; line-height: normal;">
<code style="color: #006000;"><span style="font-size: medium;">sudo bash</span></code></div>
<div style="font-stretch: normal; line-height: normal;">
<code style="color: #006000;"><span style="font-size: medium;">echo "192.168.99.100 openam.default.example.com openidm.default.example.com openig.default.example.com" >> /etc/hosts</span></code></div>
<div style="font-stretch: normal; line-height: normal;">
<code style="color: #006000;"><span style="font-size: medium;"><br /></span></code></div>
<div style="font-stretch: normal; line-height: normal;">
<code style="color: #006000;"><span style="font-size: medium;">ping </span></code><span style="color: #006000; font-family: monospace; font-size: medium;">openam.default.example.com</span></div>
</div>
<div>
</div>
</div>
<br style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;" />
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">PING openam.default.example.com (192.168.99.100): 56 data bytes</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">64 bytes from 192.168.99.100: icmp_seq=0 ttl=64 time=1.042 ms</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">64 bytes from 192.168.99.100: icmp_seq=1 ttl=64 time=0.795 ms</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<div style="font-stretch: normal; line-height: normal;">
<span style="color: #006000; font-family: monospace; font-size: medium;">kubectl get pods</span></div>
</div>
<div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME READY STATUS RESTARTS AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">amster-5ccd84cc5b-gpwpx 2/2 Running 0 26m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">configstore-0 1/1 Running 0 26m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openam-78fc5db98c-6fvz7 1/1 Running 0 26m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openidm-6cf9d5bdd6-snj2k 2/2 Running 0 26m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">looming-bronco-openig-54ddf86f4c-t555w 1/1 Running 0 26m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">postgres-openidm-6f86c8f6cc-qqgsj 1/1 Running 0 26m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">userstore-0 1/1 Running 0 26m</span></div>
</div>
<br style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;" />
***** NOTE: It will take a while first time running to have all of the instances set to RUNNING state. Be patient.<br />
<br />
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<div>
<div style="font-stretch: normal; line-height: normal;">
<span style="color: #006000; font-family: monospace; font-size: medium;">kubectl get ingress</span></div>
</div>
<div>
</div>
</div>
<div>
<br /></div>
<div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">NAME HOSTS ADDRESS PORTS AGE</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openam openam.default.example.com 10.0.2.15 80 28m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openidm openidm.default.example.com 10.0.2.15 80 28m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">openig openig.default.example.com 10.0.2.15 80 28m</span></div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Launch a browser and point it to <span style="font-family: "courier new" , monospace; font-size: medium;"><u>http://openam.default.example.com/openam</u></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
At this point ForgeOps is configured for local execution under MiniKube.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #274e13; font-size: medium;"><b><u>Done!</u></b></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #274e13; font-size: medium;"><b><u>Optional:</u></b></span><span style="background-color: transparent;"> Notice that after all of this, there was never an installation of Docker itself. That is because, Docker is managed by Helm inside of Minikube. We can however install Docker client on the Mac and use it to work directly with the Docker images running in Minikube. To do so, we need to configure Docker client to point to the Minikube environment.</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<span style="color: #006000; font-family: monospace; font-size: medium;">brew install docker</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;">Validate installation</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">docker -v</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Retrieve settings for Docker running inside of Minikube</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">minikube docker-env</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">export DOCKER_TLS_VERIFY="1"</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">export DOCKER_HOST="tcp://192.168.99.100:2376"</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">export DOCKER_CERT_PATH="~/.minikube/certs"</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;">export DOCKER_API_VERSION="1.35"</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"># Run this command to configure your shell:</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"># eval $(minikube docker-env)</span><span style="color: white; font-family: "courier"; font-size: small;"> 1/1 Running 0 26m</span></div>
<div style="background-color: #0d3f7b; font-stretch: normal; line-height: normal;">
<span style="color: white; font-family: "courier"; font-size: small;"><br /></span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;">The command will display the export commands that need to be executed and the 'eval' command that can be uncommented and run as well.</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;">For example:</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<div class="sites-codeblock sites-codesnippet-block" style="border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">export DOCKER_TLS_VERIFY="1"</span></div>
<div class="sites-codeblock sites-codesnippet-block" style="border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;"><br /></span></div>
<div class="sites-codeblock sites-codesnippet-block" style="border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">export DOCKER_HOST="tcp://192.168.99.100:2376"</span></div>
<div class="sites-codeblock sites-codesnippet-block" style="border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;"><br /></span></div>
<div class="sites-codeblock sites-codesnippet-block" style="border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">export DOCKER_CERT_PATH="~/.minikube/certs"</span></div>
<div class="sites-codeblock sites-codesnippet-block" style="border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;"><br /></span></div>
<div class="sites-codeblock sites-codesnippet-block" style="border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">export DOCKER_API_VERSION="1.35"</span></div>
</div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;"><br /></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<span style="color: #006000; font-family: monospace; font-size: medium;">eval $(minikube docker-env)</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><span style="color: #274e13; font-size: medium;"><br /></span></u></b></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Now, Docker client commands will execute against the Docker server inside of Minikube.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="background-color: transparent;">To validate:</span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); line-height: 1; padding: 0.5em 0px 0.5em 1em;">
<span style="color: #006000; font-family: monospace; font-size: medium;">docker ps</span></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="color: #006000; font-family: monospace; font-size: medium;"><br /></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<b><u><span style="color: #274e13; font-size: medium;"><br /></span></u></b></div>
<div style="background-color: white; font-family: "open sans", sans-serif; font-size: 13px;">
<div style="color: #444444;">
<b><u><span style="color: #274e13; font-size: medium;">Cleanup and Starting Over:</span></u></b> These commands will assist in deleting environment components such as images, resources, pods, etc.</div>
<div style="color: #444444;">
<br /></div>
<h3>
<span style="color: red;">Note section below is destructive use with caution. In most cases these are not needed just to start fresh, these are the last resort in case environment is truly hosed.</span></h3>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div class="sites-codeblock sites-codesnippet-block" style="background-color: #efefef; border: 1px solid rgb(211, 211, 211); color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; line-height: 1; orphans: 2; padding: 0.5em 0px 0.5em 1em; widows: 2;">
<div>
<span style="color: #006000;">minikube stop</span></div>
<div>
<code style="color: #006000;">minikube delete</code><br />
<code style="color: #006000;">helm nuke</code></div>
<div>
<code style="color: #006000;">rm -rf ~/.minikube/</code></div>
<div>
<code style="color: #006000;">rm -rf ~/.helm/</code></div>
<div>
<code style="color: #006000;"></code><br />
<div>
<code style="color: #006000;"><br /></code></div>
<code style="color: #006000;">
</code>
<br />
<div>
<code style="color: #006000;">docker stop $(docker ps -a -q) #This command will shutdown images when Docker server is running local. If under control of Kubernetes, they will auto restart by design.</code></div>
<code style="color: #006000;">
</code>
<div>
<code style="color: #006000;">docker rm $(docker ps -a -q) #This command will shutdown images when Docker server is running local. If under control of Kubernetes, they will auto restart by design.</code></div>
<code style="color: #006000;">
</code></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<span style="font-size: medium;"><b><u>Summary</u></b></span></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
At this point it is important to understand what we have accomplished.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<ul>
<li style="list-style-position: outside; list-style-type: square;"><span style="background-color: transparent;">Virtual Machine configured with a VM for Kubernetes [MiniKube].</span></li>
<li style="list-style-position: outside; list-style-type: square;"><span style="background-color: transparent;">Docker containers are executed in local VM that is running the Kubernetes cluster.</span></li>
<li style="list-style-position: outside; list-style-type: square;"><span style="background-color: transparent;">Desktop has download CLI tools for managing VirtualBox, Kubernetes, Helm and Minikube.</span></li>
<li style="list-style-position: outside; list-style-type: square;"><span style="background-color: transparent;">Enabled Ingress in Kubernetes environment and added some supporting function plugins into that same environment.</span></li>
<li style="list-style-position: outside; list-style-type: square;"><span style="background-color: transparent;">Added Helm Chart repository from Google Cloud Storage.</span></li>
<li style="list-style-position: outside; list-style-type: square;"><span style="background-color: transparent;">Executed Helm Chart from above repo, which then deploys to currently configured Kubernetes environment [local VM MiniKube]</span></li>
<li style="list-style-position: outside; list-style-type: square;"><span style="background-color: transparent;">Sample configuration with sample images are deployed and running.</span></li>
</ul>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
Next step is to create custom Docker images based upon these samples, create custom configuration based upon these templates, deploy them to repositories and use those repositories for deployment in this Kubernetes cluster, replacing the default samples with custom config/DNS, etc.</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
For more information: <a href="https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FForgeRock%2Fforgeops%23forgerock-devops-and-cloud-deployment&sa=D&sntz=1&usg=AFQjCNEP-SPgXFltj8WSnt7-2wJDhiqfHg" style="color: rgb(55, 99, 45) !important;">https://github.com/ForgeRock/forgeops#forgerock-devops-and-cloud-deployment</a></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<br /></div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<div>
<br /></div>
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
<hr style="background-color: #cccccc; background-position: initial initial; background-repeat: initial initial; border-style: none; color: #cccccc; height: 1px;" />
</div>
<div style="background-color: white; color: #444444; font-family: "Open Sans", sans-serif; font-size: 13px; font-variant-ligatures: normal; orphans: 2; widows: 2;">
--- END ---</div>
Anonymoushttp://www.blogger.com/profile/13815956917377701005noreply@blogger.com0tag:blogger.com,1999:blog-6324289571241544696.post-47772709560893570662017-03-04T06:06:00.004-08:002017-03-04T06:27:09.365-08:00Enabling Assertion Encryption to OpenIG SAMLOpenIG SAML code is based upon the OpenAM Fedlet code which means much of the documentation and examples found around Fedlet will work for OpenIG as a Service Provider (SP) as well. Including this very important option of encrypting assertions in the message.<br />
<br />
A popular use-case for OpenIG is to acquire credentials from OpenAM in order to provide them to a down-stream application as a HTTP form-post. This configuration provides a mechanism to have encrypted assertions for OpenIG without the dependencies of a policy agent or OpenAM post authentication plug-in.<br />
<br />
<br />
<br />
Start with basic SAML configuration with OpenAM and OpenIG, detailed here:<br />
https://backstage.forgerock.com/docs/openig/4/gateway-guide#chap-federation<br />
<br />
Once the standard configuration is in place and tested, one can now begin the following steps in order to update the base setup to one that supports bi-directional signing and encryption.<br />
<br />
<br />
<ol>
<li>Copy key stores and file encryption to OpenIG SAML file-structure. For production, deployment specific certifications would be deployed. For this example, however the copy from the IDP will work.</li>
<li>Update SAML meta-data files on location in the OpenIG SAML file-struction.</li>
<li>Reimport the changes into OpenAM</li>
</ol>
<div>
<br /></div>
<div>
Go to the OpenIG SAML configuration folder: By default located here: <span style="font-family: "courier new" , "courier" , monospace;">~/.openig/config/SAML</span></div>
<div>
<br /></div>
<div>
<div>
Add the following under the tag of <b><IDPSSODescriptor></b> for the<b> idp.xml</b></div>
<div>
<b><br /></b></div>
<div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <KeyDescriptor use="signing"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">MIIDaDCCAlCgAwIBAgIDcB/YMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAlVLMRAwDgYDVQQI</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">EwdCcmlzdG9sMRAwDgYDVQQHEwdCcmlzdG9sMRIwEAYDVQQKEwlGb3JnZVJvY2sxDzANBgNVBAsT</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">Bk9wZW5BTTENMAsGA1UEAxMEdGVzdDAeFw0xNjAzMTgxMTU2MjhaFw0yNjAzMTYxMTU2MjhaMGUx</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">CzAJBgNVBAYTAlVLMRAwDgYDVQQIEwdCcmlzdG9sMRAwDgYDVQQHEwdCcmlzdG9sMRIwEAYDVQQK</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">EwlGb3JnZVJvY2sxDzANBgNVBAsTBk9wZW5BTTENMAsGA1UEAxMEdGVzdDCCASIwDQYJKoZIhvcN</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">AQEBBQADggEPADCCAQoCggEBAKNbl89eP6B8kZATNSPe3+OZ3esLx31hjX+dakHtPwXCAaCKqJFw</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">jwKdxyRuPdsVG+8Dbk3PGhk26aJrSE93EpxeqmQqxNPMeD+N0/8pjkuVYWwPIQ/ts2iTiWOVn7wz</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">lE4ASfvupqOR5pjuYMWNo/pd4L7QNjUCKoAt9H11HMyiP+6roo/EYgX4AH7OAhfUMncYsopWhkW/</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">ze9z8wTXc8BAEgDmt8zFCez1CtqJB/MlSBUGDgk8oHYDsHKmx05baBaOBQ8LRGP5SULSbRtu34eL</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">FootBIn0FvUZSnwTiSpbaHHRgWrMOVm07oSLWBuO3h/bj38zBuuqqVsAK8YuyoECAwEAAaMhMB8w</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">HQYDVR0OBBYEFHxfAbr6PQ5Xgc+jVx+AGTPnnpWZMA0GCSqGSIb3DQEBCwUAA4IBAQAZBMJ29/2i</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">dv1ztC6ArHtB4kw/nHHwthXFwtWAN7sRPB8tLW7fD8aJ43RQr5107Bg1Lgkmt+FZxpafqUC/mukj</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">IzGzbW0COMSOTcWUGss+HxK6M6Fl9aOzKJMct1uOSpPFgjItcGqydGZXR2FH93vXWoAotUwtZ119</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">IixIdxpOJwYJg0HFn+GEfpU1PmiLfq2/uwqJ0hGCNfNcm9puagzhQrcDFOnolxjnYPSfSkU5wxlG</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">o99yE5eJwoHXXU7csaZVttmx7sPj1lUENogXUM6JMqzSyEIm1XCOCL8rZJkZ781W5CwZhuJTNzV3</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">1sBREs8FaaCeksu7Y48BmkUqw6E9</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:KeyInfo></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </KeyDescriptor></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <KeyDescriptor use="encryption"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">MIIDaDCCAlCgAwIBAgIDcB/YMA0GCSqGSIb3DQEBCwUAMGUxCzAJBgNVBAYTAlVLMRAwDgYDVQQI</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">EwdCcmlzdG9sMRAwDgYDVQQHEwdCcmlzdG9sMRIwEAYDVQQKEwlGb3JnZVJvY2sxDzANBgNVBAsT</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">Bk9wZW5BTTENMAsGA1UEAxMEdGVzdDAeFw0xNjAzMTgxMTU2MjhaFw0yNjAzMTYxMTU2MjhaMGUx</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">CzAJBgNVBAYTAlVLMRAwDgYDVQQIEwdCcmlzdG9sMRAwDgYDVQQHEwdCcmlzdG9sMRIwEAYDVQQK</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">EwlGb3JnZVJvY2sxDzANBgNVBAsTBk9wZW5BTTENMAsGA1UEAxMEdGVzdDCCASIwDQYJKoZIhvcN</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">AQEBBQADggEPADCCAQoCggEBAKNbl89eP6B8kZATNSPe3+OZ3esLx31hjX+dakHtPwXCAaCKqJFw</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">jwKdxyRuPdsVG+8Dbk3PGhk26aJrSE93EpxeqmQqxNPMeD+N0/8pjkuVYWwPIQ/ts2iTiWOVn7wz</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">lE4ASfvupqOR5pjuYMWNo/pd4L7QNjUCKoAt9H11HMyiP+6roo/EYgX4AH7OAhfUMncYsopWhkW/</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">ze9z8wTXc8BAEgDmt8zFCez1CtqJB/MlSBUGDgk8oHYDsHKmx05baBaOBQ8LRGP5SULSbRtu34eL</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">FootBIn0FvUZSnwTiSpbaHHRgWrMOVm07oSLWBuO3h/bj38zBuuqqVsAK8YuyoECAwEAAaMhMB8w</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">HQYDVR0OBBYEFHxfAbr6PQ5Xgc+jVx+AGTPnnpWZMA0GCSqGSIb3DQEBCwUAA4IBAQAZBMJ29/2i</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">dv1ztC6ArHtB4kw/nHHwthXFwtWAN7sRPB8tLW7fD8aJ43RQr5107Bg1Lgkmt+FZxpafqUC/mukj</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">IzGzbW0COMSOTcWUGss+HxK6M6Fl9aOzKJMct1uOSpPFgjItcGqydGZXR2FH93vXWoAotUwtZ119</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">IixIdxpOJwYJg0HFn+GEfpU1PmiLfq2/uwqJ0hGCNfNcm9puagzhQrcDFOnolxjnYPSfSkU5wxlG</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">o99yE5eJwoHXXU7csaZVttmx7sPj1lUENogXUM6JMqzSyEIm1XCOCL8rZJkZ781W5CwZhuJTNzV3</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">1sBREs8FaaCeksu7Y48BmkUqw6E9</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:KeyInfo></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <xenc:KeySize xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">128</xenc:KeySize></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"></EncryptionMethod></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </KeyDescriptor></span></div>
</div>
<div>
<span style="color: #008f00; font-family: "courier new";"><br /></span></div>
<div>
<div>
Add the following under the tag of <b><IDPSSOConfig></b> for <b>idp-extended.xml</b></div>
</div>
<div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Attribute name="signingCertAlias"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Value>test</Value></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </Attribute></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Attribute name="encryptionCertAlias"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Value>test</Value></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </Attribute></span></div>
</div>
<div>
<span style="color: #008f00; font-family: "courier new";"><br /></span></div>
<div>
<div>
Add the following under the tag of <b><SPSSODescriptor></b> for the <b>sp.xml</b></div>
</div>
<div>
<div>
<span style="font-size: x-small;"> <span style="color: #008f00; font-family: "courier new";"> <KeyDescriptor use="signing"></span></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">MIICQDCCAakCBEeNB0swDQYJKoZIhvcNAQEEBQAwZzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">bGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMQwwCgYDVQQKEwNTdW4xEDAOBgNVBAsTB09w</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">ZW5TU08xDTALBgNVBAMTBHRlc3QwHhcNMDgwMTE1MTkxOTM5WhcNMTgwMTEyMTkxOTM5WjBnMQsw</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExDDAK</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">BgNVBAoTA1N1bjEQMA4GA1UECxMHT3BlblNTTzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0B</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">AQEFAAOBjQAwgYkCgYEArSQc/U75GB2AtKhbGS5piiLkmJzqEsp64rDxbMJ+xDrye0EN/q1U5Of+</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">RkDsaN/igkAvV1cuXEgTL6RlafFPcUX7QxDhZBhsYF9pbwtMzi4A4su9hnxIhURebGEmxKW9qJNY</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">Js0Vo5+IgjxuEWnjnnVgHTs1+mq5QYTA7E6ZyL8CAwEAATANBgkqhkiG9w0BAQQFAAOBgQB3Pw/U</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">QzPKTPTYi9upbFXlrAKMwtFf2OW4yvGWWvlcwcNSZJmTJ8ARvVYOMEVNbsT4OFcfu2/PeYoAdiDA</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">cGy/F2Zuj8XJJpuQRSE6PtQqBuDEHjjmOQJ0rV/r8mO1ZCtHRhpZ5zYRjhRC9eCbjx9VrFax0JDC</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">/FfwWigmrW0Y0Q==</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:KeyInfo></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </KeyDescriptor></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <KeyDescriptor use="encryption"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">MIICQDCCAakCBEeNB0swDQYJKoZIhvcNAQEEBQAwZzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">bGlmb3JuaWExFDASBgNVBAcTC1NhbnRhIENsYXJhMQwwCgYDVQQKEwNTdW4xEDAOBgNVBAsTB09w</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">ZW5TU08xDTALBgNVBAMTBHRlc3QwHhcNMDgwMTE1MTkxOTM5WhcNMTgwMTEyMTkxOTM5WjBnMQsw</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEUMBIGA1UEBxMLU2FudGEgQ2xhcmExDDAK</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">BgNVBAoTA1N1bjEQMA4GA1UECxMHT3BlblNTTzENMAsGA1UEAxMEdGVzdDCBnzANBgkqhkiG9w0B</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">AQEFAAOBjQAwgYkCgYEArSQc/U75GB2AtKhbGS5piiLkmJzqEsp64rDxbMJ+xDrye0EN/q1U5Of+</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">RkDsaN/igkAvV1cuXEgTL6RlafFPcUX7QxDhZBhsYF9pbwtMzi4A4su9hnxIhURebGEmxKW9qJNY</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">Js0Vo5+IgjxuEWnjnnVgHTs1+mq5QYTA7E6ZyL8CAwEAATANBgkqhkiG9w0BAQQFAAOBgQB3Pw/U</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">QzPKTPTYi9upbFXlrAKMwtFf2OW4yvGWWvlcwcNSZJmTJ8ARvVYOMEVNbsT4OFcfu2/PeYoAdiDA</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">cGy/F2Zuj8XJJpuQRSE6PtQqBuDEHjjmOQJ0rV/r8mO1ZCtHRhpZ5zYRjhRC9eCbjx9VrFax0JDC</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;">/FfwWigmrW0Y0Q==</span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Certificate></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:X509Data></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </ds:KeyInfo></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <xenc:KeySize xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">128</xenc:KeySize></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </EncryptionMethod></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </KeyDescriptor></span></div>
</div>
<div>
<b><br /></b></div>
<div>
<div>
Add the following under the tag of <b><SPSSOConfig></b> for <b>sp-extended.xml</b></div>
</div>
<div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Attribute name="wantAssertionEncrypted"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Value>true</Value></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </Attribute></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Attribute name="encryptionCertAlias"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> <Value>test</Value></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: x-small;"> </Attribute></span></div>
</div>
<div>
<span style="color: #008f00; font-family: "courier new";"><br /></span></div>
<div>
<b><span style="font-size: 18px;"><br /></span></b></div>
<div>
<b><span style="font-size: 18px;">WARNING: </span></b> both IDP side and SP reference a certificate alias called <i>test </i>note that the certificates are different. This is because default keystore for OpenAM 13.5 is the newer JCEKS while the certificate store for OpenIG is the older style JKS. The stores contain different certificates which same alias name, do not get confused by the alias name. For production neither of these certificates should be used. Deployments should use own certificates. However, for testing purposes be aware of these multiple key stores.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Now in OpenAM, delete the IDP and SP entities from the console and import the changes to the SAML meta-data that was changed in place on the OpenIG side.</div>
<div>
<br /></div>
<div>
The only difference that needs to happen to the files prior to import. but changed back before use in OpenIG, is the <i>hosted</i> flag that is set in both the <i>idp-extended.xml </i>and<i> sp-extended.xml</i></div>
<div>
Basically the copy of the meta-data that needs to be imported back into OpenAM needs to have <i>hosted=1</i> for the idp-extended.xml and <i>hosted=0</i> in the sp-extended.xml metadata. Which should be exact opposite from that of the Service Provider (OpenIG).</div>
<div>
<br /></div>
<div>
Restart each of the web-containers after import (OpenIG and OpenAM) and try.</div>
<div>
<br /></div>
<div>
Once working a SAML payload should now look like this:</div>
<div>
<br /></div>
<div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="s2773fa280cdacc7e591189474f7c37a65c440f2ca" InResponseTo="s2be8aad955e0a068adb14260784005f5cb83f391a" Version="2.0" IssueInstant="2017-02-26T23:13:06Z" Destination="http://XXXXXXXXXX"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://XXXXXXXXXX</saml:Issuer><samlp:Status xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><samlp:StatusCode xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Value="urn:oasis:names:tc:SAML:2.0:status:Success"></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"></samlp:StatusCode></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"></samlp:Status><b><saml:EncryptedAssertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/><xenc:CipherData><xenc:CipherValue>dnzVx9L58Kqe5vT6jX7OrIZUYgJH2L6vifmRKbZ+TBLsbFzz181yCAAyzQZu+tcLl2eqO+wzykOR</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>Py8AfwUx20L8KRfB4KgOb0yEq1y3Wpcyg/gIGd5GRjM0C17eNT61uOCpJ43qkTEtJanbhW7HEO7r</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>yml5bPZ74wYOBDK1NHY=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></ds:KeyInfo><xenc:CipherData><xenc:CipherValue>OwSwziVjZ7CntCK10iT8tFkrRoe5qy3QcEMnRhk7ipf1dgrGuQgThExmdtVohUyTdbegZs4bCCDt</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>6onU0ayihcDKpq3x7INOyeMh8RjYd9KTjEgh+9R+QqDisiOZMNiknxmfbV0CaDC7QaGhuqEW5zWK</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>jZaNMALTn42phtFhIR+Dr9yHRqjdpAeNi94EBEepypBbJhiX/5FVuwl+e6syQKSLBAoMG+jlRGKm</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>rQFZTcLE5+4kH5JlqTO4u/M8X56pJSOk2+O5cU1+KHYNkn4sA/1qpEP1QoL9YHvtsvtnSxSbkSbx</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>W2ZrzFoxKRqxVSQ0y7StX9bCRvcieUQB7kz3yVPatcTLvAZYDYBSO0aGY+Yg5kA8ishClAUxNpVx</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>m59NeXF3I+sZRrs2F6gpqIiQmJdsHX2VdyGNo6jSHYyBV+I+4ygfDvJQP5HkGszWkLpHX0sREaSY</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>xjLAENVyB6LpX/5ZfkUh6KasdjklASASDIJaljdsdnjasASDJjkdWqsRvvhwRRuo0hOs/M3mHENJ</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new"; font-size: xx-small;"><b>Y3BaYZrrjaQU7u9he9cNT4q7opgSl9RZ4dEl60g6y4L/BHBxYIankw7I1v4sHCthTjaxCvUFrd4T</b></span></div>
<div>
<span style="color: #008f00; font-family: "courier new";"><span style="font-size: xx-small;"><b>q6KOE2gOTvL18enrBGIxrWbm7pJWLnD3E/BsTuOPKkEOrD+WaLRPjJy8MA==</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></saml:EncryptedAssertion></b></samlp:Response></span></span></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<i><br /></i></div>
<div>
<b><u>References</u></b>: </div>
<div>
https://backstage.forgerock.com/docs/openam/13.5/dev-guide/chap-fedlets#fedlet-signing-encryption</div>
<div>
https://backstage.forgerock.com/docs/openig/4/gateway-guide#chap-federation</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/13815956917377701005noreply@blogger.com0tag:blogger.com,1999:blog-6324289571241544696.post-71247938057978133592016-05-31T21:47:00.002-07:002017-03-04T06:27:43.194-08:00ForgeRock OpenID Connect Quick StartAfter several attempts at a very simple client for OpenID Connect, this wiki entry details my latest example of a simple HTML example of a client to talk to OpenID Connect. The entire example is a get up an running quick with OpenID Connect with OpenAM and this simple client.<br />
<br />
<br />
<br />
For more see here: <a href="https://wikis.forgerock.org/confluence/display/openam/OpenID+Connect+Quick+Start">https://wikis.forgerock.org/confluence/display/openam/OpenID+Connect+Quick+Start</a><br />
<br />
<br />
<br />
<br />
<img class="confluence-embedded-image confluence-content-image-border" data-image-src="/confluence/download/attachments/32703229/Screen+Shot+2016-05-31+at+2.09.19+PM.png?version=1&modificationDate=1464718183000" height="437" src="https://wikis.forgerock.org/confluence/download/attachments/32703229/Screen+Shot+2016-05-31+at+2.09.19+PM.png?version=1&modificationDate=1464718183000" style="border: 1px solid black; color: #333333; cursor: pointer; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px;" width="500" />Anonymoushttp://www.blogger.com/profile/13815956917377701005noreply@blogger.com0tag:blogger.com,1999:blog-6324289571241544696.post-52657873322414908732016-05-31T21:41:00.005-07:002017-03-04T06:28:46.808-08:00Multi-factor Authentication with Symantec VIP Enterprise Gateway<div style="color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px;">
Although ForgeRock OpenAM has included multi-factor authentication capability, OpenAM can also integrate with pre-existing solutions such as those from Symantec. </div>
<div style="color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px;">
<br /></div>
<div style="color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px;">
This wiki entry details how to integrate ForgeRock OpenAM with Symantec VIP Enterprise Gateway for the purpose of One-Time Password (OTP) Multi-factor Authentication configuration</div>
<div style="color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px;">
<br /></div>
<div style="background-image: none; color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 13pt; margin-bottom: 10px; padding: 0px;">
<img class="confluence-embedded-image confluence-content-image-border" data-image-src="/confluence/download/attachments/32703286/Screen+Shot+2016-05-31+at+11.11.20+PM.png?version=1&modificationDate=1464750717737" height="220" src="https://wikis.forgerock.org/confluence/download/attachments/32703286/Screen+Shot+2016-05-31+at+11.11.20+PM.png?version=1&modificationDate=1464750717737" style="border: 1px solid black; cursor: pointer;" width="500" /></div>
<div style="background-image: none; color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 13pt; margin-bottom: 10px; padding: 0px;">
<br /></div>
<div style="background-image: none; color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 13pt; margin-bottom: 10px; padding: 0px;">
More details here: <a href="https://wikis.forgerock.org/confluence/display/openam/Multi-factor+Authentication+with+Symantec+VIP+Enterprise+Gateway">https://wikis.forgerock.org/confluence/display/openam/Multi-factor+Authentication+with+Symantec+VIP+Enterprise+Gateway</a></div>
<div style="background-image: none; color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 13pt; margin-bottom: 10px; padding: 0px;">
<br /></div>
<div style="background-image: none; color: #333333; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 13pt; margin-bottom: 10px; padding: 0px;">
<br /></div>
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/13815956917377701005noreply@blogger.com0